some big beautfiul update
This commit is contained in:
@@ -4,14 +4,16 @@
|
||||
"queryComposerClassName": "Espo\\ORM\\QueryComposer\\MysqlQueryComposer",
|
||||
"pdoFactoryClassName": "Espo\\ORM\\PDO\\MysqlPDOFactory",
|
||||
"functionConverterClassNameMap": {
|
||||
"ABS": "Espo\\Core\\ORM\\QueryComposer\\Part\\FunctionConverters\\Abs"
|
||||
"ABS": "Espo\\Core\\ORM\\QueryComposer\\Part\\FunctionConverters\\Abs",
|
||||
"CURRENCY_RATE": "Espo\\Core\\ORM\\QueryComposer\\Part\\FunctionConverters\\CurrencyRate"
|
||||
}
|
||||
},
|
||||
"Postgresql": {
|
||||
"queryComposerClassName": "Espo\\ORM\\QueryComposer\\PostgresqlQueryComposer",
|
||||
"pdoFactoryClassName": "Espo\\ORM\\PDO\\PostgresqlPDOFactory",
|
||||
"functionConverterClassNameMap": {
|
||||
"ABS": "Espo\\Core\\ORM\\QueryComposer\\Part\\FunctionConverters\\Abs"
|
||||
"ABS": "Espo\\Core\\ORM\\QueryComposer\\Part\\FunctionConverters\\Abs",
|
||||
"CURRENCY_RATE": "Espo\\Core\\ORM\\QueryComposer\\Part\\FunctionConverters\\CurrencyRate"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,5 +30,18 @@
|
||||
},
|
||||
"filterList": [
|
||||
],
|
||||
"boolFilterList": []
|
||||
}
|
||||
"boolFilterList": [],
|
||||
"menu": {
|
||||
"list": {
|
||||
"dropdown": [
|
||||
{
|
||||
"name": "openApiSpec",
|
||||
"label": "OpenAPI spec",
|
||||
"link": "api/v1/OpenApi",
|
||||
"handler": "handlers/api-user/open-api-spec-action",
|
||||
"actionFunction": "process"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"type": "decimal",
|
||||
"decimalPlaces": 6,
|
||||
"min": 0.0001,
|
||||
"precision": 15,
|
||||
"precision": 20,
|
||||
"scale": 8,
|
||||
"required": true,
|
||||
"audited": true,
|
||||
|
||||
@@ -119,7 +119,8 @@
|
||||
},
|
||||
"fontFace": {
|
||||
"type": "enum",
|
||||
"view": "views/template/fields/font-face"
|
||||
"view": "views/template/fields/font-face",
|
||||
"isSorted": true
|
||||
},
|
||||
"title": {
|
||||
"type": "varchar"
|
||||
|
||||
@@ -34,12 +34,20 @@
|
||||
},
|
||||
"calendars": {
|
||||
"type": "linkMultiple",
|
||||
"tooltip": true
|
||||
"tooltip": true,
|
||||
"validatorClassNameList": [
|
||||
"Espo\\Classes\\FieldValidators\\WorkingTimeRange\\Calendars\\OnlyIfNoUsers",
|
||||
"Espo\\Classes\\FieldValidators\\WorkingTimeRange\\Calendars\\RequiredIfNoUsers"
|
||||
],
|
||||
"autocompleteOnEmpty": true
|
||||
},
|
||||
"users": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/working-time-range/fields/users",
|
||||
"tooltip": true
|
||||
"tooltip": true,
|
||||
"validatorClassNameList": [
|
||||
"Espo\\Classes\\FieldValidators\\WorkingTimeRange\\Users\\OnlyIfNoCalendars"
|
||||
]
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"users": {
|
||||
"calendars": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
@@ -19,8 +19,36 @@
|
||||
"value": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
"attribute": "calendarsIds"
|
||||
},
|
||||
{
|
||||
"type": "isEmpty",
|
||||
"attribute": "usersIds"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"users": {
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "or",
|
||||
"value": [
|
||||
{
|
||||
"type": "isEmpty",
|
||||
"attribute": "calendarsIds"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "or",
|
||||
"value": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "usersIds"
|
||||
|
||||
Reference in New Issue
Block a user