mirror of
https://github.com/Karaka-Management/oms-StockTaking.git
synced 2026-02-17 18:08:42 +00:00
auto fixes + some impl.
This commit is contained in:
parent
d209b4a6b1
commit
57eac89b3e
|
|
@ -7,7 +7,7 @@ use phpOMS\Account\PermissionType;
|
||||||
use phpOMS\Router\RouteVerb;
|
use phpOMS\Router\RouteVerb;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'^.*/warehouse/stocktaking/list.*$' => [
|
'^.*/warehouse/stocktaking/list(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\StockTaking\Controller\BackendController:viewStockTakingList',
|
'dest' => '\Modules\StockTaking\Controller\BackendController:viewStockTakingList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -18,7 +18,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/warehouse/stocktaking/overview.*$' => [
|
'^.*/warehouse/stocktaking/overview(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\StockTaking\Controller\BackendController:viewStockTakingOverview',
|
'dest' => '\Modules\StockTaking\Controller\BackendController:viewStockTakingOverview',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -29,7 +29,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/warehouse/stocktaking/area.*$' => [
|
'^.*/warehouse/stocktaking/area(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\StockTaking\Controller\BackendController:viewStockTakingArea',
|
'dest' => '\Modules\StockTaking\Controller\BackendController:viewStockTakingArea',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -40,7 +40,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/warehouse/stocktaking/entry.*$' => [
|
'^.*/warehouse/stocktaking/entry(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\StockTaking\Controller\BackendController:viewStockTakingEntry',
|
'dest' => '\Modules\StockTaking\Controller\BackendController:viewStockTakingEntry',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -51,7 +51,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/warehouse/stocktaking/stats.*$' => [
|
'^.*/warehouse/stocktaking/stats(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\StockTaking\Controller\BackendController:viewStockTakingStats',
|
'dest' => '\Modules\StockTaking\Controller\BackendController:viewStockTakingStats',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
$count = 0;
|
$count = 0;
|
||||||
foreach ($assets as $key => $value) :
|
foreach ($assets as $key => $value) :
|
||||||
++$count;
|
++$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; ?>">
|
<tr data-href="<?= $url; ?>">
|
||||||
<td>
|
<td>
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
$count = 0;
|
$count = 0;
|
||||||
foreach ($assets as $key => $value) :
|
foreach ($assets as $key => $value) :
|
||||||
++$count;
|
++$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; ?>">
|
<tr data-href="<?= $url; ?>">
|
||||||
<td>
|
<td>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,15 @@
|
||||||
<?php
|
<?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);
|
declare(strict_types=1);
|
||||||
|
|
||||||
\ini_set('memory_limit', '2048M');
|
\ini_set('memory_limit', '2048M');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user