Merge: Fix for tax report
This commit is contained in:
parent
7cd40c6cbd
commit
abb9d245b7
1 changed files with 1 additions and 1 deletions
|
|
@ -1201,7 +1201,7 @@ class Invoice extends EntityModel implements BalanceAffecting
|
|||
}
|
||||
|
||||
foreach ($this->invoice_items as $invoiceItem) {
|
||||
$itemTaxAmount = $this->getItemTaxable($invoiceItem, $taxable);
|
||||
$taxable = $this->getItemTaxable($invoiceItem, $taxable);
|
||||
|
||||
if ($invoiceItem->tax_name1) {
|
||||
$itemTaxAmount = round($taxable * ($invoiceItem->tax_rate1 / 100), 2);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue