1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Tax providers

This commit is contained in:
David Bomba 2023-06-22 16:54:30 +10:00
parent 91d93dd1d0
commit f43a6e8f85

View File

@ -132,7 +132,7 @@ class TaxProvider
'city' => $this->client->shipping_city,
'state' => $this->client->shipping_state,
'postal_code' => $this->client->shipping_postal_code,
'country' => $this->client?->shipping_country?->name,
'country' => $this->client->shipping_country()->exists() ? $this->client->shipping_country->name : $this->client->country->name,
];
$taxable_address = $this->taxShippingAddress() ? $shipping_details : $billing_details;