mirror of
https://github.com/Karaka-Management/oms-SalesAnalysis.git
synced 2026-01-11 11:28:41 +00:00
Make app,localization in url optional+tld+subdomain
This commit is contained in:
parent
a94b51fb63
commit
e14e2ef80d
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user