Browse Source

Hide filters in Kilometer and system mapping

version2
venkataakhil 1 year ago
parent
commit
94492e5a46
  1. 10
      smart_service/transactions/doctype/kilometer_mapping/kilometer_mapping.json
  2. 3
      smart_service/transactions/doctype/system_mapping/system_mapping.json

10
smart_service/transactions/doctype/kilometer_mapping/kilometer_mapping.json

@ -117,6 +117,7 @@
{ {
"fieldname": "section_break_12", "fieldname": "section_break_12",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"hidden": 1,
"label": "Filter By" "label": "Filter By"
}, },
{ {
@ -129,12 +130,14 @@
{ {
"fieldname": "sub_system_filter", "fieldname": "sub_system_filter",
"fieldtype": "Select", "fieldtype": "Select",
"hidden": 1,
"label": "Sub System", "label": "Sub System",
"read_only_depends_on": "eval:doc.kilometer_filter == \"All\"" "read_only_depends_on": "eval:doc.kilometer_filter == \"All\""
}, },
{ {
"fieldname": "column_break_14", "fieldname": "column_break_14",
"fieldtype": "Column Break" "fieldtype": "Column Break",
"hidden": 1
}, },
{ {
"fieldname": "section_break_16", "fieldname": "section_break_16",
@ -143,6 +146,7 @@
{ {
"fieldname": "kilometer_filter", "fieldname": "kilometer_filter",
"fieldtype": "Select", "fieldtype": "Select",
"hidden": 1,
"label": "Kilometer" "label": "Kilometer"
}, },
{ {
@ -156,11 +160,13 @@
{ {
"fieldname": "sort_by_kilometer", "fieldname": "sort_by_kilometer",
"fieldtype": "Button", "fieldtype": "Button",
"hidden": 1,
"label": "Sort by Kilometer" "label": "Sort by Kilometer"
}, },
{ {
"fieldname": "temp_field", "fieldname": "temp_field",
"fieldtype": "Select", "fieldtype": "Select",
"hidden": 1,
"label": "Temp Field", "label": "Temp Field",
"options": "\nSet\nNot Set" "options": "\nSet\nNot Set"
}, },
@ -181,7 +187,7 @@
], ],
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"links": [], "links": [],
"modified": "2023-10-27 10:49:00.008151", "modified": "2023-11-10 11:03:48.629986",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Transactions", "module": "Transactions",
"name": "Kilometer Mapping", "name": "Kilometer Mapping",

3
smart_service/transactions/doctype/system_mapping/system_mapping.json

@ -135,6 +135,7 @@
{ {
"fieldname": "system_filter", "fieldname": "system_filter",
"fieldtype": "Select", "fieldtype": "Select",
"hidden": 1,
"label": "System Filter" "label": "System Filter"
}, },
{ {
@ -172,7 +173,7 @@
], ],
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"links": [], "links": [],
"modified": "2023-11-08 17:10:55.421383", "modified": "2023-11-10 11:02:23.963612",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Transactions", "module": "Transactions",
"name": "System Mapping", "name": "System Mapping",

Loading…
Cancel
Save