From b783f519eeae3164618ec85ac261c2f86a0ef1bd Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 24 Sep 2014 11:03:39 +0530 Subject: [PATCH] Fixes in sales/purchase invoice trends report --- .../report/sales_invoice_trends/sales_invoice_trends.py | 2 +- erpnext/public/js/purchase_trends_filters.js | 2 +- erpnext/public/js/sales_trends_filters.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.py b/erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.py index 4e90168d37..e9a9bd06a0 100644 --- a/erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.py +++ b/erpnext/accounts/report/sales_invoice_trends/sales_invoice_trends.py @@ -11,4 +11,4 @@ def execute(filters=None): conditions = get_columns(filters, "Sales Invoice") data = get_data(filters, conditions) - return conditions["columns"], data \ No newline at end of file + return conditions["columns"], data diff --git a/erpnext/public/js/purchase_trends_filters.js b/erpnext/public/js/purchase_trends_filters.js index cab8bbfc24..d609cf8130 100644 --- a/erpnext/public/js/purchase_trends_filters.js +++ b/erpnext/public/js/purchase_trends_filters.js @@ -24,7 +24,7 @@ var get_filters = function(){ { "value": "Item Group", "label": __("Item Group") }, { "value": "Supplier", "label": __("Supplier") }, { "value": "Supplier Type", "label": __("Supplier Type") }, - { "value": "Supplier Type", "label": __("Project") } + { "value": "Project", "label": __("Project") } ], "default": "Item" }, diff --git a/erpnext/public/js/sales_trends_filters.js b/erpnext/public/js/sales_trends_filters.js index 46070b4768..0503133890 100644 --- a/erpnext/public/js/sales_trends_filters.js +++ b/erpnext/public/js/sales_trends_filters.js @@ -25,7 +25,7 @@ var get_filters = function(){ { "value": "Customer", "label": __("Customer") }, { "value": "Customer Group", "label": __("Customer Group") }, { "value": "Territory", "label": __("Territory") }, - { "value": "Supplier Type", "label": __("Project") } + { "value": "Project", "label": __("Project") } ], "default": "Item" },