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) { 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();