mirror of
https://github.com/Karaka-Management/oms-StockTaking.git
synced 2026-01-11 02:28:40 +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;
|
||||
|
||||
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,
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user