From bb69c3581a25fea64cb35c9a53333c3e623c58b8 Mon Sep 17 00:00:00 2001 From: viehlieb Date: Thu, 3 Feb 2022 11:33:16 +0100 Subject: [PATCH] rubocop styling ~ refs automatic go invoice --- app/documents/group_order_invoice_pdf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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