2006-10-22 18:47:25 +04:00
|
|
|
<% pdf=IfpdfHelper::IFPDF.new
|
|
|
|
pdf.AliasNbPages
|
2006-11-22 01:27:47 +03:00
|
|
|
pdf.footer_date = format_date(Date.today)
|
2006-10-22 18:47:25 +04:00
|
|
|
@issues.each {|i|
|
|
|
|
pdf.AddPage
|
2006-12-17 11:10:18 +03:00
|
|
|
render :partial => 'issues/pdf', :locals => { :pdf => pdf, :issue => i }
|
2006-10-22 18:47:25 +04:00
|
|
|
}
|
|
|
|
%>
|
|
|
|
|
|
|
|
<%= pdf.Output %>
|