[fix][transaction.js] syntax error
This commit is contained in:
parent
7a93d5de30
commit
13f2e4d8d7
@ -138,7 +138,7 @@ erpnext.TransactionController = wn.ui.form.Controller.extend({
|
||||
var exchange_name = from_currency + "-" + to_currency;
|
||||
wn.model.with_doc("Currency Exchange", exchange_name, function(name) {
|
||||
var exchange_doc = wn.model.get_doc("Currency Exchange", exchange_name);
|
||||
callback(exchange_doc ? flt(exchange_doc.exchange_rate)) : 0);
|
||||
callback(exchange_doc ? flt(exchange_doc.exchange_rate) : 0);
|
||||
});
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user