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

31 lines
855 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>
<th>Date</th>
<td>Type</td>
<td>Nombre</td>
<td>Matériel</td>
</thead>
<tbody>
{foreach from=$entries item="entry"}
<tr>
<th>{$entry.date_of_entry}</th>
<th>{$entry.kind}</th>
<th>{$entry.number_of_equipments}</th>
<th>{$entry.equipment.designation}</th>
</tr>
{/foreach}
</tbody>
</table>
{include file="admin/_foot.tpl"}