diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index d5d4137..81632b3 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -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, diff --git a/Theme/Backend/sales-item-list.tpl.php b/Theme/Backend/sales-item-list.tpl.php index f95ff5d..b1c5ad4 100644 --- a/Theme/Backend/sales-item-list.tpl.php +++ b/Theme/Backend/sales-item-list.tpl.php @@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?> render(); ?> $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()); ?> getNumber(); ?> diff --git a/Theme/Backend/stock-list.tpl.php b/Theme/Backend/stock-list.tpl.php index d8c82e4..2d5ad27 100644 --- a/Theme/Backend/stock-list.tpl.php +++ b/Theme/Backend/stock-list.tpl.php @@ -40,7 +40,7 @@ echo $this->getData('nav')->render(); ?> render(); ?> $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()); ?> getId(); ?> getName(); ?>