materiels/src/templates/entrees/definitives/index.tpl

31 lines
883 B
Smarty
Raw Normal View History

{include file="admin/_head.tpl" title="%s"|args:$plugin.nom current="plugin_%s"|args:$plugin.id}
{include file="%s_nav.tpl"|args:$plugin_tpl current="entrees_definitives"}
<fieldset>
<legend>Ajouter une entrée définitive pour du </legend>
{linkbutton shape="plus" label="Matériel pas encore répertorié" href="non_repertorie.php"}
{linkbutton shape="plus" label="Matériel déjà répertorié" href="deja_repertorie.php"}
</fieldset>
<table class="list">
<thead>
2021-06-05 16:45:03 +02:00
<th><b>Date</b></th>
<th><b>Type</b></th>
<th><b>Nombre</b></th>
<th><b>Matériel</b></th>
</thead>
<tbody>
{foreach from=$entries item="entry"}
<tr>
2021-06-05 16:45:03 +02:00
<td>{$entry.date_of_entry}</td>
<td>{$entry.kind}</td>
<td>{$entry.number_of_equipments}</td>
<td>{$entry.equipment.designation}</td>
</tr>
{/foreach}
</tbody>
</table>
{include file="admin/_foot.tpl"}