materiels/src/templates/entrees/index.tpl

31 lines
852 B
Smarty
Raw Normal View History

{include file="admin/_head.tpl" title="%s"|args:$plugin.nom current="plugin_%s"|args:$plugin.id}
2021-06-05 18:48:45 +02:00
{include file="%s_nav.tpl"|args:$plugin_tpl current="entrees"}
<fieldset>
2021-06-05 18:48:45 +02:00
<legend>Ajouter une entrée 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-06 12:02:18 +02:00
<td>{$entry.entry_date}</td>
2021-06-05 16:45:03 +02:00
<td>{$entry.kind}</td>
2021-06-06 12:02:18 +02:00
<td>{$entry.equipment_number}</td>
2021-06-05 16:45:03 +02:00
<td>{$entry.equipment.designation}</td>
</tr>
{/foreach}
</tbody>
</table>
{include file="admin/_foot.tpl"}