mirror of
https://github.com/Karaka-Management/oms-Production.git
synced 2026-01-11 14:08:42 +00:00
auto fixes + some impl.
This commit is contained in:
parent
1d251d01a4
commit
027a4e1532
|
|
@ -6,7 +6,7 @@ use phpOMS\Account\PermissionType;
|
|||
use phpOMS\Router\RouteVerb;
|
||||
|
||||
return [
|
||||
'^.*/production/list.*$' => [
|
||||
'^.*/production/list(\?.*$|$)' => [
|
||||
[
|
||||
'dest' => '\Modules\Production\Controller\BackendController:viewProductionList',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
@ -17,7 +17,7 @@ return [
|
|||
],
|
||||
],
|
||||
],
|
||||
'^.*/production/create.*$' => [
|
||||
'^.*/production/create(\?.*$|$)' => [
|
||||
[
|
||||
'dest' => '\Modules\Production\Controller\BackendController:viewProductionCreate',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
@ -28,7 +28,7 @@ return [
|
|||
],
|
||||
],
|
||||
],
|
||||
'^.*/production/process/list.*$' => [
|
||||
'^.*/production/process/list(\?.*$|$)' => [
|
||||
[
|
||||
'dest' => '\Modules\Production\Controller\BackendController:viewProductionProcessList',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
@ -39,7 +39,7 @@ return [
|
|||
],
|
||||
],
|
||||
],
|
||||
'^.*/production/process/create.*$' => [
|
||||
'^.*/production/process/create(\?.*$|$)' => [
|
||||
[
|
||||
'dest' => '\Modules\Production\Controller\BackendController:viewProductionProcessCreate',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ echo $this->data['nav']->render(); ?>
|
|||
<tr><td colspan="8">
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ([] as $key => $value) : ++$c;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/prefix}business/department/profile?{?}&id=' . $value->id); ?>
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/prefix}business/department/view?{?}&id=' . $value->id); ?>
|
||||
<tr>
|
||||
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->id); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getName()); ?></a>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Production\tests
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
\ini_set('memory_limit', '2048M');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user