auto fixes + some impl.

This commit is contained in:
Dennis Eichhorn 2024-01-26 22:54:00 +00:00
parent d40c2fad1e
commit f9986903d9
4 changed files with 46 additions and 35 deletions

View File

@ -6,7 +6,7 @@ use phpOMS\Account\PermissionType;
use phpOMS\Router\RouteVerb;
return [
'^.*/rnd/list.*$' => [
'^.*/rnd/list(\?.*$|$)' => [
[
'dest' => '\Modules\ResearchDevelopment\Controller\BackendController:viewProjectList',
'verb' => RouteVerb::GET,
@ -17,7 +17,7 @@ return [
],
],
],
'^.*/rnd/create.*$' => [
'^.*/rnd/create(\?.*$|$)' => [
[
'dest' => '\Modules\ResearchDevelopment\Controller\BackendController:viewProjectCreate',
'verb' => RouteVerb::GET,

View File

@ -41,7 +41,7 @@ echo $this->data['nav']->render(); ?>
<tr><td colspan="5">
<tbody>
<?php $c = 0; foreach ([] as $key => $value) : ++$c;
$url = \phpOMS\Uri\UriFactory::build('{/prefix}checklist/single?{?}&id=' . $value->id); ?>
$url = \phpOMS\Uri\UriFactory::build('{/prefix}checklist/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\ResearchDevelopment\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');