mirror of
https://github.com/Karaka-Management/oms-HumanResourceTimeRecording.git
synced 2026-01-18 07:08:41 +00:00
43 lines
1.4 KiB
PHP
Executable File
43 lines
1.4 KiB
PHP
Executable File
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 8.0
|
|
*
|
|
* @package HumanResourceTimeRecording
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link https://orange-management.org
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
/** @var \Modules\HumanResourceTimeRecording\Models\Session $session */
|
|
$session = $this->getData('session');
|
|
$elements = $session->getSessionElements();
|
|
|
|
echo $this->getData('nav')->render(); ?>
|
|
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<div class="box wf-100">
|
|
<table id="accountList" class="default">
|
|
<caption><?= $session->getStart()->format('Y-m-d'); ?><i class="fa fa-download floatRight download btn"></i></caption>
|
|
<thead>
|
|
<tr>
|
|
<td><?= $this->getHtml('Status'); ?>
|
|
<td class="wf-100"><?= $this->getHtml('Time'); ?>
|
|
<td class="wf-100"><?= $this->getHtml('Date'); ?>
|
|
<tfoot>
|
|
<tr><td colspan="2">
|
|
<tbody>
|
|
<?php foreach ($elements as $element) : ?>
|
|
<tr>
|
|
<td><?= $this->getHtml('CS' . $element->getStatus()); ?>
|
|
<td><?= $element->getDatetime()->format('H:i:s'); ?>
|
|
<td><?= $element->getDatetime()->format('Y-m-d'); ?>
|
|
<?php endforeach; ?>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|