fix: actual tax conversion in case of multicurrency invoices (#28539)
This commit is contained in:
parent
9bc28210c9
commit
4889661e5c
@ -1106,7 +1106,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
|
|||||||
$.each(this.frm.doc.taxes || [], function(i, d) {
|
$.each(this.frm.doc.taxes || [], function(i, d) {
|
||||||
if(d.charge_type == "Actual") {
|
if(d.charge_type == "Actual") {
|
||||||
frappe.model.set_value(d.doctype, d.name, "tax_amount",
|
frappe.model.set_value(d.doctype, d.name, "tax_amount",
|
||||||
flt(d.tax_amount) / flt(exchange_rate));
|
flt(d.base_tax_amount) / flt(exchange_rate));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user