mirror of
https://github.com/Karaka-Management/oms-Production.git
synced 2026-02-15 04:58:40 +00:00
Fixing remaining bugs for route-restructure
This commit is contained in:
parent
887f150af6
commit
3ba01efd43
|
|
@ -17,6 +17,7 @@ namespace Modules\Production\Admin;
|
||||||
|
|
||||||
use phpOMS\DataStorage\Database\DatabaseType;
|
use phpOMS\DataStorage\Database\DatabaseType;
|
||||||
use phpOMS\DataStorage\Database\Pool;
|
use phpOMS\DataStorage\Database\Pool;
|
||||||
|
use phpOMS\Module\InfoManager;
|
||||||
use phpOMS\Module\InstallerAbstract;
|
use phpOMS\Module\InstallerAbstract;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use phpOMS\Router\RouteVerb;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'^.*/backend/production/list.*$' => [
|
'^.*/backend/production/list.*$' => [
|
||||||
[
|
[
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
*/
|
*/
|
||||||
public function viewProductionList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
public function viewProductionList(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
||||||
{
|
{
|
||||||
$view = new View($this->app, $request, $response);
|
$view = new View($this->app, $request, $response);
|
||||||
$view->setTemplate('/Modules/Production/Theme/Backend/production-list');
|
$view->setTemplate('/Modules/Production/Theme/Backend/production-list');
|
||||||
|
|
@ -109,7 +109,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
*/
|
*/
|
||||||
public function viewProductionCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
public function viewProductionCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
||||||
{
|
{
|
||||||
$view = new View($this->app, $request, $response);
|
$view = new View($this->app, $request, $response);
|
||||||
$view->setTemplate('/Modules/Production/Theme/Backend/production-create');
|
$view->setTemplate('/Modules/Production/Theme/Backend/production-create');
|
||||||
|
|
@ -128,7 +128,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
*/
|
*/
|
||||||
public function viewProductionProcessList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
public function viewProductionProcessList(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
||||||
{
|
{
|
||||||
$view = new View($this->app, $request, $response);
|
$view = new View($this->app, $request, $response);
|
||||||
$view->setTemplate('/Modules/Production/Theme/Backend/process-list');
|
$view->setTemplate('/Modules/Production/Theme/Backend/process-list');
|
||||||
|
|
@ -147,7 +147,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
*/
|
*/
|
||||||
public function viewProductionProcessCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
public function viewProductionProcessCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
||||||
{
|
{
|
||||||
$view = new View($this->app, $request, $response);
|
$view = new View($this->app, $request, $response);
|
||||||
$view->setTemplate('/Modules/Production/Theme/Backend/process-create');
|
$view->setTemplate('/Modules/Production/Theme/Backend/process-create');
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,8 @@
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
* @link http://orange-management.com
|
* @link http://orange-management.com
|
||||||
*/
|
*/
|
||||||
$MODLANG['Navigation'] = [
|
return ['Navigation' => [
|
||||||
'Articles' => 'Articles',
|
'Articles' => 'Articles',
|
||||||
'Production' => 'Production',
|
'Production' => 'Production',
|
||||||
'Process' => 'Process',
|
'Process' => 'Process',
|
||||||
];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
* @link http://orange-management.com
|
* @link http://orange-management.com
|
||||||
*/
|
*/
|
||||||
$MODLANG['Production'] = [
|
return ['Production' => [
|
||||||
'Article' => 'Article',
|
'Article' => 'Article',
|
||||||
'Done' => 'Done',
|
'Done' => 'Done',
|
||||||
'Due' => 'Due',
|
'Due' => 'Due',
|
||||||
|
|
@ -27,4 +27,4 @@ $MODLANG['Production'] = [
|
||||||
'Quantity' => 'Quantity',
|
'Quantity' => 'Quantity',
|
||||||
'Start' => 'Start',
|
'Start' => 'Start',
|
||||||
'Status' => 'Status',
|
'Status' => 'Status',
|
||||||
];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,8 @@
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
* @link http://orange-management.com
|
* @link http://orange-management.com
|
||||||
*/
|
*/
|
||||||
$MODLANG['Navigation'] = [
|
return ['Navigation' => [
|
||||||
'Articles' => 'Articles',
|
'Articles' => 'Articles',
|
||||||
'Production' => 'Production',
|
'Production' => 'Production',
|
||||||
'Process' => 'Process',
|
'Process' => 'Process',
|
||||||
];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
* @link http://orange-management.com
|
* @link http://orange-management.com
|
||||||
*/
|
*/
|
||||||
$MODLANG['Production'] = [
|
return ['Production' => [
|
||||||
'Article' => 'Article',
|
'Article' => 'Article',
|
||||||
'Done' => 'Done',
|
'Done' => 'Done',
|
||||||
'Due' => 'Due',
|
'Due' => 'Due',
|
||||||
|
|
@ -27,4 +27,4 @@ $MODLANG['Production'] = [
|
||||||
'Quantity' => 'Quantity',
|
'Quantity' => 'Quantity',
|
||||||
'Start' => 'Start',
|
'Start' => 'Start',
|
||||||
'Status' => 'Status',
|
'Status' => 'Status',
|
||||||
];
|
]];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user