mirror of
https://github.com/Karaka-Management/oms-Accounting.git
synced 2026-02-16 12:28:41 +00:00
remove dynamic start for routes
This commit is contained in:
parent
443b88dce6
commit
7501418738
|
|
@ -18,7 +18,7 @@ use phpOMS\Account\PermissionType;
|
||||||
use phpOMS\Router\RouteVerb;
|
use phpOMS\Router\RouteVerb;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'^.*/accounting/entries(\?.*$|$)' => [
|
'^/accounting/entries(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewEntries',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewEntries',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -29,7 +29,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/stack/list(\?.*$|$)' => [
|
'^/accounting/stack/list(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewStackList',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewStackList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -40,7 +40,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/stack/entries(\?.*$|$)' => [
|
'^/accounting/stack/entries(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewStackEntries',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewStackEntries',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -51,7 +51,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/stack/archive/list(\?.*$|$)' => [
|
'^/accounting/stack/archive/list(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewStackArchiveList',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewStackArchiveList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -62,7 +62,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/stack/create(\?.*$|$)' => [
|
'^/accounting/stack/create(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewStackCreate',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewStackCreate',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -73,7 +73,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/stack/predefined/list(\?.*$|$)' => [
|
'^/accounting/stack/predefined/list(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewStackPredefinedList',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewStackPredefinedList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -84,7 +84,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/coa/view(\?.*$|$)' => [
|
'^/accounting/coa/view(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewAccountView',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewAccountView',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -95,7 +95,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/coa/list(\?.*$|$)' => [
|
'^/accounting/coa/list(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewCOAList',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewCOAList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -106,7 +106,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/coa/create(\?.*$|$)' => [
|
'^/accounting/coa/create(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewCOACreate',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewCOACreate',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -117,7 +117,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/dun/print(\?.*$|$)' => [
|
'^/accounting/dun/print(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterView',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterView',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -128,7 +128,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/statement/print(\?.*$|$)' => [
|
'^/accounting/statement/print(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterView',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterView',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -139,7 +139,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/balances/print(\?.*$|$)' => [
|
'^/accounting/balances/print(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterView',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterView',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -150,7 +150,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/accountform/print(\?.*$|$)' => [
|
'^/accounting/accountform/print(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterView',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterView',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -162,7 +162,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
'^.*/accounting/costcenter/list(\?.*$|$)' => [
|
'^/accounting/costcenter/list(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterList',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -173,7 +173,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/costobject/list(\?.*$|$)' => [
|
'^/accounting/costobject/list(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostObjectList',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostObjectList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -184,7 +184,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/costcenter/view(\?.*$|$)' => [
|
'^/accounting/costcenter/view(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterView',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterView',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -195,7 +195,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/costcenter/create(\?.*$|$)' => [
|
'^/accounting/costcenter/create(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterCreate',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterCreate',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -206,7 +206,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/costobject/view(\?.*$|$)' => [
|
'^/accounting/costobject/view(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostObjectView',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostObjectView',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -217,7 +217,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/costobject/create(\?.*$|$)' => [
|
'^/accounting/costobject/create(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostObjectCreate',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewCostObjectCreate',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -229,7 +229,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
'^.*/accounting/supplier/list(\?.*$|$)' => [
|
'^/accounting/supplier/list(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewSupplierList',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewSupplierList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -240,7 +240,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/client/list(\?.*$|$)' => [
|
'^/accounting/client/list(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewClientList',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewClientList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -251,7 +251,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/supplier/view(\?.*$|$)' => [
|
'^/accounting/supplier/view(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewSupplierView',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewSupplierView',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -262,7 +262,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/client/view(\?.*$|$)' => [
|
'^/accounting/client/view(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewClientView',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewClientView',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -273,7 +273,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/supplier/entries(\?.*$|$)' => [
|
'^/accounting/supplier/entries(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewSupplierView',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewSupplierView',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -284,7 +284,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/accounting/client/entries(\?.*$|$)' => [
|
'^/accounting/client/entries(\?.*$|$)' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller\BackendController:viewClientView',
|
'dest' => '\Modules\Accounting\Controller\BackendController:viewClientView',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user