Minor fixes for tax rules

This commit is contained in:
David Bomba 2023-10-15 17:15:38 +11:00
parent 02da1d5436
commit 9913d4c0b2

View File

@ -62,7 +62,7 @@ class Rule extends BaseRule implements RuleInterface
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);
}