fix PDF Pdf
This commit is contained in:
parent
3b5b057eed
commit
9a34f174a6
1 changed files with 2 additions and 2 deletions
|
@ -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')]
|
||||||
|
|
Loading…
Reference in a new issue