This commit is contained in:
David Bomba 2025-11-21 09:43:38 +11:00
parent ba25555a27
commit 37632a6cb7
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ class InvoiceTransactionEventEntryCash
'tax_rate' => $tax['tax_rate'], 'tax_rate' => $tax['tax_rate'],
'taxable_amount' => ($tax['base_amount'] ?? $calc->getNetSubtotal()) * $this->paid_ratio, 'taxable_amount' => ($tax['base_amount'] ?? $calc->getNetSubtotal()) * $this->paid_ratio,
'tax_amount' => $tax['total'] * $this->paid_ratio, 'tax_amount' => $tax['total'] * $this->paid_ratio,
'line_total' => $tax['base_amount'], 'line_total' => ($tax['base_amount'] ?? $calc->getNetSubtotal()),
'total_tax' => $tax['total'], 'total_tax' => $tax['total'],
'postal_code' => $invoice->client->postal_code, 'postal_code' => $invoice->client->postal_code,
]; ];