1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Minor fixes for inclusive tax calculations

This commit is contained in:
David Bomba 2023-08-01 19:44:16 +10:00
parent 12e9a78881
commit f06b0b1189

View File

@ -120,6 +120,7 @@ class InvoiceItemSumInclusive
if ($this->invoice->client) {
$this->currency = $this->invoice->client->currency();
$this->client = $this->invoice->client;
$this->shouldCalculateTax();
} else {
$this->currency = $this->invoice->vendor->currency();