From 13f2e4d8d7a4b292ee081bf9969c7469730e7b03 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 25 Jun 2013 10:56:39 +0530 Subject: [PATCH] [fix][transaction.js] syntax error --- public/js/transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/transaction.js b/public/js/transaction.js index 0002f66259..79e7a56820 100644 --- a/public/js/transaction.js +++ b/public/js/transaction.js @@ -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); }); },