mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-02-01 21:58:41 +00:00
Case fix!
This commit is contained in:
parent
7f4fb81710
commit
c90dd11c1f
27
Theme/Backend/Lang/Navigation.en.lang.php
Normal file
27
Theme/Backend/Lang/Navigation.en.lang.php
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.0
|
||||
*
|
||||
* @category TBD
|
||||
* @package TBD
|
||||
* @author OMS Development Team <dev@oms.com>
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
* @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',
|
||||
];
|
||||
27
Theme/Backend/Lang/en.lang.php
Normal file
27
Theme/Backend/Lang/en.lang.php
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.0
|
||||
*
|
||||
* @category TBD
|
||||
* @package TBD
|
||||
* @author OMS Development Team <dev@oms.com>
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
* @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',
|
||||
];
|
||||
0
Theme/Backend/department-create.tpl.php
Normal file
0
Theme/Backend/department-create.tpl.php
Normal file
54
Theme/Backend/department-list.tpl.php
Normal file
54
Theme/Backend/department-list.tpl.php
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.0
|
||||
*
|
||||
* @category TBD
|
||||
* @package TBD
|
||||
* @author OMS Development Team <dev@oms.com>
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
* @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(); ?>
|
||||
|
||||
<section class="box w-100">
|
||||
<table class="table">
|
||||
<caption><?= $this->l11n->lang['HumanResourceManagement']['Departments']; ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->l11n->lang[0]['ID']; ?>
|
||||
<td class="wf-100"><?= $this->l11n->lang['HumanResourceManagement']['Name']; ?>
|
||||
<td><?= $this->l11n->lang['HumanResourceManagement']['Employees']; ?>
|
||||
<td><?= $this->l11n->lang['HumanResourceManagement']['Parent']; ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="4"><?= $footerView->render(); ?>
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ([] as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?>
|
||||
<tr>
|
||||
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
|
||||
<td>
|
||||
<td>
|
||||
<td>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="4" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</section>
|
||||
0
Theme/Backend/department-single.tpl.php
Normal file
0
Theme/Backend/department-single.tpl.php
Normal file
98
Theme/Backend/planning-dashboard.tpl.php
Normal file
98
Theme/Backend/planning-dashboard.tpl.php
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
<div class="b b-1 c24-1 c24" id="i24-1-1">
|
||||
<h1><?= $this->app->accountManager->get($request->getAccount())->getL11n()->lang['HumanResourceManagement']['Vacation'] ?></h1>
|
||||
|
||||
<div class="bc-1">
|
||||
<div class="cT">
|
||||
<i class="fa fa-5x fa-tree"></i>
|
||||
</div>
|
||||
<!-- @formatter:off -->
|
||||
<table class="tc-1" style="margin-top: 5px">
|
||||
<tr>
|
||||
<th><label>Test string</label>
|
||||
<td>asldkf
|
||||
<tr>
|
||||
<th><label>Test string</label>
|
||||
<td>asldkf
|
||||
<tr>
|
||||
<th><label>Test string</label>
|
||||
<td>asldkf
|
||||
<tr>
|
||||
<th><label>Test string</label>
|
||||
<td>asldkf
|
||||
<tr>
|
||||
<th><label>Test string</label>
|
||||
<td>asldkf
|
||||
</table>
|
||||
<!-- @formatter:on -->
|
||||
<div class="cT">
|
||||
<a href="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/backend/sales/analysis/clients/dashboard'); ?>"
|
||||
class="button"><?= $this->app->accountManager->get($request->getAccount())->getL11n()->lang[0]['More'] ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="b b-1 c24-1 c24" id="i24-1-1">
|
||||
<h1><?= $this->app->accountManager->get($request->getAccount())->getL11n()->lang['HumanResourceManagement']['Shifts'] ?></h1>
|
||||
|
||||
<div class="bc-1">
|
||||
<div class="cT">
|
||||
<i class="fa fa-5x fa-clock-o"></i>
|
||||
</div>
|
||||
<!-- @formatter:off -->
|
||||
<table class="tc-1" style="margin-top: 5px">
|
||||
<tr>
|
||||
<th><label>Test string</label>
|
||||
<td>asldkf
|
||||
<tr>
|
||||
<th><label>Test string</label>
|
||||
<td>asldkf
|
||||
<tr>
|
||||
<th><label>Test string</label>
|
||||
<td>asldkf
|
||||
<tr>
|
||||
<th><label>Test string</label>
|
||||
<td>asldkf
|
||||
<tr>
|
||||
<th><label>Test string</label>
|
||||
<td>asldkf
|
||||
</table>
|
||||
<!-- @formatter:on -->
|
||||
<div class="cT">
|
||||
<a href=""
|
||||
class="button"><?= $this->app->accountManager->get($request->getAccount())->getL11n()->lang[0]['More'] ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="b b-1 c24-1 c24" id="i24-1-1">
|
||||
<h1><?= $this->app->accountManager->get($request->getAccount())->getL11n()->lang['HumanResourceManagement']['Personnel'] ?></h1>
|
||||
|
||||
<div class="bc-1">
|
||||
<div class="cT">
|
||||
<i class="fa fa-5x fa-users"></i>
|
||||
</div>
|
||||
<!-- @formatter:off -->
|
||||
<table class="tc-1" style="margin-top: 5px">
|
||||
<tr>
|
||||
<th><label>Test string</label>
|
||||
<td>asldkf
|
||||
<tr>
|
||||
<th><label>Test string</label>
|
||||
<td>asldkf
|
||||
<tr>
|
||||
<th><label>Test string</label>
|
||||
<td>asldkf
|
||||
<tr>
|
||||
<th><label>Test string</label>
|
||||
<td>asldkf
|
||||
<tr>
|
||||
<th><label>Test string</label>
|
||||
<td>asldkf
|
||||
</table>
|
||||
<!-- @formatter:on -->
|
||||
<div class="cT">
|
||||
<a href=""
|
||||
class="button"><?= $this->app->accountManager->get($request->getAccount())->getL11n()->lang[0]['More'] ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
0
Theme/Backend/position-create.tpl.php
Normal file
0
Theme/Backend/position-create.tpl.php
Normal file
0
Theme/Backend/position-list.tpl.php
Normal file
0
Theme/Backend/position-list.tpl.php
Normal file
0
Theme/Backend/position-single.tpl.php
Normal file
0
Theme/Backend/position-single.tpl.php
Normal file
21
Theme/Backend/staff-create.tpl.php
Normal file
21
Theme/Backend/staff-create.tpl.php
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.0
|
||||
*
|
||||
* @category TBD
|
||||
* @package TBD
|
||||
* @author OMS Development Team <dev@oms.com>
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
* @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(); ?>
|
||||
|
||||
56
Theme/Backend/staff-list.tpl.php
Normal file
56
Theme/Backend/staff-list.tpl.php
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.0
|
||||
*
|
||||
* @category TBD
|
||||
* @package TBD
|
||||
* @author OMS Development Team <dev@oms.com>
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
* @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(); ?>
|
||||
|
||||
<section class="box w-100">
|
||||
<table class="table">
|
||||
<caption><?= $this->l11n->lang['HumanResourceManagement']['Staff']; ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->l11n->lang[0]['ID']; ?>
|
||||
<td class="wf-100"><?= $this->l11n->lang['HumanResourceManagement']['Name']; ?>
|
||||
<td><?= $this->l11n->lang['HumanResourceManagement']['Position']; ?>
|
||||
<td><?= $this->l11n->lang['HumanResourceManagement']['Department']; ?>
|
||||
<td><?= $this->l11n->lang['HumanResourceManagement']['Status']; ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="4"><?= $footerView->render(); ?>
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($employees as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?>
|
||||
<tr>
|
||||
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= $value->getNewestHistory()->getPosition(); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= $value->getNewestHistory()->getPosition(); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= $value->getNewestStatus()->getStatus(); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="4" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</section>
|
||||
159
Theme/Backend/staff-single.tpl.php
Normal file
159
Theme/Backend/staff-single.tpl.php
Normal file
|
|
@ -0,0 +1,159 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.0
|
||||
*
|
||||
* @category TBD
|
||||
* @package TBD
|
||||
* @author OMS Development Team <dev@oms.com>
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
* @copyright 2013 Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
<section itemscope itemtype="http://schema.org/Person" class="box w-33">
|
||||
<h1><?= $this->l11n->lang['HumanResourceManagement']['Employee']; ?></h1>
|
||||
<div class="inner">
|
||||
<!-- @formatter:off -->
|
||||
<table class="list">
|
||||
<tr>
|
||||
<th><?= $this->l11n->lang['HumanResourceManagement']['Name']; ?>
|
||||
<td><span itemprop="familyName"><?= $account->getName3(); ?></span>, <span itemprop="givenName"><?= $account->getName1(); ?></span>
|
||||
<tr>
|
||||
<th><?= $this->l11n->lang['HumanResourceManagement']['Position']; ?>
|
||||
<td itemprop="jobTitle">Sailor
|
||||
<tr>
|
||||
<th><?= $this->l11n->lang['HumanResourceManagement']['Department']; ?>
|
||||
<td itemprop="jobTitle">Sailor
|
||||
<tr>
|
||||
<th><?= $this->l11n->lang['HumanResourceManagement']['Birthday']; ?>
|
||||
<td itemprop="birthDate">06.09.1934
|
||||
<tr>
|
||||
<th><?= $this->l11n->lang['HumanResourceManagement']['Email']; ?>
|
||||
<td itemprop="email"><a href="mailto:>donald.duck@email.com<"><?= $account->getEmail(); ?></a>
|
||||
<tr>
|
||||
<th>Address
|
||||
<td>
|
||||
<tr>
|
||||
<th class="vT">Private
|
||||
<td itemprop="address">SMALLSYS INC<br>795 E DRAGRAM<br>TUCSON AZ 85705<br>USA
|
||||
<tr>
|
||||
<th class="vT">Work
|
||||
<td itemprop="address">SMALLSYS INC<br>795 E DRAGRAM<br>TUCSON AZ 85705<br>USA
|
||||
<tr>
|
||||
<th><?= $this->l11n->lang['HumanResourceManagement']['Phone']; ?>
|
||||
<td>
|
||||
<tr>
|
||||
<th>Private
|
||||
<td itemprop="telephone">+01 12345-4567
|
||||
<tr>
|
||||
<th>Mobile
|
||||
<td itemprop="telephone">+01 12345-4567
|
||||
<tr>
|
||||
<th>Work
|
||||
<td itemprop="telephone">+01 12345-4567
|
||||
<tr>
|
||||
<th><?= $this->l11n->lang['HumanResourceManagement']['Status']; ?>
|
||||
<td><span class="tag green"><?= $account->getStatus(); ?></span>
|
||||
</table>
|
||||
<!-- @formatter:on -->
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<sectionclass="box w-33">
|
||||
<h1><?= $this->l11n->lang['HumanResourceManagement']['Overview']; ?></h1>
|
||||
<div class="inner">
|
||||
<!-- @formatter:off -->
|
||||
<table class="list">
|
||||
<tr>
|
||||
<th><?= $this->l11n->lang['HumanResourceManagement']['Start']; ?>
|
||||
<td><span itemprop="familyName"><?= $account->getName3(); ?></span>
|
||||
<tr>
|
||||
<th><?= $this->l11n->lang['HumanResourceManagement']['End']; ?>
|
||||
<td><span itemprop="familyName"><?= $account->getName3(); ?></span>
|
||||
<tr>
|
||||
<th><?= $this->l11n->lang['HumanResourceManagement']['Hours']; ?>
|
||||
<td><span itemprop="familyName"><?= $account->getName3(); ?></span>
|
||||
<tr>
|
||||
<th><?= $this->l11n->lang['HumanResourceManagement']['Vacation']; ?>
|
||||
<td><span itemprop="familyName"><?= $account->getName3(); ?></span>
|
||||
<tr>
|
||||
<th><?= $this->l11n->lang['HumanResourceManagement']['Salary']; ?>
|
||||
<td><span itemprop="familyName"><?= $account->getName3(); ?></span>
|
||||
</table>
|
||||
<!-- @formatter:on -->
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="box w-100">
|
||||
<table class="table">
|
||||
<caption><?= $this->l11n->lang['HumanResourceManagement']['Working']; ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->l11n->lang['HumanResourceManagement']['Start']; ?>
|
||||
<td><?= $this->l11n->lang['HumanResourceManagement']['End']; ?>
|
||||
<td><?= $this->l11n->lang['HumanResourceManagement']['Position']; ?>
|
||||
<td><?= $this->l11n->lang['HumanResourceManagement']['Department']; ?>
|
||||
<td><?= $this->l11n->lang['HumanResourceManagement']['Salary']; ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="4"><?= $footerView->render(); ?>
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($employees as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?>
|
||||
<tr>
|
||||
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= $value->getNewestHistory()->getPosition(); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= $value->getNewestHistory()->getPosition(); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="4" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<section class="box w-100">
|
||||
<table class="table">
|
||||
<caption><?= $this->l11n->lang['HumanResourceManagement']['Timing']; ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->l11n->lang['HumanResourceManagement']['Start']; ?>
|
||||
<td><?= $this->l11n->lang['HumanResourceManagement']['End']; ?>
|
||||
<td class="wf-100"><?= $this->l11n->lang['HumanResourceManagement']['Type']; ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="4"><?= $footerView->render(); ?>
|
||||
<tbody>
|
||||
<?php $c = 0; foreach ($employees as $key => $value) : $c++;
|
||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?>
|
||||
<tr>
|
||||
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= $value->getNewestHistory()->getPosition(); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= $value->getNewestHistory()->getPosition(); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="4" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<section class="box w-33">
|
||||
<h1><?= $this->l11n->lang['HumanResourceManagement']['Salary']; ?></h1>
|
||||
<div class="inner">
|
||||
<!-- @formatter:off -->
|
||||
<table class="list">
|
||||
<tr>
|
||||
<th><?= $this->l11n->lang['HumanResourceManagement']['Date']; ?>
|
||||
<td><span itemprop="familyName"><?= $account->getName3(); ?></span>
|
||||
<tr>
|
||||
<th><?= $this->l11n->lang['HumanResourceManagement']['SalaryType']; ?>
|
||||
<td><span itemprop="familyName"><?= $account->getName3(); ?></span>
|
||||
<tr>
|
||||
<th><?= $this->l11n->lang['HumanResourceManagement']['Amount']; ?>
|
||||
<td><span itemprop="familyName"><?= $account->getName3(); ?></span>
|
||||
</table>
|
||||
<!-- @formatter:on -->
|
||||
</div>
|
||||
</section>
|
||||
Loading…
Reference in New Issue
Block a user