This commit is contained in:
Dennis Eichhorn 2017-11-08 22:39:51 +01:00
parent 6e4c25d055
commit 3f889b02b8
4 changed files with 8 additions and 8 deletions

View File

@ -19,7 +19,7 @@
"type": 2,
"subtype": 1,
"name": "Employees",
"uri": "{/base}/{/lang}/backend/hr/staff/list?{?}",
"uri": "/{/lang}/backend/hr/staff/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -33,7 +33,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "{/base}/{/lang}/backend/hr/staff/list?{?}",
"uri": "/{/lang}/backend/hr/staff/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -49,7 +49,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "{/base}/{/lang}/backend/hr/staff/create?{?}",
"uri": "/{/lang}/backend/hr/staff/create?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -67,7 +67,7 @@
"type": 2,
"subtype": 1,
"name": "Departments",
"uri": "{/base}/{/lang}/backend/hr/department/list?{?}",
"uri": "/{/lang}/backend/hr/department/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -81,7 +81,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "{/base}/{/lang}/backend/hr/department/list?{?}",
"uri": "/{/lang}/backend/hr/department/list?{?}",
"target": "self",
"icon": null,
"order": 1,

View File

@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="4"><?= $footerView->render(); ?>
<tbody>
<?php $c = 0; foreach ($departments as $key => $value) : $c++;
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/hr/department/single?{?}&id=' . $value->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/hr/department/single?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>">
<td data-label="<?= $this->getHtml('ID', 0, 0) ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getId()); ?></a>
<td data-label="<?= $this->getHtml('Name') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getName()); ?></a>

View File

@ -25,7 +25,7 @@
</table>
<!-- @formatter:on -->
<div class="cT">
<a href="<?= \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/sales/analysis/clients/dashboard'); ?>"
<a href="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/backend/sales/analysis/clients/dashboard'); ?>"
class="button"><?= $this->printHtml($this->app->accountManager->get($request->getHeader()->getAccount())->getL11n()->lang[0]['More'] ); ?></a>
</div>
</div>

View File

@ -43,7 +43,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="5"><?= $footerView->render(); ?>
<tbody>
<?php $c = 0; foreach ($employees as $key => $value) : $c++;
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/hr/staff/profile?{?}&id=' . $value->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/hr/staff/profile?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>">
<td data-label="<?= $this->getHtml('ID', 0, 0) ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getId()); ?></a>
<td data-label="<?= $this->getHtml('Name') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getAccount()->getName1()); ?></a>