fix: make fields editable only when service provider is custom

This commit is contained in:
Dany Robert 2021-11-04 05:01:37 +00:00
parent 7291d9f236
commit 08b2735a79

View File

@ -27,6 +27,7 @@
"fieldtype": "Data",
"in_list_view": 1,
"label": "API Endpoint",
"read_only_depends_on": "eval: doc.service_provider != \"Custom\"",
"reqd": 1
},
{
@ -55,6 +56,7 @@
"fieldtype": "Table",
"label": "Parameters",
"options": "Currency Exchange Settings Details",
"read_only_depends_on": "eval: doc.service_provider != \"Custom\"",
"reqd": 1
},
{
@ -66,6 +68,7 @@
"fieldtype": "Table",
"label": "Result Key",
"options": "Currency Exchange Settings Result",
"read_only_depends_on": "eval: doc.service_provider != \"Custom\"",
"reqd": 1
},
{
@ -79,7 +82,7 @@
"index_web_pages_for_search": 1,
"issingle": 1,
"links": [],
"modified": "2021-11-03 19:27:27.922353",
"modified": "2021-11-04 10:27:09.332768",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Currency Exchange Settings",