Redmine/redmine/app/views/projects/export_issues_pdf.rfpdf

11 lines
248 B
Plaintext

<% pdf=IfpdfHelper::IFPDF.new
pdf.AliasNbPages
pdf.footer_date = format_date(Date.today)
pdf.AddPage
@issues.each {|i|
render :partial => 'issues/pdf', :locals => { :pdf => pdf, :issue => i }
pdf.AddPage
}
%>
<%= pdf.Output %>