mirror of
https://github.com/Karaka-Management/oms-Accounting.git
synced 2026-02-10 09:48:42 +00:00
Routes files
This commit is contained in:
parent
236703389e
commit
42ee69d4d6
|
|
@ -1,3 +1,3 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$consoleRoutes = [];
|
$moduleRoutes = [];
|
||||||
|
|
@ -1,132 +1,100 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$httpRoutes = [
|
return [
|
||||||
'^.*/backend/accounting/personal/entries.*$' => [
|
'^.*/backend/accounting/personal/entries.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller:viewPersonalEntries',
|
'dest' => '\Modules\Accounting\Controller:viewPersonalEntries',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/accounting/impersonal/entries.*$' => [
|
'^.*/backend/accounting/impersonal/entries.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller:viewImpersonalEntries',
|
'dest' => '\Modules\Accounting\Controller:viewImpersonalEntries',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/accounting/entries.*$' => [
|
'^.*/backend/accounting/entries.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller:viewEntries',
|
'dest' => '\Modules\Accounting\Controller:viewEntries',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/accounting/impersonal/journal/list.*$' => [
|
'^.*/backend/accounting/impersonal/journal/list.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller:viewJournalList',
|
'dest' => '\Modules\Accounting\Controller:viewJournalList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/accounting/stack/list.*$' => [
|
'^.*/backend/accounting/stack/list.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller:viewStackList',
|
'dest' => '\Modules\Accounting\Controller:viewStackList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/accounting/stack/entries.*$' => [
|
'^.*/backend/accounting/stack/entries.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller:viewStackEntries',
|
'dest' => '\Modules\Accounting\Controller:viewStackEntries',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/accounting/stack/archive/list.*$' => [
|
'^.*/backend/accounting/stack/archive/list.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller:viewStackArchiveList',
|
'dest' => '\Modules\Accounting\Controller:viewStackArchiveList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/accounting/stack/create.*$' => [
|
'^.*/backend/accounting/stack/create.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller:viewStackCreate',
|
'dest' => '\Modules\Accounting\Controller:viewStackCreate',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/accounting/stack/predefined/list.*$' => [
|
'^.*/backend/accounting/stack/predefined/list.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller:viewStackPredefinedList',
|
'dest' => '\Modules\Accounting\Controller:viewStackPredefinedList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/accounting/gl/list.*$' => [
|
'^.*/backend/accounting/gl/list.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller:viewGLList',
|
'dest' => '\Modules\Accounting\Controller:viewGLList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/accounting/gl/create.*$' => [
|
'^.*/backend/accounting/gl/create.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller:viewGLCreate',
|
'dest' => '\Modules\Accounting\Controller:viewGLCreate',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/accounting/gl/profile.*$' => [
|
'^.*/backend/accounting/gl/profile.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller:viewGLProfile',
|
'dest' => '\Modules\Accounting\Controller:viewGLProfile',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/api/accounting/dun/print.*$' => [
|
'^.*/api/accounting/dun/print.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller:viewCostCenterProfile',
|
'dest' => '\Modules\Accounting\Controller:viewCostCenterProfile',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/api/accounting/statement/print.*$' => [
|
'^.*/api/accounting/statement/print.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller:viewCostCenterProfile',
|
'dest' => '\Modules\Accounting\Controller:viewCostCenterProfile',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/api/accounting/balances/print.*$' => [
|
'^.*/api/accounting/balances/print.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller:viewCostCenterProfile',
|
'dest' => '\Modules\Accounting\Controller:viewCostCenterProfile',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/api/accounting/accountform/print.*$' => [
|
'^.*/api/accounting/accountform/print.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Accounting\Controller:viewCostCenterProfile',
|
'dest' => '\Modules\Accounting\Controller:viewCostCenterProfile',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$socketRoutes = [];
|
$moduleRoutes = [];
|
||||||
Loading…
Reference in New Issue
Block a user