mirror of
https://github.com/Karaka-Management/oms-FleetManagement.git
synced 2026-02-10 02:18:41 +00:00
code fixes
This commit is contained in:
parent
45ae07b0ac
commit
9a49bc34f1
|
|
@ -473,7 +473,6 @@ final class BackendController extends Controller
|
|||
$view->data['units'] = UnitMapper::getAll()
|
||||
->execute();
|
||||
|
||||
/** @var \Modules\Attribute\Models\AttributeType[] */
|
||||
$view->data['attributeTypes'] = VehicleAttributeTypeMapper::getAll()
|
||||
->with('l11n')
|
||||
->where('l11n/language', $response->header->l11n->language)
|
||||
|
|
@ -552,7 +551,6 @@ final class BackendController extends Controller
|
|||
->limit(1)
|
||||
->execute();
|
||||
|
||||
/** @var \Modules\Attribute\Models\AttributeType[] */
|
||||
$view->data['attributeTypes'] = DriverAttributeTypeMapper::getAll()
|
||||
->with('l11n')
|
||||
->where('l11n/language', $response->header->l11n->language)
|
||||
|
|
|
|||
|
|
@ -55,6 +55,11 @@ class Driver
|
|||
|
||||
public array $inspections = [];
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->account = new NullAccount();
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ return ['FleetManagement' => [
|
|||
'Responsible' => 'Verantwortlich',
|
||||
'Start' => 'Start',
|
||||
'Status' => 'Status',
|
||||
'VIN' => 'VIN',
|
||||
'VIN' => 'VIN',
|
||||
'Type' => 'Typ',
|
||||
'Upcoming' => 'Upcoming',
|
||||
'Vehicles' => 'Fahrzeuge',
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ return ['FleetManagement' => [
|
|||
'Responsible' => 'Responsible',
|
||||
'Start' => 'Start',
|
||||
'Status' => 'Status',
|
||||
'VIN' => 'VIN',
|
||||
'VIN' => 'VIN',
|
||||
'Type' => 'Type',
|
||||
'Upcoming' => 'Upcoming',
|
||||
'Vehicles' => 'Vehicles',
|
||||
|
|
|
|||
|
|
@ -12,6 +12,4 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
use phpOMS\Uri\UriFactory;
|
||||
|
||||
echo $this->data['nav']->render(); ?>
|
||||
echo $this->data['nav']->render();
|
||||
|
|
|
|||
|
|
@ -12,6 +12,4 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
use phpOMS\Uri\UriFactory;
|
||||
|
||||
echo $this->data['nav']->render(); ?>
|
||||
echo $this->data['nav']->render();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user