commit
fee95f1135
@ -503,7 +503,7 @@ erpnext.taxes_and_totals = erpnext.stock.StockController.extend({
|
||||
if(this.frm.doc.party_account_currency == this.frm.doc.currency) {
|
||||
var total_amount_to_pay = flt((this.frm.doc.grand_total - this.frm.doc.total_advance
|
||||
- this.frm.doc.write_off_amount), precision("grand_total"));
|
||||
else {
|
||||
} else {
|
||||
var total_amount_to_pay = flt((this.frm.doc.base_grand_total - this.frm.doc.total_advance
|
||||
- this.frm.doc.base_write_off_amount), precision("base_grand_total"));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user