ok for all calculation, next add output
This commit is contained in:
parent
71775c0f67
commit
54858e2d18
14 changed files with 259 additions and 39 deletions
34
src/templates/sorties/index.tpl
Normal file
34
src/templates/sorties/index.tpl
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{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="sorties"}
|
||||
|
||||
<fieldset>
|
||||
<legend>Ajouter une sortie pour du </legend>
|
||||
{linkbutton shape="plus" label="Matériel en stock" href="en_stock.php"}
|
||||
{linkbutton shape="plus" label="Matériel emprunté" href="pas_proprietaire.php"}
|
||||
</fieldset>
|
||||
|
||||
{if $outputs}
|
||||
<table class="list">
|
||||
<thead>
|
||||
<th><b>Date</b></th>
|
||||
<th><b>Type</b></th>
|
||||
<th><b>Nombre</b></th>
|
||||
<th><b>Matériel</b></th>
|
||||
<th><b>Remarques</b></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$outputs item="output"}
|
||||
<tr>
|
||||
<td>{$output.output_date}</td>
|
||||
<td>{$output.kind}</td>
|
||||
<td>{$output.equipment_number}</td>
|
||||
<td>{$output.equipment.designation}</td>
|
||||
<td>{$output.additional_comment}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
{include file="admin/_foot.tpl"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue