diff --git a/app/documents/group_order_invoice_pdf.rb b/app/documents/group_order_invoice_pdf.rb index f3d93d33..aba39506 100644 --- a/app/documents/group_order_invoice_pdf.rb +++ b/app/documents/group_order_invoice_pdf.rb @@ -66,7 +66,7 @@ class GroupOrderInvoicePdf < RenderPDF #------------- Table Data ----------------------- @group_order = GroupOrder.find(@options[:group_order].id) - if (FoodsoftConfig[:group_order_invoices][:vat_exempt]) + if FoodsoftConfig[:group_order_invoices][:vat_exempt] body_for_vat_exempt else body_with_vat