From ab1ed013b38fa1bd5b848afbee1fd1e0df6e2f8b Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Fri, 8 May 2015 11:08:48 +0530 Subject: [PATCH] [hot] taxes --- .../sales_taxes_and_charges_template.js | 2 +- erpnext/selling/sales_common.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/erpnext/accounts/doctype/sales_taxes_and_charges_template/sales_taxes_and_charges_template.js b/erpnext/accounts/doctype/sales_taxes_and_charges_template/sales_taxes_and_charges_template.js index 91200e1a744..d7a4f5ad7fa 100644 --- a/erpnext/accounts/doctype/sales_taxes_and_charges_template/sales_taxes_and_charges_template.js +++ b/erpnext/accounts/doctype/sales_taxes_and_charges_template/sales_taxes_and_charges_template.js @@ -5,6 +5,6 @@ cur_frm.cscript.tax_table = "Sales Taxes and Charges"; {% include "public/js/controllers/accounts.js" %} -frappe.ui.form.on("sales Taxes and Charges Template", "onload", function(frm) { +frappe.ui.form.on("Sales Taxes and Charges Template", "onload", function(frm) { erpnext.add_applicable_territory(); }); diff --git a/erpnext/selling/sales_common.js b/erpnext/selling/sales_common.js index 7ee57f3f1eb..1e4ec7fa459 100644 --- a/erpnext/selling/sales_common.js +++ b/erpnext/selling/sales_common.js @@ -35,8 +35,8 @@ erpnext.selling.SellingController = erpnext.TransactionController.extend({ this.frm.set_query("taxes_and_charges", function() { return { filters: [ - ['sales Taxes and Charges Template', 'company', '=', me.frm.doc.company], - ['sales Taxes and Charges Template', 'docstatus', '!=', 2] + ['Sales Taxes and Charges Template', 'company', '=', me.frm.doc.company], + ['Sales Taxes and Charges Template', 'docstatus', '!=', 2] ] } });