2021-09-02 19:35:54 +02:00
|
|
|
<!-- nav bar-->
|
|
|
|
{include file="%s_nav.tpl"|args:$plugin_tpl current_nav="index"}
|
|
|
|
<!-- -->
|
|
|
|
<!-- -->
|
|
|
|
<h2 style="text-align: center;">Historique des entrées / sorties</h2>
|
2021-08-31 13:36:06 +02:00
|
|
|
|
2021-09-02 19:35:54 +02:00
|
|
|
<br>
|
2021-08-31 13:36:06 +02:00
|
|
|
|
2021-09-02 19:35:54 +02:00
|
|
|
<!-- 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 -->
|
2021-08-31 13:36:06 +02:00
|
|
|
{include file="admin/_foot.tpl"}
|
2021-09-02 19:35:54 +02:00
|
|
|
<!-- -->
|