diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 29115a5..66d3f22 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -1,11 +1,11 @@ [ { "id": 1005401001, - "pid": "/backend", + "pid": "/", "type": 2, "subtype": 1, "name": "Analysis", - "uri": "{/lang}/backend/sales/analysis/overview/dashboard?{?}", + "uri": "{/prefix}sales/analysis/overview/dashboard?{?}", "target": "self", "icon": null, "order": 15, @@ -19,7 +19,7 @@ "type": 3, "subtype": 1, "name": "Overview", - "uri": "{/lang}/backend/sales/analysis/overview/dashboard?{?}", + "uri": "{/prefix}sales/analysis/overview/dashboard?{?}", "target": "self", "icon": "fa fa-bar-chart", "order": 1, @@ -34,7 +34,7 @@ "type": 3, "subtype": 1, "name": "Products", - "uri": "{/lang}/backend/sales/analysis/product/dashboard?{?}", + "uri": "{/prefix}sales/analysis/product/dashboard?{?}", "target": "self", "icon": "fa fa-tag", "order": 1, @@ -49,7 +49,7 @@ "type": 3, "subtype": 1, "name": "Customers", - "uri": "{/lang}/backend/sales/analysis/customer/dashboard?{?}", + "uri": "{/prefix}sales/analysis/customer/dashboard?{?}", "target": "self", "icon": "fa fa-users", "order": 1, @@ -64,7 +64,7 @@ "type": 3, "subtype": 1, "name": "Regions", - "uri": "{/lang}/backend/sales/analysis/region/dashboard?{?}", + "uri": "{/prefix}sales/analysis/region/dashboard?{?}", "target": "self", "icon": "fa fa-globe", "order": 1, @@ -79,7 +79,7 @@ "type": 3, "subtype": 1, "name": "Marketing", - "uri": "{/lang}/backend/sales/analysis/marketing/dashboard?{?}", + "uri": "{/prefix}sales/analysis/marketing/dashboard?{?}", "target": "self", "icon": "fa fa-paint-brush", "order": 1, @@ -94,7 +94,7 @@ "type": 3, "subtype": 1, "name": "Employees", - "uri": "{/lang}/backend/sales/analysis/employees/dashboard?{?}", + "uri": "{/prefix}sales/analysis/employees/dashboard?{?}", "target": "self", "icon": "fa fa-building-o", "order": 1, @@ -109,7 +109,7 @@ "type": 3, "subtype": 1, "name": "Invoices", - "uri": "{/lang}/backend/sales/analysis/invoices/dashboard?{?}", + "uri": "{/prefix}sales/analysis/invoices/dashboard?{?}", "target": "self", "icon": "fa fa-envelope", "order": 1, @@ -124,7 +124,7 @@ "type": 3, "subtype": 1, "name": "Database", - "uri": "{/lang}/backend/sales/analysis/invoices/dashboard?{?}", + "uri": "{/prefix}sales/analysis/invoices/dashboard?{?}", "target": "self", "icon": "fa fa-database", "order": 1, diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php index c487fc6..2c1eebd 100644 --- a/Admin/Routes/Web/Backend.php +++ b/Admin/Routes/Web/Backend.php @@ -6,7 +6,7 @@ use phpOMS\Account\PermissionType; use phpOMS\Router\RouteVerb; return [ - '^.*/backend/sales/analysis/dashboard.*$' => [ + '^.*/sales/analysis/dashboard.*$' => [ [ 'dest' => '\Modules\SalesAnalysis\Controller\BackendController:viewBackendDashboard', 'verb' => RouteVerb::GET, @@ -18,7 +18,7 @@ return [ ], ], - '^.*/backend/sales/analysis/overview/dashboard.*$' => [ + '^.*/sales/analysis/overview/dashboard.*$' => [ [ 'dest' => '\Modules\SalesAnalysis\Controller\BackendController:viewBackendOverviewDashboard', 'verb' => RouteVerb::GET, diff --git a/info.json b/info.json index 73a05e6..8fb3c22 100644 --- a/info.json +++ b/info.json @@ -25,7 +25,7 @@ "load": [ { "pid": [ - "/backend/sales/analysis" + "/sales/analysis" ], "type": 4, "for": 0, @@ -34,7 +34,7 @@ }, { "pid": [ - "/backend" + "/" ], "type": 5, "from": "SalesAnalysis",