From 8b531c1ee6555d0115517660f24aaaae376028f4 Mon Sep 17 00:00:00 2001 From: Shreya Shah Date: Thu, 15 Feb 2018 11:21:49 +0530 Subject: [PATCH] Fix parenthesis in buying controller (#12923) --- erpnext/public/js/controllers/buying.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/public/js/controllers/buying.js b/erpnext/public/js/controllers/buying.js index bd3a03da3d..68bb2b8fef 100644 --- a/erpnext/public/js/controllers/buying.js +++ b/erpnext/public/js/controllers/buying.js @@ -254,10 +254,10 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({ cur_frm.doc.items[i].qty = my_qty; frappe.msgprint(__("Assigning {0} to {1} (row {2})", - [d.mr_name, d.item_code, cur_frm.doc.items[i].idx]); + [d.mr_name, d.item_code, cur_frm.doc.items[i].idx])); if (qty > 0) { - frappe.msgprint(__("Splitting {0} units of {1}", [qty, d.item_code]); + frappe.msgprint(__("Splitting {0} units of {1}", [qty, d.item_code])); var newrow = frappe.model.add_child(cur_frm.doc, cur_frm.doc.items[i].doctype, "items"); item_length++;