Start Point al 2026
This commit is contained in:
commit
8a76e1db3b
371 files changed
+160283
No files matched your search
@@ -0,0 +1,111 @@
|
||||
<?= $this->extend('layouts/main') ?>
|
||||
|
||||
|
||||
|
||||
<?= $this->section('part_body') ?>
|
||||
|
||||
<div class="container">
|
||||
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<br />
|
||||
<h4>Riepilogo orari</h4>
|
||||
|
||||
<p>Tabella con gli ultimi 3 orari inseriti da <?= session()->get('lavoratore')->lvNome ?> <?= session()->get('lavoratore')->lvCognome ?> </p>
|
||||
<table class="table table-striped">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Commessa</th>
|
||||
<th>Il</th>
|
||||
<th>Durata</th>
|
||||
<th>Tipo ore</th>
|
||||
<th>Tipo work</th>
|
||||
<th>Descrizione</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($orari as $item) : ?>
|
||||
<tr>
|
||||
<td><?= $item->orIDorario ?></td>
|
||||
<td data-toggle="tooltip" title="<?= $item->coDescrizione ?>"><?= $item->coNome ?></td>
|
||||
<td><?= $item->orData ?></td>
|
||||
<td><?= $item->orOre ?></td>
|
||||
<td><?= $item->orIDTipoOre ?></td>
|
||||
<td><?= $item->orIDTipoWork ?></td>
|
||||
<td><?= $item->orDescrizione ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- Form per l'inserimento di un orario: -->
|
||||
<?php if (CheckLevel(1,false)): ?>
|
||||
<!-- Livello adeguato, permetto l'inserimento delle ore -->
|
||||
<?= $this->include('cmpnts/form/form_insert_orario') ?>
|
||||
<?php else: ?>
|
||||
<!-- Livello insufficiente per inserire le ore -->
|
||||
<p>Attendere l'autorizzazione dall'amministratore per poter inserire nuovi orari.</p>
|
||||
<?php endif; ?>
|
||||
<hr>
|
||||
|
||||
<br />
|
||||
<h4>Riepilogo spese</h4>
|
||||
|
||||
<p>Tabella con le ultime 3 spese inserite da <?= session()->get('lavoratore')->lvNome ?> <?= session()->get('lavoratore')->lvCognome ?> </p>
|
||||
<table class="table table-striped">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Commessa</th>
|
||||
<th>Il</th>
|
||||
<th>Importo</th>
|
||||
<th>Da Rimborsare</th>
|
||||
<th>Descrizione</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($spese as $item) : ?>
|
||||
<tr>
|
||||
<td><?=$item->spIDspesa ?></td>
|
||||
<td data-toggle="tooltip" title="<?= $item->coDescrizione ?>"><?=$item->coNome ?></td>
|
||||
<td><?=$item->spData ?></td>
|
||||
<td><?=$item->spImporto ?></td>
|
||||
<td><?=$item->spDaRimborsare ?></td>
|
||||
<td><?=$item->spDescrizione ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br />
|
||||
|
||||
<!--
|
||||
<p>Form per l'inserimento di un orario:</p>
|
||||
-->
|
||||
|
||||
<!-- Form per l'inserimento di un orario: -->
|
||||
<?php if (CheckLevel(1,false)): ?>
|
||||
<!-- Livello adeguato, permetto l'inserimento delle spese -->
|
||||
<?= $this->include('cmpnts/form/form_insert_spesa') ?>
|
||||
<?php else: ?>
|
||||
<!-- Livello insufficiente per inserire le spese -->
|
||||
<p>Attendere l'autorizzazione dall'amministratore per poter inserire nuove spese.</p>
|
||||
<?php endif; ?>
|
||||
|
||||
<br />
|
||||
<hr>
|
||||
|
||||
<br />
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<?= $this->endSection() ?>
|
||||
Reference in new issue
Block a user