From 9a34f174a6712e9000ba0a73f2e714d8941f9456 Mon Sep 17 00:00:00 2001 From: Philipp Rothmann Date: Mon, 24 Jul 2023 10:57:24 +0200 Subject: [PATCH] fix PDF Pdf --- app/documents/group_order_invoice_pdf.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')]