mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 03:29:16 +00:00
style: prettier formatting
This commit is contained in:
committed by
ruthra-kumar
parent
153ad99f85
commit
485166b668
@@ -401,7 +401,11 @@ erpnext.taxes_and_totals = class TaxesAndTotals extends erpnext.payments {
|
|||||||
var item_tax_map = me._load_item_tax_rate(item.item_tax_rate);
|
var item_tax_map = me._load_item_tax_rate(item.item_tax_rate);
|
||||||
$.each(doc.taxes, function (i, tax) {
|
$.each(doc.taxes, function (i, tax) {
|
||||||
// tax_amount represents the amount of tax for the current step
|
// tax_amount represents the amount of tax for the current step
|
||||||
var [current_net_amount, current_tax_amount] = me.get_current_tax_amount(item, tax, item_tax_map);
|
var [current_net_amount, current_tax_amount] = me.get_current_tax_amount(
|
||||||
|
item,
|
||||||
|
tax,
|
||||||
|
item_tax_map
|
||||||
|
);
|
||||||
if (frappe.flags.round_row_wise_tax) {
|
if (frappe.flags.round_row_wise_tax) {
|
||||||
current_tax_amount = flt(current_tax_amount, precision("tax_amount", tax));
|
current_tax_amount = flt(current_tax_amount, precision("tax_amount", tax));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user