auto fixes + some impl.

This commit is contained in:
Dennis Eichhorn 2024-01-26 22:53:59 +00:00
parent 1d251d01a4
commit 027a4e1532
5 changed files with 48 additions and 37 deletions

View File

@ -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,

View File

@ -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>

View File

@ -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');