[minor] minor fixes along with the codacy

This commit is contained in:
Manas Solanki
2018-05-29 12:56:14 +05:30
committed by Nabin Hait
parent e5e87f7137
commit 2df1b31707
9 changed files with 45 additions and 54 deletions

View File

@@ -1343,7 +1343,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
},
callback: function(r) {
if (!r.message) {
frappe.throw(__("Invalid Blanket Order for the selected Customer and Item"))
frappe.throw(__("Invalid Blanket Order for the selected Customer and Item"));
} else {
frappe.run_serially([
() => frappe.model.set_value(cdt, cdn, "blanket_order_rate", r.message.blanket_order_rate),