This commit is contained in:
Dennis Eichhorn 2017-05-30 18:21:27 +02:00
parent a20952a056
commit 5a70e64222
3 changed files with 18 additions and 18 deletions

View File

@ -5,7 +5,7 @@
"type": 2,
"subtype": 1,
"name": "Articles",
"uri": "/{/lang}/backend/sales/item/list?{?}",
"uri": "{/base}/{/lang}/backend/sales/item/list?{?}",
"target": "self",
"icon": null,
"order": 10,
@ -19,7 +19,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "/{/lang}/backend/sales/item/list?{?}",
"uri": "{/base}/{/lang}/backend/sales/item/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -33,7 +33,7 @@
"type": 3,
"subtype": 1,
"name": "Article",
"uri": "/{/lang}/backend/sales/item/single?{?}",
"uri": "{/base}/{/lang}/backend/sales/item/single?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -50,7 +50,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "/{/lang}/backend/sales/item/create?{?}",
"uri": "{/base}/{/lang}/backend/sales/item/create?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -67,7 +67,7 @@
"type": 2,
"subtype": 1,
"name": "Articles",
"uri": "/{/lang}/backend/purchase/item/list?{?}",
"uri": "{/base}/{/lang}/backend/purchase/item/list?{?}",
"target": "self",
"icon": null,
"order": 10,
@ -81,7 +81,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "/{/lang}/backend/purchase/item/list?{?}",
"uri": "{/base}/{/lang}/backend/purchase/item/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -95,7 +95,7 @@
"type": 3,
"subtype": 1,
"name": "Article",
"uri": "/{/lang}/backend/purchase/item/single?{?}",
"uri": "{/base}/{/lang}/backend/purchase/item/single?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -112,7 +112,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "/{/lang}/backend/purchase/item/create?{?}",
"uri": "{/base}/{/lang}/backend/purchase/item/create?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -129,7 +129,7 @@
"type": 2,
"subtype": 1,
"name": "Stock",
"uri": "/{/lang}/backend/warehousing/stock/list?{?}",
"uri": "{/base}/{/lang}/backend/warehousing/stock/list?{?}",
"target": "self",
"icon": null,
"order": 10,
@ -143,7 +143,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "/{/lang}/backend/warehousing/stock/list?{?}",
"uri": "{/base}/{/lang}/backend/warehousing/stock/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -157,7 +157,7 @@
"type": 3,
"subtype": 1,
"name": "Article",
"uri": "/{/lang}/backend/warehousing/stock/single?{?}",
"uri": "{/base}/{/lang}/backend/warehousing/stock/single?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -174,7 +174,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "/{/lang}/backend/warehousing/stock/create?{?}",
"uri": "{/base}/{/lang}/backend/warehousing/stock/create?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -191,7 +191,7 @@
"type": 2,
"subtype": 1,
"name": "Articles",
"uri": "/{/lang}/backend/production/item/list?{?}",
"uri": "{/base}/{/lang}/backend/production/item/list?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -205,7 +205,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "/{/lang}/backend/production/item/list?{?}",
"uri": "{/base}/{/lang}/backend/production/item/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -219,7 +219,7 @@
"type": 3,
"subtype": 1,
"name": "Article",
"uri": "/{/lang}/backend/production/item/single?{?}",
"uri": "{/base}/{/lang}/backend/production/item/single?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -236,7 +236,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "/{/lang}/backend/production/item/create?{?}",
"uri": "{/base}/{/lang}/backend/production/item/create?{?}",
"target": "self",
"icon": null,
"order": 5,

View File

@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?>
<td colspan="6"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach($items as $key => $value) : $count++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/sales/item/single?{?}&id=' . $value->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/sales/item/single?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $value->getNumber(); ?></a>
<td>

View File

@ -40,7 +40,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="8"><?= $footerView->render(); ?>
<tbody>
<?php $c = 0; foreach ([] as $key => $value) : $c++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/business/department/profile?{?}&id=' . $value->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/business/department/profile?{?}&id=' . $value->getId()); ?>
<tr>
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>