mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-12 08:24:37 -04:00
Minor fixes for inclusive tax calculations
This commit is contained in:
parent
12e9a78881
commit
f06b0b1189
@ -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