From 6d029392566131e27cd6fd74a25ce38845dfea8a Mon Sep 17 00:00:00 2001 From: 81552433qqcom <81552433@qq.com> Date: Fri, 12 Sep 2014 16:42:15 +0800 Subject: [PATCH] changed indent. as well use tab instead of space. --- erpnext/public/js/purchase_trends_filters.js | 30 +++++++++--------- erpnext/public/js/sales_trends_filters.js | 32 ++++++++++---------- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/erpnext/public/js/purchase_trends_filters.js b/erpnext/public/js/purchase_trends_filters.js index 39c7bba60e..cab8bbfc24 100644 --- a/erpnext/public/js/purchase_trends_filters.js +++ b/erpnext/public/js/purchase_trends_filters.js @@ -8,11 +8,11 @@ var get_filters = function(){ "label": __("Period"), "fieldtype": "Select", "options": [ - { "value": "Monthly", "label": __("Monthly") }, - { "value": "Quarterly", "label": __("Quarterly") }, - { "value": "Half-Yearly", "label": __("Half-Yearly") }, - { "value": "Yearly", "label": __("Yearly") } - ], + { "value": "Monthly", "label": __("Monthly") }, + { "value": "Quarterly", "label": __("Quarterly") }, + { "value": "Half-Yearly", "label": __("Half-Yearly") }, + { "value": "Yearly", "label": __("Yearly") } + ], "default": "Monthly" }, { @@ -20,12 +20,12 @@ var get_filters = function(){ "label": __("Based On"), "fieldtype": "Select", "options": [ - { "value": "Item", "label": __("Item") }, - { "value": "Item Group", "label": __("Item Group") }, - { "value": "Supplier", "label": __("Supplier") }, - { "value": "Supplier Type", "label": __("Supplier Type") }, - { "value": "Supplier Type", "label": __("Project") } - ], + { "value": "Item", "label": __("Item") }, + { "value": "Item Group", "label": __("Item Group") }, + { "value": "Supplier", "label": __("Supplier") }, + { "value": "Supplier Type", "label": __("Supplier Type") }, + { "value": "Supplier Type", "label": __("Project") } + ], "default": "Item" }, { @@ -33,10 +33,10 @@ var get_filters = function(){ "label": __("Group By"), "fieldtype": "Select", "options": [ - { "value": "", "label": "" }, - { "value": "Item", "label": __("Item") }, - { "value": "Supplier", "label": __("Supplier") } - ], + "", + { "value": "Item", "label": __("Item") }, + { "value": "Supplier", "label": __("Supplier") } + ], "default": "" }, { diff --git a/erpnext/public/js/sales_trends_filters.js b/erpnext/public/js/sales_trends_filters.js index 5598e59935..46070b4768 100644 --- a/erpnext/public/js/sales_trends_filters.js +++ b/erpnext/public/js/sales_trends_filters.js @@ -8,11 +8,11 @@ var get_filters = function(){ "label": __("Period"), "fieldtype": "Select", "options": [ - { "value": "Monthly", "label": __("Monthly") }, - { "value": "Quarterly", "label": __("Quarterly") }, - { "value": "Half-Yearly", "label": __("Half-Yearly") }, - { "value": "Yearly", "label": __("Yearly") } - ], + { "value": "Monthly", "label": __("Monthly") }, + { "value": "Quarterly", "label": __("Quarterly") }, + { "value": "Half-Yearly", "label": __("Half-Yearly") }, + { "value": "Yearly", "label": __("Yearly") } + ], "default": "Monthly" }, { @@ -20,13 +20,13 @@ var get_filters = function(){ "label": __("Based On"), "fieldtype": "Select", "options": [ - { "value": "Item", "label": __("Item") }, - { "value": "Item Group", "label": __("Item Group") }, - { "value": "Customer", "label": __("Customer") }, - { "value": "Customer Group", "label": __("Customer Group") }, - { "value": "Territory", "label": __("Territory") }, - { "value": "Supplier Type", "label": __("Project") } - ], + { "value": "Item", "label": __("Item") }, + { "value": "Item Group", "label": __("Item Group") }, + { "value": "Customer", "label": __("Customer") }, + { "value": "Customer Group", "label": __("Customer Group") }, + { "value": "Territory", "label": __("Territory") }, + { "value": "Supplier Type", "label": __("Project") } + ], "default": "Item" }, { @@ -34,10 +34,10 @@ var get_filters = function(){ "label": __("Group By"), "fieldtype": "Select", "options": [ - { "value": "", "label": "" }, - { "value": "Item", "label": __("Item") }, - { "value": "Customer", "label": __("Customer") } - ], + "", + { "value": "Item", "label": __("Item") }, + { "value": "Customer", "label": __("Customer") } + ], "default": "" }, {