mirror of
https://github.com/Karaka-Management/oms-WarehouseManagement.git
synced 2026-01-27 22:18:41 +00:00
fix urls
This commit is contained in:
parent
a8818f6a23
commit
43ac2cf73f
|
|
@ -19,7 +19,7 @@
|
|||
"type": 2,
|
||||
"subtype": 1,
|
||||
"name": "Stock",
|
||||
"uri": "{/prefix}warehouse/stock/list",
|
||||
"uri": "{/lang}/{/app}/warehouse/stock/list",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Stocks",
|
||||
"uri": "{/prefix}warehouse/stock/list",
|
||||
"uri": "{/lang}/{/app}/warehouse/stock/list",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Locations",
|
||||
"uri": "{/prefix}warehouse/stock/location/list",
|
||||
"uri": "{/lang}/{/app}/warehouse/stock/location/list",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tbody>
|
||||
<?php $count = 0; foreach ($stocks as $key => $value) :
|
||||
++$count;
|
||||
$url = UriFactory::build('warehouse/stock?{?}&id=' . $value->getId());
|
||||
$url = UriFactory::build('{/lang}/{/app}/warehouse/stock?{?}&id=' . $value->getId());
|
||||
?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<tbody>
|
||||
<?php $count = 0; foreach ($locations as $key => $value) :
|
||||
++$count;
|
||||
$url = UriFactory::build('warehouse/stock/location?{?}&id=' . $value->getId());
|
||||
$url = UriFactory::build('{/lang}/{/app}/warehouse/stock/location?{?}&id=' . $value->getId());
|
||||
?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user