begin to historic for an equipment
This commit is contained in:
parent
1e9c8d8553
commit
8f3caadde1
5 changed files with 73 additions and 19 deletions
|
|
@ -1,9 +1,47 @@
|
|||
{include file="admin/_head.tpl" title="%s"|args:$plugin.nom current="plugin_%s"|args:$plugin.id}
|
||||
<!-- nav bar-->
|
||||
{include file="%s_nav.tpl"|args:$plugin_tpl current_nav="index"}
|
||||
<!-- -->
|
||||
<!-- -->
|
||||
<h2 style="text-align: center;">Historique des entrées / sorties</h2>
|
||||
|
||||
{include file="%s_nav.tpl"|args:$plugin_tpl current="index"}
|
||||
|
||||
{foreach from=$all_dates item='date'}
|
||||
<p>{$date}</p>
|
||||
{/foreach}
|
||||
<br>
|
||||
|
||||
<!-- table of movements -->
|
||||
{if $mvts}
|
||||
<table class="list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="5" style="text-align: center;">
|
||||
<h3>{$eqmt_requested.designation} - {$eqmt_requested.category} -</h3>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><b>Date</b></th>
|
||||
<th><b>Sens</b></th>
|
||||
<th><b>Type</b></th>
|
||||
<th><b>Nombre</b></th>
|
||||
<th><b>Remarques</b></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$mvts item="mvt"}
|
||||
<tr>
|
||||
<td>{$mvt.mvt_date|date_format:'%d/%m/%y'}</td>
|
||||
{if $mvt.side}
|
||||
<td>Sortie</td>
|
||||
{else}
|
||||
<td>Entrée</td>
|
||||
{/if}
|
||||
<td>{$mvt.kind}</td>
|
||||
<td>{$mvt.equipment_number}</td>
|
||||
<td>{$mvt.additional_comment}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
<!-- -->
|
||||
{linkbutton label="Retour" shape="export" href=$return_link}
|
||||
<!-- footer -->
|
||||
{include file="admin/_foot.tpl"}
|
||||
<!-- -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue