Test fixes
Some checks failed
Image optimization / general_image_workflow (push) Has been cancelled
CI / general_module_workflow_php (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled

This commit is contained in:
Dennis Eichhorn 2024-05-16 02:14:54 +00:00
parent 29f0411b89
commit f68f1c26fd
7 changed files with 89 additions and 86 deletions

View File

@ -464,13 +464,13 @@
"null": false
},
"fleetmgmt_vehicle_attr_type_required": {
"description": "Every vehicle must have this attribute type if set to true.",
"comment": "Every vehicle must have this attribute type if set to true.",
"name": "fleetmgmt_vehicle_attr_type_required",
"type": "TINYINT(1)",
"null": false
},
"fleetmgmt_vehicle_attr_type_pattern": {
"description": "This is a regex validation pattern.",
"comment": "This is a regex validation pattern.",
"name": "fleetmgmt_vehicle_attr_type_pattern",
"type": "VARCHAR(255)",
"null": false
@ -755,13 +755,13 @@
"null": false
},
"fleetmgmt_driver_attr_type_required": {
"description": "Every driver must have this attribute type if set to true.",
"comment": "Every driver must have this attribute type if set to true.",
"name": "fleetmgmt_driver_attr_type_required",
"type": "TINYINT(1)",
"null": false
},
"fleetmgmt_driver_attr_type_pattern": {
"description": "This is a regex validation pattern.",
"comment": "This is a regex validation pattern.",
"name": "fleetmgmt_driver_attr_type_pattern",
"type": "VARCHAR(255)",
"null": false

View File

@ -440,6 +440,10 @@ final class Installer extends InstallerAbstract
$module = $app->moduleManager->get('FleetManagement', 'ApiVehicleAttribute');
foreach ($attributes as $attribute) {
if (!isset($attribute['values'])) {
continue;
}
$itemAttrValue[$attribute['name']] = [];
/** @var array $value */
@ -581,6 +585,10 @@ final class Installer extends InstallerAbstract
$module = $app->moduleManager->get('FleetManagement', 'ApiDriverAttribute');
foreach ($attributes as $attribute) {
if (!isset($attribute['values'])) {
continue;
}
$itemAttrValue[$attribute['name']] = [];
/** @var array $value */

View File

@ -1,5 +0,0 @@
# Structure
## ER
![ER](Modules/FleetManagement/Docs/Dev/img/er.png)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

View File

@ -12,7 +12,7 @@
},
"creator": {
"name": "Jingga",
"website": "jingga.app"
"website": "https://jingga.app"
},
"directory": "FleetManagement",
"dependencies": {