todos fixed

This commit is contained in:
Dennis Eichhorn 2023-10-12 22:49:20 +00:00
parent b6a39dbc3f
commit c88ff59847
49 changed files with 1366 additions and 61 deletions

View File

@ -61,7 +61,7 @@ final class ApiEquipmentAttributeController extends Controller
return;
}
$type = EquipmentAttributeTypeMapper::get()->where('id', (int) $request->getData('type'))->execute();
$type = EquipmentAttributeTypeMapper::get()->with('defaults')->where('id', (int) $request->getData('type'))->execute();
$attribute = $this->createAttributeFromRequest($request, $type);
$this->createModel($request->header->account, $attribute, EquipmentAttributeMapper::class, 'attribute', $request->getOrigin());
$this->createStandardCreateResponse($request, $response, $attribute);
@ -359,7 +359,7 @@ final class ApiEquipmentAttributeController extends Controller
}
/** @var AttributeType $old */
$old = EquipmentAttributeTypeMapper::get()->where('id', (int) $request->getData('id'))->execute();
$old = EquipmentAttributeTypeMapper::get()->with('defaults')->where('id', (int) $request->getData('id'))->execute();
$new = $this->updateAttributeTypeFromRequest($request, clone $old);
$this->updateModel($request->header->account, $old, $new, EquipmentAttributeTypeMapper::class, 'equipment_attribute_type', $request->getOrigin());
@ -391,7 +391,7 @@ final class ApiEquipmentAttributeController extends Controller
}
/** @var AttributeType $equipmentAttributeType */
$equipmentAttributeType = EquipmentAttributeTypeMapper::get()->where('id', (int) $request->getData('id'))->execute();
$equipmentAttributeType = EquipmentAttributeTypeMapper::get()->with('defaults')->where('id', (int) $request->getData('id'))->execute();
$this->deleteModel($request->header->account, $equipmentAttributeType, EquipmentAttributeTypeMapper::class, 'equipment_attribute_type', $request->getOrigin());
$this->createStandardDeleteResponse($request, $response, $equipmentAttributeType);
}

View File

@ -56,7 +56,7 @@ final class BackendController extends Controller
{
$view = new View($this->app->l11nManager, $request, $response);
$view->setTemplate('/Modules/EquipmentManagement/Theme/Backend/attribute-type-list');
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1003503001, $request, $response);
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1008405001, $request, $response);
/** @var \Modules\Attribute\Models\AttributeType[] $attributes */
$attributes = EquipmentAttributeTypeMapper::getAll()

0
Docs/Dev/img/er.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 212 KiB

After

Width:  |  Height:  |  Size: 212 KiB

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -13,9 +13,9 @@
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => 'Equipment Attribute',
'EquipmentInspectionTypes' => 'Equipment Inspektionstypen',
'EquipmentManagement' => 'Equipment Management',
'Equipments' => 'Equipments',
'Inspections' => 'Inspektionen',
'EquipmentInspectionTypes' => 'Equipment Inspektionstypen',
'EquipmentAttributes' => 'Equipment Attribute',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

4
Theme/Backend/Lang/Navigation.en.lang.php Normal file → Executable file
View File

@ -13,9 +13,9 @@
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => 'Equipment Attributes',
'EquipmentInspectionTypes' => 'Equipment Inspection Types',
'EquipmentManagement' => 'Equipment Management',
'Equipments' => 'Equipments',
'Inspections' => 'Inspections',
'EquipmentInspectionTypes' => 'Equipment Inspection Types',
'EquipmentAttributes' => 'Equipment Attributes',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

View File

@ -0,0 +1,21 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['Navigation' => [
'EquipmentAttributes' => '',
'EquipmentInspectionTypes' => '',
'EquipmentManagement' => '',
'Equipments' => '',
'Inspections' => '',
]];

44
Theme/Backend/Lang/ar.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

44
Theme/Backend/Lang/cs.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

44
Theme/Backend/Lang/da.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

View File

@ -13,30 +13,32 @@
declare(strict_types=1);
return ['EquipmentManagement' => [
'Equipment' => 'Equipment',
'Equipments' => 'Equipment',
'Status' => 'Status',
'Name' => 'Name',
'Type' => 'Typ',
'Make' => 'Marke',
'Model' => 'Modell',
'Start' => 'Start',
'End' => 'Ende',
'Profile' => 'Profile',
'Attributes' => 'Attribute',
'Files' => 'Dateien',
'Notes' => 'Notizen',
'Costs' => 'Kosten',
'Inspections' => 'Inspectionen',
'Ein' => 'Ein',
'History' => 'Historie',
'Upcoming' => 'Upcoming',
'Responsible' => 'Verantwortlich',
'Date' => 'Datum',
'PurchasePrice' => 'Kaufpreis',
'LeasingFee' => 'Leasingkosten',
':status1' => 'Aktiv',
':status2' => 'Inaktiv',
':status3' => 'Beschädigt',
':status4' => 'Außer Betrieb',
':status1' => 'Aktiv',
':status2' => 'Inaktiv',
':status3' => 'Beschädigt',
':status4' => 'Außer Betrieb',
'Attributes' => 'Attribute',
'Costs' => 'Kosten',
'Date' => 'Datum',
'Driver' => '',
'EIN' => '',
'Ein' => 'Ein',
'End' => 'Ende',
'Equipment' => 'Equipment',
'Equipments' => 'Equipment',
'Files' => 'Dateien',
'History' => 'Historie',
'Inspections' => 'Inspectionen',
'LeasingFee' => 'Leasingkosten',
'Make' => 'Marke',
'Model' => 'Modell',
'Name' => 'Name',
'Notes' => 'Notizen',
'Profile' => 'Profile',
'PurchasePrice' => 'Kaufpreis',
'Responsible' => 'Verantwortlich',
'Start' => 'Start',
'Status' => 'Status',
'Type' => 'Typ',
'Upcoming' => 'Upcoming',
]];

44
Theme/Backend/Lang/el.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

View File

@ -13,30 +13,32 @@
declare(strict_types=1);
return ['EquipmentManagement' => [
'Equipment' => 'Equipment',
'Equipments' => 'Equipments',
'Status' => 'Status',
'Name' => 'Name',
'Type' => 'Type',
'Make' => 'Make',
'Model' => 'Model',
'Start' => 'Start',
'End' => 'End',
'Profile' => 'Profile',
'Attributes' => 'Attributes',
'Files' => 'Files',
'Notes' => 'Notes',
'Costs' => 'Costs',
'Inspections' => 'Inspections',
'Ein' => 'Ein',
'History' => 'History',
'Upcoming' => 'Upcoming',
'Responsible' => 'Responsible',
'Date' => 'Date',
'PurchasePrice' => 'Purchase Price',
'LeasingFee' => 'Leasing Fee',
':status1' => 'Active',
':status2' => 'Inactive',
':status3' => 'Damaged',
':status4' => 'Out of order',
':status1' => 'Active',
':status2' => 'Inactive',
':status3' => 'Damaged',
':status4' => 'Out of order',
'Attributes' => 'Attributes',
'Costs' => 'Costs',
'Date' => 'Date',
'Driver' => '',
'EIN' => '',
'Ein' => 'Ein',
'End' => 'End',
'Equipment' => 'Equipment',
'Equipments' => 'Equipments',
'Files' => 'Files',
'History' => 'History',
'Inspections' => 'Inspections',
'LeasingFee' => 'Leasing Fee',
'Make' => 'Make',
'Model' => 'Model',
'Name' => 'Name',
'Notes' => 'Notes',
'Profile' => 'Profile',
'PurchasePrice' => 'Purchase Price',
'Responsible' => 'Responsible',
'Start' => 'Start',
'Status' => 'Status',
'Type' => 'Type',
'Upcoming' => 'Upcoming',
]];

44
Theme/Backend/Lang/es.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

44
Theme/Backend/Lang/fi.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

44
Theme/Backend/Lang/fr.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

44
Theme/Backend/Lang/hu.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

44
Theme/Backend/Lang/it.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

44
Theme/Backend/Lang/ja.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

44
Theme/Backend/Lang/ko.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

44
Theme/Backend/Lang/no.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

44
Theme/Backend/Lang/pl.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

44
Theme/Backend/Lang/pt.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

44
Theme/Backend/Lang/ru.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

44
Theme/Backend/Lang/sv.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

44
Theme/Backend/Lang/th.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

44
Theme/Backend/Lang/tr.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

44
Theme/Backend/Lang/uk.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

44
Theme/Backend/Lang/zh.lang.php Executable file
View File

@ -0,0 +1,44 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
return ['EquipmentManagement' => [
':status1' => '',
':status2' => '',
':status3' => '',
':status4' => '',
'Attributes' => '',
'Costs' => '',
'Date' => '',
'Driver' => '',
'EIN' => '',
'Ein' => '',
'End' => '',
'Equipment' => '',
'Equipments' => '',
'Files' => '',
'History' => '',
'Inspections' => '',
'LeasingFee' => '',
'Make' => '',
'Model' => '',
'Name' => '',
'Notes' => '',
'Profile' => '',
'PurchasePrice' => '',
'Responsible' => '',
'Start' => '',
'Status' => '',
'Type' => '',
'Upcoming' => '',
]];

View File

@ -146,7 +146,8 @@ echo $this->data['nav']->render();
$equipment->attributes,
$this->data['attributeTypes'] ?? [],
$this->data['units'] ?? [],
'{/api}fleet/equipment/attribute'
'{/api}fleet/equipment/attribute',
$equipment->id
);
?>
</div>

0
tests/Controller/Api/ApiControllerEquipmentTrait.php Normal file → Executable file
View File