This commit is contained in:
Dennis Eichhorn 2017-05-30 18:21:27 +02:00
parent d170e763a5
commit 3867e04bcb
2 changed files with 10 additions and 10 deletions

View File

@ -5,7 +5,7 @@
"type": 2,
"subtype": 1,
"name": "Clients",
"uri": "/{/lang}/backend/sales/client/list?{?}",
"uri": "{/base}/{/lang}/backend/sales/client/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -19,7 +19,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "/{/lang}/backend/sales/client/list?{?}",
"uri": "{/base}/{/lang}/backend/sales/client/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -33,7 +33,7 @@
"type": 5,
"subtype": 1,
"name": "Create",
"uri": "/{/lang}/backend/sales/client/create?{?}",
"uri": "{/base}/{/lang}/backend/sales/client/create?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -48,7 +48,7 @@
"type": 5,
"subtype": 1,
"name": "Profile",
"uri": "/{/lang}/backend/sales/client/profile?{?}",
"uri": "{/base}/{/lang}/backend/sales/client/profile?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -63,7 +63,7 @@
"type": 5,
"subtype": 1,
"name": "Turnover",
"uri": "/{/lang}/backend/sales/client/turnover?{?}",
"uri": "{/base}/{/lang}/backend/sales/client/turnover?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -78,7 +78,7 @@
"type": 3,
"subtype": 1,
"name": "Invoices",
"uri": "/{/lang}/backend/sales/client/invoice/list?{?}",
"uri": "{/base}/{/lang}/backend/sales/client/invoice/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -93,7 +93,7 @@
"type": 3,
"subtype": 1,
"name": "Articles",
"uri": "/{/lang}/backend/sales/client/article/list?{?}",
"uri": "{/base}/{/lang}/backend/sales/client/article/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -108,7 +108,7 @@
"type": 3,
"subtype": 1,
"name": "Analysis",
"uri": "/{/lang}/backend/sales/client/profile/analysis?{?}",
"uri": "{/base}/{/lang}/backend/sales/client/profile/analysis?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -125,7 +125,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "/{/lang}/backend/sales/client/create?{?}",
"uri": "{/base}/{/lang}/backend/sales/client/create?{?}",
"target": "self",
"icon": null,
"order": 1,

View File

@ -81,7 +81,7 @@ echo $this->getData('nav')->render(); ?>
<td colspan="8"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach($clients as $key => $value) : $count++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/sales/client/profile?{?}&id=' . $value->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/sales/client/profile?{?}&id=' . $value->getId()); ?>
<tr>
<td><a href="<?= $url; ?>"><?= $value->getNumber(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getProfile()->getAccount()->getName1(); ?></a>