This commit is contained in:
Dennis Eichhorn 2024-04-12 00:52:07 +00:00
parent 3c9e401dbb
commit 5413acde61
7 changed files with 33 additions and 66 deletions

View File

@ -5,7 +5,7 @@
"type": 2,
"subtype": 0,
"name": "Production",
"uri": "{/base}/production/dashboard?{?}",
"uri": "{/base}/production/dashboard",
"target": "self",
"icon": "local_fire_department",
"order": 70,
@ -19,7 +19,7 @@
"type": 2,
"subtype": 1,
"name": "Production",
"uri": "{/base}/production/list?{?}",
"uri": "{/base}/production/list",
"target": "self",
"icon": null,
"order": 5,
@ -33,7 +33,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "{/base}/production/list?{?}",
"uri": "{/base}/production/list",
"target": "self",
"icon": null,
"order": 5,
@ -48,7 +48,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "{/base}/production/create?{?}",
"uri": "{/base}/production/create",
"target": "self",
"icon": null,
"order": 10,
@ -65,7 +65,7 @@
"type": 2,
"subtype": 1,
"name": "Recipes",
"uri": "{/base}/production/recipe/list?{?}",
"uri": "{/base}/production/recipe/list",
"target": "self",
"icon": null,
"order": 10,
@ -79,7 +79,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "{/base}/production/recipe/list?{?}",
"uri": "{/base}/production/recipe/list",
"target": "self",
"icon": null,
"order": 5,
@ -94,7 +94,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "{/base}/production/recipe/create?{?}",
"uri": "{/base}/production/recipe/create",
"target": "self",
"icon": null,
"order": 10,
@ -111,7 +111,7 @@
"type": 2,
"subtype": 1,
"name": "Machines",
"uri": "{/base}/production/machine/list?{?}",
"uri": "{/base}/production/machine/list",
"target": "self",
"icon": null,
"order": 15,
@ -125,7 +125,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "{/base}/production/machine/list?{?}",
"uri": "{/base}/production/machine/list",
"target": "self",
"icon": null,
"order": 5,
@ -140,7 +140,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "{/base}/production/machine/create?{?}",
"uri": "{/base}/production/machine/create",
"target": "self",
"icon": null,
"order": 10,

View File

@ -50,6 +50,27 @@ final class BackendController extends Controller
return $view;
}
/**
* Routing end-point for application behavior.
*
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param array $data Generic data
*
* @return RenderableInterface
*
* @since 1.0.0
* @codeCoverageIgnore
*/
public function viewProductionMachineList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
{
$view = new View($this->app->l11nManager, $request, $response);
$view->setTemplate('/Modules/Production/Theme/Backend/machine-list');
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1004303001, $request, $response);
return $view;
}
/**
* Routing end-point for application behavior.
*

View File

@ -14,7 +14,7 @@ declare(strict_types=1);
return ['Navigation' => [
'Articles' => 'Artikel',
'Process' => 'Prozess',
'Recipes' => 'Anleitungen',
'Production' => 'Produktion',
'Machines' => 'Maschinen',
'List' => 'Liste',

View File

@ -14,7 +14,7 @@ declare(strict_types=1);
return ['Navigation' => [
'Articles' => 'Articles',
'Process' => 'Process',
'Recipes' => 'Recipes',
'Production' => 'Production',
'Machines' => 'Machines',
'List' => 'List',

View File

@ -1,18 +0,0 @@
<?php
/**
* Jingga
*
* PHP Version 8.2
*
* @package Modules\Production
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
/**
* @var \phpOMS\Views\View $this
*/
$task = new \Modules\Tasks\Models\Task(null);

View File

@ -1,18 +0,0 @@
<?php
/**
* Jingga
*
* PHP Version 8.2
*
* @package Modules\Production
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
/**
* @var \phpOMS\Views\View $this
*/
$task = new \Modules\Tasks\Models\Task(null);

View File

@ -1,18 +0,0 @@
<?php
/**
* Jingga
*
* PHP Version 8.2
*
* @package Modules\Production
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
/**
* @var \phpOMS\Views\View $this
*/
$task = new \Modules\Tasks\Models\Task(null);