mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-02-03 02:08:40 +00:00
Make app,localization in url optional+tld+subdomain
This commit is contained in:
parent
6d8fcb2f41
commit
0a169fffc5
|
|
@ -1,11 +1,11 @@
|
|||
[
|
||||
{
|
||||
"id": 1005104001,
|
||||
"pid": "/backend",
|
||||
"pid": "/",
|
||||
"type": 2,
|
||||
"subtype": 1,
|
||||
"name": "Billing",
|
||||
"uri": "{/lang}/backend/sales/invoice/list?{?}",
|
||||
"uri": "{/prefix}sales/invoice/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 5,
|
||||
|
|
@ -15,11 +15,11 @@
|
|||
"children": [
|
||||
{
|
||||
"id": 1005104101,
|
||||
"pid": "/backend/sales/invoice",
|
||||
"pid": "/sales/invoice",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "List",
|
||||
"uri": "{/lang}/backend/sales/invoice/list?{?}",
|
||||
"uri": "{/prefix}sales/invoice/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -30,11 +30,11 @@
|
|||
},
|
||||
{
|
||||
"id": 1005104301,
|
||||
"pid": "/backend/sales/invoice",
|
||||
"pid": "/sales/invoice",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Create",
|
||||
"uri": "{/lang}/backend/sales/invoice/create?{?}",
|
||||
"uri": "{/prefix}sales/invoice/create?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 5,
|
||||
|
|
@ -47,11 +47,11 @@
|
|||
},
|
||||
{
|
||||
"id": 1005105001,
|
||||
"pid": "/backend",
|
||||
"pid": "/",
|
||||
"type": 2,
|
||||
"subtype": 1,
|
||||
"name": "Invoice",
|
||||
"uri": "{/lang}/backend/purchase/invoice/list?{?}",
|
||||
"uri": "{/prefix}purchase/invoice/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 5,
|
||||
|
|
@ -61,11 +61,11 @@
|
|||
"children": [
|
||||
{
|
||||
"id": 1005105101,
|
||||
"pid": "/backend/purchase/invoice",
|
||||
"pid": "/purchase/invoice",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "List",
|
||||
"uri": "{/lang}/backend/purchase/invoice/list?{?}",
|
||||
"uri": "{/prefix}purchase/invoice/list?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 1,
|
||||
|
|
@ -76,11 +76,11 @@
|
|||
},
|
||||
{
|
||||
"id": 1005105301,
|
||||
"pid": "/backend/purchase/invoice",
|
||||
"pid": "/purchase/invoice",
|
||||
"type": 3,
|
||||
"subtype": 1,
|
||||
"name": "Create",
|
||||
"uri": "{/lang}/backend/purchase/invoice/create?{?}",
|
||||
"uri": "{/prefix}purchase/invoice/create?{?}",
|
||||
"target": "self",
|
||||
"icon": null,
|
||||
"order": 5,
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ use phpOMS\Account\PermissionType;
|
|||
use phpOMS\Router\RouteVerb;
|
||||
|
||||
return [
|
||||
'^.*/backend/sales/invoice/create.*$' => [
|
||||
'^.*/sales/invoice/create.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Billing\Controller\BackendController:viewBillingInvoiceCreate',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
@ -17,7 +17,7 @@ return [
|
|||
],
|
||||
],
|
||||
],
|
||||
'^.*/backend/sales/invoice/list.*$' => [
|
||||
'^.*/sales/invoice/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Billing\Controller\BackendController:viewBillingInvoiceList',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
@ -28,7 +28,7 @@ return [
|
|||
],
|
||||
],
|
||||
],
|
||||
'^.*/backend/purchase/invoice/create.*$' => [
|
||||
'^.*/purchase/invoice/create.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Billing\Controller\BackendController:viewBillingPurchaseInvoiceCreate',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
@ -39,7 +39,7 @@ return [
|
|||
],
|
||||
],
|
||||
],
|
||||
'^.*/backend/purchase/invoice/list.*$' => [
|
||||
'^.*/purchase/invoice/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Billing\Controller\BackendController:viewBillingPurchaInvoiceList',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user