From d97d15f620f32444f497fdee1e769dc890cfb042 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 24 May 2023 21:42:43 +1000 Subject: [PATCH] fixes for tax calculations --- app/Helpers/Invoice/InvoiceItemSum.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Helpers/Invoice/InvoiceItemSum.php b/app/Helpers/Invoice/InvoiceItemSum.php index ff176ad6a762..68fb8cf541fe 100644 --- a/app/Helpers/Invoice/InvoiceItemSum.php +++ b/app/Helpers/Invoice/InvoiceItemSum.php @@ -170,7 +170,7 @@ class InvoiceItemSum private function shouldCalculateTax(): self { - if (!$this->invoice->company->calculate_taxes || !$this->invoice->company->account->isFreeHostedClient()) { + if (!$this->invoice->company->calculate_taxes || $this->invoice->company->account->isFreeHostedClient()) { $this->calc_tax = false; return $this; }