ok to display entries and equipments in templates

This commit is contained in:
JBthePenguin 2021-06-05 13:52:32 +02:00
parent c74ba5ed85
commit c3eb06ce0d
6 changed files with 50 additions and 2 deletions

View file

@ -8,4 +8,23 @@
{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"}