ok to display entries and equipments in templates
This commit is contained in:
parent
c74ba5ed85
commit
c3eb06ce0d
6 changed files with 50 additions and 2 deletions
|
|
@ -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"}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
{include file="%s_nav.tpl"|args:$plugin_tpl current="index"}
|
||||
|
||||
<table class="list">
|
||||
<caption>Matériels</caption>
|
||||
<thead>
|
||||
<th>Nombre en stock</th>
|
||||
<td>Categorie</td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue