mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 13:24:47 +00:00
fix: if-block + indentation (#44494)
This commit is contained in:
@@ -504,8 +504,7 @@ erpnext.taxes_and_totals = class TaxesAndTotals extends erpnext.payments {
|
||||
item_wise_tax_amount += flt(tax_detail[key].tax_amount, precision("tax_amount", tax));
|
||||
item_wise_net_amount += flt(tax_detail[key].net_amount, precision("net_amount", tax));
|
||||
}
|
||||
} else {
|
||||
if (tax_detail && tax_detail[key])
|
||||
} else if (tax_detail && tax_detail[key]) {
|
||||
item_wise_tax_amount += tax_detail[key].tax_amount;
|
||||
item_wise_net_amount += tax_detail[key].net_amount;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user