diff --git a/app/documents/group_order_invoice_pdf.rb b/app/documents/group_order_invoice_pdf.rb index aba39506..31ee4384 100644 --- a/app/documents/group_order_invoice_pdf.rb +++ b/app/documents/group_order_invoice_pdf.rb @@ -1,4 +1,4 @@ -class GroupOrderInvoicePdf < RenderPDF +class GroupOrderInvoicePdf < RenderPdf def filename I18n.t('documents.group_order_invoice_pdf.filename', :number => @options[:invoice_number]) + '.pdf' end @@ -72,7 +72,7 @@ class GroupOrderInvoicePdf < RenderPDF body_with_vat end end - + def body_for_vat_exempt total_gross = 0 data = [I18n.t('documents.group_order_invoice_pdf.vat_exempt_rows')]