[usability] item price moved to price list
diff --git a/public/js/transaction.js b/public/js/transaction.js
index 0ff957a..3f0f9e5 100644
--- a/public/js/transaction.js
+++ b/public/js/transaction.js
@@ -149,6 +149,7 @@
},
price_list_currency: function() {
+ var me=this;
this.set_dynamic_labels();
var company_currency = this.get_company_currency();
@@ -156,7 +157,7 @@
this.get_exchange_rate(this.frm.doc.price_list_currency, company_currency,
function(exchange_rate) {
if(exchange_rate) {
- me.frm.set_value("price_list_currency", exchange_rate);
+ me.frm.set_value("plc_conversion_rate", exchange_rate);
me.plc_conversion_rate();
}
});
@@ -348,8 +349,6 @@
}
});
- console.log(distinct_items);
-
var rows = $.map(distinct_items, function(item) {
var item_tax_record = item_tax[item.item_code || item.item_name];
if(!item_tax_record) { return null; }