This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/application/Espo/Resources/metadata/clientDefs/WorkingTimeRange.json
T
Yuri Kuznetsov 732ac8440f fix metadata
2025-01-04 11:14:33 +02:00

61 lines
1.7 KiB
JSON

{
"controller": "controllers/record",
"viewSetupHandlers": {
"record/edit": ["handlers/working-time-range"]
},
"mergeDisabled": true,
"massUpdateDisabled": true,
"menu": {
"list": {
"buttons": [
{
"name": "calendars",
"label": "Calendars",
"link": "#WorkingTimeCalendar"
}
]
}
},
"dynamicLogic": {
"fields": {
"timeRanges": {
"visible": {
"conditionGroup": [
{
"type": "equals",
"attribute": "type",
"value": "Working"
}
]
}
},
"users": {
"visible": {
"conditionGroup": [
{
"type": "or",
"value": [
{
"type": "isNotEmpty",
"attribute": "id"
},
{
"type": "isNotEmpty",
"attribute": "usersIds"
},
{
"type": "isEmpty",
"attribute": "calendarsIds"
}
]
}
]
}
}
}
},
"filterList": [
"actual"
]
}