changed indent. as well use tab instead of space.
diff --git a/erpnext/public/js/purchase_trends_filters.js b/erpnext/public/js/purchase_trends_filters.js
index 39c7bba..cab8bbf 100644
--- a/erpnext/public/js/purchase_trends_filters.js
+++ b/erpnext/public/js/purchase_trends_filters.js
@@ -8,11 +8,11 @@
"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 @@
"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 @@
"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 5598e59..46070b4 100644
--- a/erpnext/public/js/sales_trends_filters.js
+++ b/erpnext/public/js/sales_trends_filters.js
@@ -8,11 +8,11 @@
"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 @@
"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 @@
"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": ""
},
{