From 01326d744814a8bca0703f28442060e5e7b310e2 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 8 Nov 2017 22:39:51 +0100 Subject: [PATCH] Fix #13 --- Admin/Install/Navigation.install.json | 6 +++--- Theme/Backend/clients-create.tpl.php | 4 ++-- Theme/Backend/clients-list.tpl.php | 2 +- Theme/Backend/clients-profile.tpl.php | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 6f4cd5a..c617011 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -5,7 +5,7 @@ "type": 2, "subtype": 1, "name": "Clients", - "uri": "{/base}/{/lang}/backend/sales/client/list?{?}", + "uri": "/{/lang}/backend/sales/client/list?{?}", "target": "self", "icon": null, "order": 1, @@ -19,7 +19,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "{/base}/{/lang}/backend/sales/client/list?{?}", + "uri": "/{/lang}/backend/sales/client/list?{?}", "target": "self", "icon": null, "order": 1, @@ -34,7 +34,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "{/base}/{/lang}/backend/sales/client/create?{?}", + "uri": "/{/lang}/backend/sales/client/create?{?}", "target": "self", "icon": null, "order": 1, diff --git a/Theme/Backend/clients-create.tpl.php b/Theme/Backend/clients-create.tpl.php index 3728d57..22d91e3 100644 --- a/Theme/Backend/clients-create.tpl.php +++ b/Theme/Backend/clients-create.tpl.php @@ -184,7 +184,7 @@ echo $this->getData('nav')->render(); ?>

getHtml('Price'); ?>

-
+
@@ -226,7 +226,7 @@ echo $this->getData('nav')->render(); ?>

getHtml('AreaManager'); ?>

- + $value) : $count++; - $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/sales/client/profile?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/sales/client/profile?{?}&id=' . $value->getId()); ?>
diff --git a/Theme/Backend/clients-list.tpl.php b/Theme/Backend/clients-list.tpl.php index 8d9ba03..f6051a7 100644 --- a/Theme/Backend/clients-list.tpl.php +++ b/Theme/Backend/clients-list.tpl.php @@ -79,7 +79,7 @@ echo $this->getData('nav')->render(); ?> render(); ?>
printHtml($value->getNumber()); ?> printHtml($value->getProfile()->getAccount()->getName1()); ?> diff --git a/Theme/Backend/clients-profile.tpl.php b/Theme/Backend/clients-profile.tpl.php index 2f664c3..3106680 100644 --- a/Theme/Backend/clients-profile.tpl.php +++ b/Theme/Backend/clients-profile.tpl.php @@ -187,7 +187,7 @@ echo $this->getData('nav')->render();

getHtml('Price'); ?>

- +
@@ -229,7 +229,7 @@ echo $this->getData('nav')->render();

getHtml('AreaManager'); ?>

- +