Browse Source

MST TEB field depends on condition

version2
venkata akhil 1 year ago
parent
commit
0f4f076d14
  1. 53
      smart_service/phase_2/doctype/special_tool_information/special_tool_information.json

53
smart_service/phase_2/doctype/special_tool_information/special_tool_information.json

@ -20,17 +20,15 @@
"tool_type",
"tool_name",
"my_id",
"section_break_2etis",
"section_break_e91wx",
"instructions",
"teb_instructions",
"keywords",
"column_break_witqs",
"pdf",
"column_break_plwrg",
"image",
"column_break_uq15d",
"video",
"section_break_e91wx",
"instructions",
"teb_instructions"
"tool_name",
"tool_type"
],
"fields": [
{
@ -110,7 +108,13 @@
"set_only_once": 1
},
{
"depends_on": "eval:doc.category !='TEB';",
"depends_on": "eval:doc.category !='TEB';",
"fieldname": "aggregate_image",
"fieldtype": "Attach Image",
"label": "Aggregate Image"
},
{
"depends_on": "eval:doc.category !='TEB';",
"fieldname": "pdf",
"fieldtype": "Attach",
"label": "PDF"
@ -122,7 +126,7 @@
"options": "Instructions"
},
{
"depends_on": "eval:doc.category !='TEB';",
"depends_on": "eval:doc.category !='TEB';",
"fieldname": "tool_name",
"fieldtype": "Data",
"label": "Tool Name"
@ -141,7 +145,6 @@
"options": "TEB Instructions"
},
{
"depends_on": "eval:doc.category !='TEB';",
"fieldname": "image",
"fieldtype": "Attach Image",
"label": "Image"
@ -149,39 +152,11 @@
{
"fieldname": "column_break_m3p9i",
"fieldtype": "Column Break"
},
{
"fieldname": "section_break_2etis",
"fieldtype": "Section Break"
},
{
"fieldname": "column_break_witqs",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_plwrg",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_uq15d",
"fieldtype": "Column Break"
},
{
"depends_on": "eval:doc.category !='TEB';",
"fieldname": "video",
"fieldtype": "Attach",
"label": "Video"
},
{
"fieldname": "tool_image",
"fieldtype": "Attach Image",
"label": "Tool Image",
"reqd": 1
}
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2023-09-28 10:22:26.174524",
"modified": "2023-09-27 11:59:38.479380",
"modified_by": "Administrator",
"module": "Phase-2",
"name": "Special Tool Information",

Loading…
Cancel
Save