mirror of
https://github.com/Karaka-Management/oms-Accounting.git
synced 2026-02-13 02:58:41 +00:00
Split
This commit is contained in:
parent
4691e6bb58
commit
d459ef36e2
|
|
@ -59,98 +59,6 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": 1002603001,
|
|
||||||
"pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd",
|
|
||||||
"type": 2,
|
|
||||||
"subtype": 1,
|
|
||||||
"name": "CostCenters",
|
|
||||||
"uri": "/{/lang}/backend/accounting/costcenter/list",
|
|
||||||
"target": "self",
|
|
||||||
"icon": null,
|
|
||||||
"order": 5,
|
|
||||||
"from": 1002600000,
|
|
||||||
"permission": null,
|
|
||||||
"parent": 1002601001,
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"id": 1002603101,
|
|
||||||
"pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd",
|
|
||||||
"type": 3,
|
|
||||||
"subtype": 1,
|
|
||||||
"name": "List",
|
|
||||||
"uri": "/{/lang}/backend/accounting/costcenter/list",
|
|
||||||
"target": "self",
|
|
||||||
"icon": null,
|
|
||||||
"order": 5,
|
|
||||||
"from": 1002600000,
|
|
||||||
"permission": null,
|
|
||||||
"parent": 1002603001,
|
|
||||||
"children": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 1002603201,
|
|
||||||
"pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd",
|
|
||||||
"type": 3,
|
|
||||||
"subtype": 1,
|
|
||||||
"name": "Create",
|
|
||||||
"uri": "/{/lang}/backend/accounting/costcenter/create",
|
|
||||||
"target": "self",
|
|
||||||
"icon": null,
|
|
||||||
"order": 10,
|
|
||||||
"from": 1002600000,
|
|
||||||
"permission": null,
|
|
||||||
"parent": 1002603001,
|
|
||||||
"children": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 1002604001,
|
|
||||||
"pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd",
|
|
||||||
"type": 2,
|
|
||||||
"subtype": 1,
|
|
||||||
"name": "CostObjects",
|
|
||||||
"uri": "/{/lang}/backend/accounting/costobject/list",
|
|
||||||
"target": "self",
|
|
||||||
"icon": null,
|
|
||||||
"order": 5,
|
|
||||||
"from": 1002600000,
|
|
||||||
"permission": null,
|
|
||||||
"parent": 1002601001,
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"id": 1002604101,
|
|
||||||
"pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd",
|
|
||||||
"type": 3,
|
|
||||||
"subtype": 1,
|
|
||||||
"name": "List",
|
|
||||||
"uri": "/{/lang}/backend/accounting/costobject/list",
|
|
||||||
"target": "self",
|
|
||||||
"icon": null,
|
|
||||||
"order": 5,
|
|
||||||
"from": 1002600000,
|
|
||||||
"permission": null,
|
|
||||||
"parent": 1002604001,
|
|
||||||
"children": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 1002604201,
|
|
||||||
"pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd",
|
|
||||||
"type": 3,
|
|
||||||
"subtype": 1,
|
|
||||||
"name": "Create",
|
|
||||||
"uri": "/{/lang}/backend/accounting/costobject/create",
|
|
||||||
"target": "self",
|
|
||||||
"icon": null,
|
|
||||||
"order": 10,
|
|
||||||
"from": 1002600000,
|
|
||||||
"permission": null,
|
|
||||||
"parent": 1002604001,
|
|
||||||
"children": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": 1002605001,
|
"id": 1002605001,
|
||||||
"pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd",
|
"pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd",
|
||||||
|
|
|
||||||
122
Controller.php
122
Controller.php
|
|
@ -80,14 +80,6 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
'^.*/backend/accounting/gl/create.*$' => [['dest' => '\Modules\Accounting\Controller:viewGLCreate', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
'^.*/backend/accounting/gl/create.*$' => [['dest' => '\Modules\Accounting\Controller:viewGLCreate', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
||||||
'^.*/backend/accounting/gl/profile.*$' => [['dest' => '\Modules\Accounting\Controller:viewGLProfile', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
'^.*/backend/accounting/gl/profile.*$' => [['dest' => '\Modules\Accounting\Controller:viewGLProfile', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
||||||
|
|
||||||
'^.*/backend/accounting/costobject/list.*$' => [['dest' => '\Modules\Accounting\Controller:viewCostObjectList', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
|
||||||
'^.*/backend/accounting/costobject/create.*$' => [['dest' => '\Modules\Accounting\Controller:viewCostObjectCreate', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
|
||||||
'^.*/backend/accounting/costobject/profile.*$' => [['dest' => '\Modules\Accounting\Controller:viewCostObjectProfile', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
|
||||||
|
|
||||||
'^.*/backend/accounting/costcenter/list.*$' => [['dest' => '\Modules\Accounting\Controller:viewCostCenterList', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
|
||||||
'^.*/backend/accounting/costcenter/create.*$' => [['dest' => '\Modules\Accounting\Controller:viewCostCenterCreate', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
|
||||||
'^.*/backend/accounting/costcenter/profile.*$' => [['dest' => '\Modules\Accounting\Controller:viewCostCenterProfile', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
|
||||||
|
|
||||||
'^.*/api/accounting/dun/print.*$' => [['dest' => '\Modules\Accounting\Controller:viewCostCenterProfile', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
'^.*/api/accounting/dun/print.*$' => [['dest' => '\Modules\Accounting\Controller:viewCostCenterProfile', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
||||||
'^.*/api/accounting/statement/print.*$' => [['dest' => '\Modules\Accounting\Controller:viewCostCenterProfile', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
'^.*/api/accounting/statement/print.*$' => [['dest' => '\Modules\Accounting\Controller:viewCostCenterProfile', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
||||||
'^.*/api/accounting/balances/print.*$' => [['dest' => '\Modules\Accounting\Controller:viewCostCenterProfile', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
'^.*/api/accounting/balances/print.*$' => [['dest' => '\Modules\Accounting\Controller:viewCostCenterProfile', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
||||||
|
|
@ -285,120 +277,6 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
return $view;
|
return $view;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param RequestAbstract $request Request
|
|
||||||
* @param ResponseAbstract $response Response
|
|
||||||
* @param mixed $data Generic data
|
|
||||||
*
|
|
||||||
* @return RenderableInterface
|
|
||||||
*
|
|
||||||
* @since 1.0.0
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
*/
|
|
||||||
public function viewCostObjectList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
|
||||||
{
|
|
||||||
$view = new View($this->app, $request, $response);
|
|
||||||
$view->setTemplate('/Modules/Accounting/Theme/backend/costobject-list');
|
|
||||||
$view->addData('nav', $this->createNavigation(1002604001, $request, $response));
|
|
||||||
|
|
||||||
return $view;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param RequestAbstract $request Request
|
|
||||||
* @param ResponseAbstract $response Response
|
|
||||||
* @param mixed $data Generic data
|
|
||||||
*
|
|
||||||
* @return RenderableInterface
|
|
||||||
*
|
|
||||||
* @since 1.0.0
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
*/
|
|
||||||
public function viewCostObjectCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
|
||||||
{
|
|
||||||
$view = new View($this->app, $request, $response);
|
|
||||||
$view->setTemplate('/Modules/Accounting/Theme/backend/costobject-create');
|
|
||||||
$view->addData('nav', $this->createNavigation(1002604001, $request, $response));
|
|
||||||
|
|
||||||
return $view;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param RequestAbstract $request Request
|
|
||||||
* @param ResponseAbstract $response Response
|
|
||||||
* @param mixed $data Generic data
|
|
||||||
*
|
|
||||||
* @return RenderableInterface
|
|
||||||
*
|
|
||||||
* @since 1.0.0
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
*/
|
|
||||||
public function viewCostObjectProfile(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
|
||||||
{
|
|
||||||
$view = new View($this->app, $request, $response);
|
|
||||||
$view->setTemplate('/Modules/Accounting/Theme/backend/costobject-profile');
|
|
||||||
$view->addData('nav', $this->createNavigation(1002604001, $request, $response));
|
|
||||||
|
|
||||||
return $view;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param RequestAbstract $request Request
|
|
||||||
* @param ResponseAbstract $response Response
|
|
||||||
* @param mixed $data Generic data
|
|
||||||
*
|
|
||||||
* @return RenderableInterface
|
|
||||||
*
|
|
||||||
* @since 1.0.0
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
*/
|
|
||||||
public function viewCostCenterList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
|
||||||
{
|
|
||||||
$view = new View($this->app, $request, $response);
|
|
||||||
$view->setTemplate('/Modules/Accounting/Theme/backend/costcenter-list');
|
|
||||||
$view->addData('nav', $this->createNavigation(1002603001, $request, $response));
|
|
||||||
|
|
||||||
return $view;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param RequestAbstract $request Request
|
|
||||||
* @param ResponseAbstract $response Response
|
|
||||||
* @param mixed $data Generic data
|
|
||||||
*
|
|
||||||
* @return RenderableInterface
|
|
||||||
*
|
|
||||||
* @since 1.0.0
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
*/
|
|
||||||
public function viewCostCenterCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
|
||||||
{
|
|
||||||
$view = new View($this->app, $request, $response);
|
|
||||||
$view->setTemplate('/Modules/Accounting/Theme/backend/costcenter-create');
|
|
||||||
$view->addData('nav', $this->createNavigation(1002603001, $request, $response));
|
|
||||||
|
|
||||||
return $view;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param RequestAbstract $request Request
|
|
||||||
* @param ResponseAbstract $response Response
|
|
||||||
* @param mixed $data Generic data
|
|
||||||
*
|
|
||||||
* @return RenderableInterface
|
|
||||||
*
|
|
||||||
* @since 1.0.0
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
*/
|
|
||||||
public function viewCostCenterProfile(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
|
||||||
{
|
|
||||||
$view = new View($this->app, $request, $response);
|
|
||||||
$view->setTemplate('/Modules/Accounting/Theme/backend/costcenter-profile');
|
|
||||||
$view->addData('nav', $this->createNavigation(1002603001, $request, $response));
|
|
||||||
|
|
||||||
return $view;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int $pageId Page/parent Id for navigation
|
* @param int $pageId Page/parent Id for navigation
|
||||||
* @param RequestAbstract $request Request
|
* @param RequestAbstract $request Request
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user