1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Catch edge case where client tax data is not configured

This commit is contained in:
David Bomba 2023-07-03 19:26:08 +10:00
parent 3b1b54c16c
commit 0b55e49111

View File

@ -145,6 +145,11 @@ class BaseRule implements RuleInterface
$this->client = $invoice->client;
if(!$this->client->tax_data){
$this->should_calc_tax = false;
return $this;
}
$this->resolveRegions();
if(!$this->isTaxableRegion())