fix PDF Pdf

This commit is contained in:
Philipp Rothmann 2023-07-24 10:57:24 +02:00
parent 3b5b057eed
commit 9a34f174a6

View file

@ -1,4 +1,4 @@
class GroupOrderInvoicePdf < RenderPDF class GroupOrderInvoicePdf < RenderPdf
def filename def filename
I18n.t('documents.group_order_invoice_pdf.filename', :number => @options[:invoice_number]) + '.pdf' I18n.t('documents.group_order_invoice_pdf.filename', :number => @options[:invoice_number]) + '.pdf'
end end
@ -72,7 +72,7 @@ class GroupOrderInvoicePdf < RenderPDF
body_with_vat body_with_vat
end end
end end
def body_for_vat_exempt def body_for_vat_exempt
total_gross = 0 total_gross = 0
data = [I18n.t('documents.group_order_invoice_pdf.vat_exempt_rows')] data = [I18n.t('documents.group_order_invoice_pdf.vat_exempt_rows')]