mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-02-14 20:08:40 +00:00
Fixing templates
This commit is contained in:
parent
848c62cf5b
commit
b44fb4b31a
|
|
@ -26,29 +26,33 @@ $footerView->setResults(1);
|
||||||
|
|
||||||
echo $this->getData('nav')->render(); ?>
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
<div class="box w-100">
|
<div class="row">
|
||||||
<table class="table red">
|
<div class="col-xs-12">
|
||||||
<caption><?= $this->getText('Departments'); ?></caption>
|
<div class="box wf-100">
|
||||||
<thead>
|
<table class="table red">
|
||||||
<tr>
|
<caption><?= $this->getText('Departments'); ?></caption>
|
||||||
<td><?= $this->getText('ID', 0, 0); ?>
|
<thead>
|
||||||
<td class="wf-100"><?= $this->getText('Name'); ?>
|
<tr>
|
||||||
<td><?= $this->getText('Employees'); ?>
|
<td><?= $this->getText('ID', 0, 0); ?>
|
||||||
<td><?= $this->getText('Parent'); ?>
|
<td class="wf-100"><?= $this->getText('Name'); ?>
|
||||||
<tfoot>
|
<td><?= $this->getText('Employees'); ?>
|
||||||
<tr><td colspan="4"><?= $footerView->render(); ?>
|
<td><?= $this->getText('Parent'); ?>
|
||||||
<tbody>
|
<tfoot>
|
||||||
<?php $c = 0; foreach ([] as $key => $value) : $c++;
|
<tr><td colspan="4"><?= $footerView->render(); ?>
|
||||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/admin/group/settings?{?}&id=' . $value->getId()); ?>
|
<tbody>
|
||||||
<tr>
|
<?php $c = 0; foreach ([] as $key => $value) : $c++;
|
||||||
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/admin/group/settings?{?}&id=' . $value->getId()); ?>
|
||||||
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
|
<tr>
|
||||||
<td>
|
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
||||||
<td>
|
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
|
||||||
<td>
|
<td>
|
||||||
<?php endforeach; ?>
|
<td>
|
||||||
<?php if($c === 0) : ?>
|
<td>
|
||||||
<tr><td colspan="4" class="empty"><?= $this->getText('Empty', 0, 0); ?>
|
<?php endforeach; ?>
|
||||||
<?php endif; ?>
|
<?php if($c === 0) : ?>
|
||||||
</table>
|
<tr><td colspan="4" class="empty"><?= $this->getText('Empty', 0, 0); ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -28,29 +28,34 @@ $employees = $this->getData('employees');
|
||||||
|
|
||||||
echo $this->getData('nav')->render(); ?>
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
<div class="box w-100">
|
<div class="row">
|
||||||
<table class="table red">
|
<div class="col-xs-12">
|
||||||
<caption><?= $this->getText('Staff'); ?></caption>
|
<div class="box wf-100">
|
||||||
<thead>
|
<table class="table red">
|
||||||
<tr>
|
<caption><?= $this->getText('Staff'); ?></caption>
|
||||||
<td><?= $this->getText('ID', 0, 0); ?>
|
<thead>
|
||||||
<td class="wf-100"><?= $this->getText('Name'); ?>
|
<tr>
|
||||||
<td><?= $this->getText('Position'); ?>
|
<td><?= $this->getText('ID', 0, 0); ?>
|
||||||
<td><?= $this->getText('Department'); ?>
|
<td class="wf-100"><?= $this->getText('Name'); ?>
|
||||||
<td><?= $this->getText('Status'); ?>
|
<td><?= $this->getText('Position'); ?>
|
||||||
<tfoot>
|
<td><?= $this->getText('Department'); ?>
|
||||||
<tr><td colspan="5"><?= $footerView->render(); ?>
|
<td><?= $this->getText('Status'); ?>
|
||||||
<tbody>
|
<tfoot>
|
||||||
<?php $c = 0; foreach ($employees as $key => $value) : $c++;
|
<tr><td colspan="5"><?= $footerView->render(); ?>
|
||||||
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/admin/group/settings?{?}&id=' . $value->getId()); ?>
|
<tbody>
|
||||||
<tr>
|
<?php $c = 0; foreach ($employees as $key => $value) : $c++;
|
||||||
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/admin/group/settings?{?}&id=' . $value->getId()); ?>
|
||||||
<td><a href="<?= $url; ?>"><?= $value->getNewestHistory()->getPosition(); ?></a>
|
<tr>
|
||||||
<td><a href="<?= $url; ?>"><?= $value->getNewestHistory()->getPosition(); ?></a>
|
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
||||||
<td><a href="<?= $url; ?>"><?= $value->getNewestStatus()->getStatus(); ?></a>
|
<td><a href="<?= $url; ?>"><?= $value->getNewestHistory()->getPosition(); ?></a>
|
||||||
<?php endforeach; ?>
|
<td><a href="<?= $url; ?>"><?= $value->getNewestHistory()->getPosition(); ?></a>
|
||||||
<?php if($c === 0) : ?>
|
<td><a href="<?= $url; ?>"><?= $value->getNewestStatus()->getStatus(); ?></a>
|
||||||
<tr><td colspan="5" class="empty"><?= $this->getText('Empty', 0, 0); ?>
|
<?php endforeach; ?>
|
||||||
<?php endif; ?>
|
<?php if($c === 0) : ?>
|
||||||
</table>
|
<tr><td colspan="5" class="empty"><?= $this->getText('Empty', 0, 0); ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user