mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 23:49:19 +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_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));
|
item_wise_net_amount += flt(tax_detail[key].net_amount, precision("net_amount", tax));
|
||||||
}
|
}
|
||||||
} else {
|
} else if (tax_detail && tax_detail[key]) {
|
||||||
if (tax_detail && tax_detail[key])
|
|
||||||
item_wise_tax_amount += tax_detail[key].tax_amount;
|
item_wise_tax_amount += tax_detail[key].tax_amount;
|
||||||
item_wise_net_amount += tax_detail[key].net_amount;
|
item_wise_net_amount += tax_detail[key].net_amount;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user