Merge pull request #8680 from turbo124/v5-develop

Minor fixes for inclusive tax calculations
This commit is contained in:
David Bomba 2023-08-01 19:44:33 +10:00 committed by GitHub
commit c931672101
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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