auto fixes + some impl.

This commit is contained in:
Dennis Eichhorn 2024-01-26 22:54:00 +00:00
parent d209b4a6b1
commit 57eac89b3e
5 changed files with 50 additions and 39 deletions

View File

@ -7,7 +7,7 @@ use phpOMS\Account\PermissionType;
use phpOMS\Router\RouteVerb;
return [
'^.*/warehouse/stocktaking/list.*$' => [
'^.*/warehouse/stocktaking/list(\?.*$|$)' => [
[
'dest' => '\Modules\StockTaking\Controller\BackendController:viewStockTakingList',
'verb' => RouteVerb::GET,
@ -18,7 +18,7 @@ return [
],
],
],
'^.*/warehouse/stocktaking/overview.*$' => [
'^.*/warehouse/stocktaking/overview(\?.*$|$)' => [
[
'dest' => '\Modules\StockTaking\Controller\BackendController:viewStockTakingOverview',
'verb' => RouteVerb::GET,
@ -29,7 +29,7 @@ return [
],
],
],
'^.*/warehouse/stocktaking/area.*$' => [
'^.*/warehouse/stocktaking/area(\?.*$|$)' => [
[
'dest' => '\Modules\StockTaking\Controller\BackendController:viewStockTakingArea',
'verb' => RouteVerb::GET,
@ -40,7 +40,7 @@ return [
],
],
],
'^.*/warehouse/stocktaking/entry.*$' => [
'^.*/warehouse/stocktaking/entry(\?.*$|$)' => [
[
'dest' => '\Modules\StockTaking\Controller\BackendController:viewStockTakingEntry',
'verb' => RouteVerb::GET,
@ -51,7 +51,7 @@ return [
],
],
],
'^.*/warehouse/stocktaking/stats.*$' => [
'^.*/warehouse/stocktaking/stats(\?.*$|$)' => [
[
'dest' => '\Modules\StockTaking\Controller\BackendController:viewStockTakingStats',
'verb' => RouteVerb::GET,

View File

@ -39,7 +39,7 @@ echo $this->data['nav']->render(); ?>
$count = 0;
foreach ($assets as $key => $value) :
++$count;
$url = UriFactory::build('{/base}/accounting/asset/profile?{?}&id=' . $value->id);
$url = UriFactory::build('{/base}/accounting/asset/view?{?}&id=' . $value->id);
?>
<tr data-href="<?= $url; ?>">
<td>

View File

@ -35,7 +35,7 @@ echo $this->data['nav']->render(); ?>
$count = 0;
foreach ($assets as $key => $value) :
++$count;
$url = UriFactory::build('{/base}/accounting/asset/profile?{?}&id=' . $value->id);
$url = UriFactory::build('{/base}/accounting/asset/view?{?}&id=' . $value->id);
?>
<tr data-href="<?= $url; ?>">
<td>

View File

@ -1,4 +1,15 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\StockTaking\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');