minor syntax fix
This commit is contained in:
parent
120ee275cc
commit
17179ee83a
@ -500,7 +500,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
get_exchange_rate: function(transaction_date, from_currency, to_currency, callback) {
|
get_exchange_rate: function(transaction_date, from_currency, to_currency, callback) {
|
||||||
if !(transaction_date && from_currency && to_currency) return;
|
if (!transaction_date || !from_currency || !to_currency) return;
|
||||||
return frappe.call({
|
return frappe.call({
|
||||||
method: "erpnext.setup.utils.get_exchange_rate",
|
method: "erpnext.setup.utils.get_exchange_rate",
|
||||||
args: {
|
args: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user