mirror of
https://github.com/Karaka-Management/oms-FleetManagement.git
synced 2026-02-18 14:28: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()
|
$view->data['units'] = UnitMapper::getAll()
|
||||||
->execute();
|
->execute();
|
||||||
|
|
||||||
/** @var \Modules\Attribute\Models\AttributeType[] */
|
|
||||||
$view->data['attributeTypes'] = VehicleAttributeTypeMapper::getAll()
|
$view->data['attributeTypes'] = VehicleAttributeTypeMapper::getAll()
|
||||||
->with('l11n')
|
->with('l11n')
|
||||||
->where('l11n/language', $response->header->l11n->language)
|
->where('l11n/language', $response->header->l11n->language)
|
||||||
|
|
@ -552,7 +551,6 @@ final class BackendController extends Controller
|
||||||
->limit(1)
|
->limit(1)
|
||||||
->execute();
|
->execute();
|
||||||
|
|
||||||
/** @var \Modules\Attribute\Models\AttributeType[] */
|
|
||||||
$view->data['attributeTypes'] = DriverAttributeTypeMapper::getAll()
|
$view->data['attributeTypes'] = DriverAttributeTypeMapper::getAll()
|
||||||
->with('l11n')
|
->with('l11n')
|
||||||
->where('l11n/language', $response->header->l11n->language)
|
->where('l11n/language', $response->header->l11n->language)
|
||||||
|
|
|
||||||
|
|
@ -55,6 +55,11 @@ class Driver
|
||||||
|
|
||||||
public array $inspections = [];
|
public array $inspections = [];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor.
|
||||||
|
*
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->account = new NullAccount();
|
$this->account = new NullAccount();
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,4 @@
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
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);
|
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