Payment Tool changes due to multi currency

This commit is contained in:
Nabin Hait
2015-08-31 19:01:11 +05:30
parent 76bb927337
commit bac9b8eef6
10 changed files with 111 additions and 44 deletions

View File

@@ -525,7 +525,7 @@ erpnext.taxes_and_totals = erpnext.stock.StockController.extend({
var outstanding_amount = flt(total_amount_to_pay, precision("outstanding_amount"));
}
if(this.frm.doc.party_account_currency == this.frm.doc.currency) {
if(this.frm.doc.party_account_currency == this.frm.doc.currency) {
this.frm.set_value("outstanding_amount", outstanding_amount);
} else {
this.frm.set_value("outstanding_amount",