From 43ac2cf73fa079c8f4faf1f3043ba04322f9a0fb Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 10 Dec 2022 22:17:54 +0100 Subject: [PATCH] fix urls --- Admin/Install/Navigation.install.json | 6 +++--- Theme/Backend/stock-list.tpl.php | 2 +- Theme/Backend/stock-location-list.tpl.php | 2 +- info.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index fc1dea0..2382f8f 100755 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -19,7 +19,7 @@ "type": 2, "subtype": 1, "name": "Stock", - "uri": "{/prefix}warehouse/stock/list", + "uri": "{/lang}/{/app}/warehouse/stock/list", "target": "self", "icon": null, "order": 1, @@ -33,7 +33,7 @@ "type": 3, "subtype": 1, "name": "Stocks", - "uri": "{/prefix}warehouse/stock/list", + "uri": "{/lang}/{/app}/warehouse/stock/list", "target": "self", "icon": null, "order": 1, @@ -48,7 +48,7 @@ "type": 3, "subtype": 1, "name": "Locations", - "uri": "{/prefix}warehouse/stock/location/list", + "uri": "{/lang}/{/app}/warehouse/stock/location/list", "target": "self", "icon": null, "order": 1, diff --git a/Theme/Backend/stock-list.tpl.php b/Theme/Backend/stock-list.tpl.php index b7a2c25..1e7ffd9 100755 --- a/Theme/Backend/stock-list.tpl.php +++ b/Theme/Backend/stock-list.tpl.php @@ -32,7 +32,7 @@ echo $this->getData('nav')->render(); ?> $value) : ++$count; - $url = UriFactory::build('warehouse/stock?{?}&id=' . $value->getId()); + $url = UriFactory::build('{/lang}/{/app}/warehouse/stock?{?}&id=' . $value->getId()); ?> getId(); ?> diff --git a/Theme/Backend/stock-location-list.tpl.php b/Theme/Backend/stock-location-list.tpl.php index bb7784b..4e34778 100755 --- a/Theme/Backend/stock-location-list.tpl.php +++ b/Theme/Backend/stock-location-list.tpl.php @@ -32,7 +32,7 @@ echo $this->getData('nav')->render(); ?> $value) : ++$count; - $url = UriFactory::build('warehouse/stock/location?{?}&id=' . $value->getId()); + $url = UriFactory::build('{/lang}/{/app}/warehouse/stock/location?{?}&id=' . $value->getId()); ?> getId(); ?> diff --git a/info.json b/info.json index 7bf2655..77f2627 100755 --- a/info.json +++ b/info.json @@ -12,7 +12,7 @@ }, "creator": { "name": "Karaka", - "website": "www.spl1nes.com" + "website": "jingga.app" }, "description": "Warehousing module.", "directory": "WarehouseManagement",