Details
-
Type:
Sub-task
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Staff Interface
-
Labels:None
Description
When options are fetched for configuration we should also fetch a list of conditionals for the current package (i.e. http://host/blesta/package_options/logic/5), which would return a JSON structure containing the logic for all options in the supplied package.
[
{
"option_id": 1,
"trigger_option_id": 2
"condition": "=",
"value": "1024",
"trigger": "show",
},
{
"option_id": 2,
"trigger_option_id": 3
"condition": "=",
"value": "option value",
"trigger": "show",
}
]
Abstracting config option display would be nice