mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fixes for tax rules
This commit is contained in:
parent
02da1d5436
commit
9913d4c0b2
@ -62,7 +62,7 @@ class Rule extends BaseRule implements RuleInterface
|
|||||||
public function taxByType($item): self
|
public function taxByType($item): self
|
||||||
{
|
{
|
||||||
|
|
||||||
if ($this->client->is_tax_exempt) {
|
if ($this->client->is_tax_exempt || !property_exists($item, 'tax_id')) {
|
||||||
return $this->taxExempt($item);
|
return $this->taxExempt($item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user