diff --git a/Controller.php b/Controller.php index 4e4d9ef..6f4cb90 100644 --- a/Controller.php +++ b/Controller.php @@ -216,7 +216,7 @@ class Controller extends ModuleAbstract implements WebInterface $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1004703001, $request, $response)); $departmentMapper = new DepartmentMapper($this->app->dbPool->get()); - $view->addData('unit', $departmentMapper->get((int) $request->getData('id'))); + $view->addData('department', $departmentMapper->get((int) $request->getData('id'))); return $view; } diff --git a/Theme/Backend/department-profile.php b/Theme/Backend/department-profile.php index e69de29..dd5dc78 100644 --- a/Theme/Backend/department-profile.php +++ b/Theme/Backend/department-profile.php @@ -0,0 +1,44 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +/** + * @var \phpOMS\Views\View $this + */ + +$department = $this->getData('department'); + +echo $this->getData('nav')->render(); ?> + +
+

l11n->lang['Organization']['Position']; ?>

+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+