Templating

This commit is contained in:
Dennis Eichhorn 2016-01-09 19:46:27 +01:00
parent 3e2ad6400a
commit f6027097f5
2 changed files with 6 additions and 6 deletions

View File

@ -77,7 +77,7 @@
"children": [ "children": [
{ {
"id": 1005105101, "id": 1005105101,
"pid": "722ef87be24d036db431dd65c0418e5502a6eb89", "pid": "475124021da7877ef311983bb9eb769b1bd94f22",
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "List", "name": "List",
@ -91,7 +91,7 @@
"children": [ "children": [
{ {
"id": 1005105201, "id": 1005105201,
"pid": "420c091bd6d9f5cd16b1d62569189feb707d6652", "pid": "475124021da7877ef311983bb9eb769b1bd94f22",
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Invoice", "name": "Invoice",
@ -101,14 +101,14 @@
"order": 1, "order": 1,
"from": "Billing", "from": "Billing",
"permission": null, "permission": null,
"parent": 1005104101, "parent": 1005105101,
"children": [] "children": []
} }
] ]
}, },
{ {
"id": 1005105301, "id": 1005105301,
"pid": "722ef87be24d036db431dd65c0418e5502a6eb89", "pid": "475124021da7877ef311983bb9eb769b1bd94f22",
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Create", "name": "Create",
@ -118,7 +118,7 @@
"order": 5, "order": 5,
"from": "Billing", "from": "Billing",
"permission": null, "permission": null,
"parent": 1005104001, "parent": 1005105001,
"children": [] "children": []
} }
] ]

View File

@ -156,7 +156,7 @@ class Controller extends ModuleAbstract implements WebInterface
{ {
$view = new View($this->app, $request, $response); $view = new View($this->app, $request, $response);
$view->setTemplate('/Modules/Billing/Theme/Backend/purchase-invoice-list'); $view->setTemplate('/Modules/Billing/Theme/Backend/purchase-invoice-list');
$view->addData('nav', $this->createNavigation(1005104001, $request, $response)); $view->addData('nav', $this->createNavigation(1005105001, $request, $response));
return $view; return $view;
} }