add tpl and php for return of rent in entries
This commit is contained in:
parent
54858e2d18
commit
08e2af1f1d
12 changed files with 100 additions and 30 deletions
19
src/templates/entrees/repertorie.tpl
Normal file
19
src/templates/entrees/repertorie.tpl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<fieldset>
|
||||
<legend><h3>Matériel</h3></legend>
|
||||
<dl>
|
||||
<dt><label for="f_eqmt"></label> <b>(obligatoire)</b></dt>
|
||||
<dd>
|
||||
<select name="equipment_id" id="f_eqmt">
|
||||
{foreach from=$eqmts_by_cat key='cat' item="eqmts"}
|
||||
{if $eqmts}
|
||||
<optgroup label="-- {$cat} --">
|
||||
{foreach from=$eqmts item="eqmt"}
|
||||
<option value="{$eqmt.id}">{$eqmt.designation}</option>
|
||||
{/foreach}
|
||||
</optgroup>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</select>
|
||||
</dd>
|
||||
</dl>
|
||||
</fieldset>
|
||||
Loading…
Add table
Add a link
Reference in a new issue