Merge pull request #8681 from turbo124/v5-stable

Minor fixes
This commit is contained in:
David Bomba 2023-08-01 19:46:04 +10:00 committed by GitHub
commit ca1b3ba1a6
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();