mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Tax providers
This commit is contained in:
parent
91d93dd1d0
commit
f43a6e8f85
@ -132,7 +132,7 @@ class TaxProvider
|
|||||||
'city' => $this->client->shipping_city,
|
'city' => $this->client->shipping_city,
|
||||||
'state' => $this->client->shipping_state,
|
'state' => $this->client->shipping_state,
|
||||||
'postal_code' => $this->client->shipping_postal_code,
|
'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;
|
$taxable_address = $this->taxShippingAddress() ? $shipping_details : $billing_details;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user