From c90dd11c1fbb0e90a68c4a3481c0ccea3842d715 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 26 Mar 2016 18:59:38 +0100 Subject: [PATCH] Case fix! --- Theme/Backend/Lang/Navigation.en.lang.php | 27 ++++ Theme/Backend/Lang/en.lang.php | 27 ++++ Theme/Backend/department-create.tpl.php | 0 Theme/Backend/department-list.tpl.php | 54 ++++++++ Theme/Backend/department-single.tpl.php | 0 Theme/Backend/planning-dashboard.tpl.php | 98 +++++++++++++ Theme/Backend/position-create.tpl.php | 0 Theme/Backend/position-list.tpl.php | 0 Theme/Backend/position-single.tpl.php | 0 Theme/Backend/staff-create.tpl.php | 21 +++ Theme/Backend/staff-list.tpl.php | 56 ++++++++ Theme/Backend/staff-single.tpl.php | 159 ++++++++++++++++++++++ 12 files changed, 442 insertions(+) create mode 100644 Theme/Backend/Lang/Navigation.en.lang.php create mode 100644 Theme/Backend/Lang/en.lang.php create mode 100644 Theme/Backend/department-create.tpl.php create mode 100644 Theme/Backend/department-list.tpl.php create mode 100644 Theme/Backend/department-single.tpl.php create mode 100644 Theme/Backend/planning-dashboard.tpl.php create mode 100644 Theme/Backend/position-create.tpl.php create mode 100644 Theme/Backend/position-list.tpl.php create mode 100644 Theme/Backend/position-single.tpl.php create mode 100644 Theme/Backend/staff-create.tpl.php create mode 100644 Theme/Backend/staff-list.tpl.php create mode 100644 Theme/Backend/staff-single.tpl.php diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php new file mode 100644 index 0000000..572764c --- /dev/null +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -0,0 +1,27 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG['Navigation'] = [ + 'Departments' => 'Departments', + 'Employees' => 'Employees', + 'HumanResources' => 'Human Resources', + 'HumanResourceManagement' => 'Human Resources', + 'List' => 'List', + 'Planning' => 'Planning', + 'Positions' => 'Positions', + 'Shifts' => 'Shifts', + 'Staff' => 'Staff', + 'Structure' => 'Structure', +]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php new file mode 100644 index 0000000..6c5918f --- /dev/null +++ b/Theme/Backend/Lang/en.lang.php @@ -0,0 +1,27 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG['HumanResourceManagement'] = [ + 'Department' => 'Department', + 'Departments' => 'Departments', + 'Employees' => 'Employees', + 'Name' => 'Name', + 'Parent' => 'Parent', + 'Personnel' => 'Personnel', + 'Shifts' => 'Shifts', + 'Staff' => 'Staff', + 'Status' => 'Status', + 'Vacation' => 'Vacation', +]; diff --git a/Theme/Backend/department-create.tpl.php b/Theme/Backend/department-create.tpl.php new file mode 100644 index 0000000..e69de29 diff --git a/Theme/Backend/department-list.tpl.php b/Theme/Backend/department-list.tpl.php new file mode 100644 index 0000000..cac3101 --- /dev/null +++ b/Theme/Backend/department-list.tpl.php @@ -0,0 +1,54 @@ + + * @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 + */ + +$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); +$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); + +$footerView->setPages(1 / 25); +$footerView->setPage(1); +$footerView->setResults(1); + +echo $this->getData('nav')->render(); ?> + +
+ + + + + + + $value) : $c++; + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?> + +
l11n->lang['HumanResourceManagement']['Departments']; ?>
l11n->lang[0]['ID']; ?> + l11n->lang['HumanResourceManagement']['Name']; ?> + l11n->lang['HumanResourceManagement']['Employees']; ?> + l11n->lang['HumanResourceManagement']['Parent']; ?> +
render(); ?> +
getId(); ?> + getName(); ?> + + + + + +
l11n->lang[0]['Empty']; ?> + +
+
diff --git a/Theme/Backend/department-single.tpl.php b/Theme/Backend/department-single.tpl.php new file mode 100644 index 0000000..e69de29 diff --git a/Theme/Backend/planning-dashboard.tpl.php b/Theme/Backend/planning-dashboard.tpl.php new file mode 100644 index 0000000..ae63f7e --- /dev/null +++ b/Theme/Backend/planning-dashboard.tpl.php @@ -0,0 +1,98 @@ +
+

app->accountManager->get($request->getAccount())->getL11n()->lang['HumanResourceManagement']['Vacation'] ?>

+ +
+
+ +
+ + + + + + + +
+ asldkf +
+ asldkf +
+ asldkf +
+ asldkf +
+ asldkf +
+ + +
+
+ +
+

app->accountManager->get($request->getAccount())->getL11n()->lang['HumanResourceManagement']['Shifts'] ?>

+ +
+
+ +
+ + + + + + + +
+ asldkf +
+ asldkf +
+ asldkf +
+ asldkf +
+ asldkf +
+ + +
+
+ +
+

app->accountManager->get($request->getAccount())->getL11n()->lang['HumanResourceManagement']['Personnel'] ?>

+ +
+
+ +
+ + + + + + + +
+ asldkf +
+ asldkf +
+ asldkf +
+ asldkf +
+ asldkf +
+ + +
+
diff --git a/Theme/Backend/position-create.tpl.php b/Theme/Backend/position-create.tpl.php new file mode 100644 index 0000000..e69de29 diff --git a/Theme/Backend/position-list.tpl.php b/Theme/Backend/position-list.tpl.php new file mode 100644 index 0000000..e69de29 diff --git a/Theme/Backend/position-single.tpl.php b/Theme/Backend/position-single.tpl.php new file mode 100644 index 0000000..e69de29 diff --git a/Theme/Backend/staff-create.tpl.php b/Theme/Backend/staff-create.tpl.php new file mode 100644 index 0000000..3b9344c --- /dev/null +++ b/Theme/Backend/staff-create.tpl.php @@ -0,0 +1,21 @@ + + * @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 + */ + +echo $this->getData('nav')->render(); ?> + diff --git a/Theme/Backend/staff-list.tpl.php b/Theme/Backend/staff-list.tpl.php new file mode 100644 index 0000000..77049c0 --- /dev/null +++ b/Theme/Backend/staff-list.tpl.php @@ -0,0 +1,56 @@ + + * @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 + */ + +$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); +$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); + +$footerView->setPages(1 / 25); +$footerView->setPage(1); +$footerView->setResults(1); + +$employees = $this->getData('employees'); + +echo $this->getData('nav')->render(); ?> + +
+ + + + + + + $value) : $c++; + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?> + +
l11n->lang['HumanResourceManagement']['Staff']; ?>
l11n->lang[0]['ID']; ?> + l11n->lang['HumanResourceManagement']['Name']; ?> + l11n->lang['HumanResourceManagement']['Position']; ?> + l11n->lang['HumanResourceManagement']['Department']; ?> + l11n->lang['HumanResourceManagement']['Status']; ?> +
render(); ?> +
getId(); ?> + getNewestHistory()->getPosition(); ?> + getNewestHistory()->getPosition(); ?> + getNewestStatus()->getStatus(); ?> + + +
l11n->lang[0]['Empty']; ?> + +
+
diff --git a/Theme/Backend/staff-single.tpl.php b/Theme/Backend/staff-single.tpl.php new file mode 100644 index 0000000..a99f118 --- /dev/null +++ b/Theme/Backend/staff-single.tpl.php @@ -0,0 +1,159 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +echo $this->getData('nav')->render(); ?> + +
+

l11n->lang['HumanResourceManagement']['Employee']; ?>

+
+ + + + + + + + + + + + + + + +
l11n->lang['HumanResourceManagement']['Name']; ?> + getName3(); ?>, getName1(); ?> +
l11n->lang['HumanResourceManagement']['Position']; ?> + Sailor +
l11n->lang['HumanResourceManagement']['Department']; ?> + Sailor +
l11n->lang['HumanResourceManagement']['Birthday']; ?> + 06.09.1934 +
l11n->lang['HumanResourceManagement']['Email']; ?> + getEmail(); ?> +
Address + +
Private + SMALLSYS INC
795 E DRAGRAM
TUCSON AZ 85705
USA +
Work + SMALLSYS INC
795 E DRAGRAM
TUCSON AZ 85705
USA +
l11n->lang['HumanResourceManagement']['Phone']; ?> + +
Private + +01 12345-4567 +
Mobile + +01 12345-4567 +
Work + +01 12345-4567 +
l11n->lang['HumanResourceManagement']['Status']; ?> + getStatus(); ?> +
+ +
+
+ + +

l11n->lang['HumanResourceManagement']['Overview']; ?>

+
+ + + + + + + +
l11n->lang['HumanResourceManagement']['Start']; ?> + getName3(); ?> +
l11n->lang['HumanResourceManagement']['End']; ?> + getName3(); ?> +
l11n->lang['HumanResourceManagement']['Hours']; ?> + getName3(); ?> +
l11n->lang['HumanResourceManagement']['Vacation']; ?> + getName3(); ?> +
l11n->lang['HumanResourceManagement']['Salary']; ?> + getName3(); ?> +
+ +
+ + +
+ + + + + + + $value) : $c++; + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?> + +
l11n->lang['HumanResourceManagement']['Working']; ?>
l11n->lang['HumanResourceManagement']['Start']; ?> + l11n->lang['HumanResourceManagement']['End']; ?> + l11n->lang['HumanResourceManagement']['Position']; ?> + l11n->lang['HumanResourceManagement']['Department']; ?> + l11n->lang['HumanResourceManagement']['Salary']; ?> +
render(); ?> +
getId(); ?> + getNewestHistory()->getPosition(); ?> + getNewestHistory()->getPosition(); ?> + + +
l11n->lang[0]['Empty']; ?> + +
+
+ +
+ + + + + + + $value) : $c++; + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?> + +
l11n->lang['HumanResourceManagement']['Timing']; ?>
l11n->lang['HumanResourceManagement']['Start']; ?> + l11n->lang['HumanResourceManagement']['End']; ?> + l11n->lang['HumanResourceManagement']['Type']; ?> +
render(); ?> +
getId(); ?> + getNewestHistory()->getPosition(); ?> + getNewestHistory()->getPosition(); ?> + + +
l11n->lang[0]['Empty']; ?> + +
+
+ +
+

l11n->lang['HumanResourceManagement']['Salary']; ?>

+
+ + + + + +
l11n->lang['HumanResourceManagement']['Date']; ?> + getName3(); ?> +
l11n->lang['HumanResourceManagement']['SalaryType']; ?> + getName3(); ?> +
l11n->lang['HumanResourceManagement']['Amount']; ?> + getName3(); ?> +
+ +
+