mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #8680 from turbo124/v5-develop
Minor fixes for inclusive tax calculations
This commit is contained in:
commit
c931672101
@ -120,6 +120,7 @@ class InvoiceItemSumInclusive
|
|||||||
|
|
||||||
if ($this->invoice->client) {
|
if ($this->invoice->client) {
|
||||||
$this->currency = $this->invoice->client->currency();
|
$this->currency = $this->invoice->client->currency();
|
||||||
|
$this->client = $this->invoice->client;
|
||||||
$this->shouldCalculateTax();
|
$this->shouldCalculateTax();
|
||||||
} else {
|
} else {
|
||||||
$this->currency = $this->invoice->vendor->currency();
|
$this->currency = $this->invoice->vendor->currency();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user