Ajout écritures liées + Harmonisation formulaires saisie
This commit is contained in:
parent
36723c3c1f
commit
6c4cc7ea48
8 changed files with 100 additions and 33 deletions
|
|
@ -198,9 +198,9 @@
|
|||
|
||||
<form method="post" action="">
|
||||
<fieldset class="informations">
|
||||
<legend>Informations matériel</legend>
|
||||
<legend>Matériel</legend>
|
||||
<dl class="describe">
|
||||
<dt>Matériel</dt>
|
||||
<dt>Désignation</dt>
|
||||
<dd>{{$equipment.name}}</dd>
|
||||
<dt>Catégorie</dt>
|
||||
<dd>{{$category.name}}</dd>
|
||||
|
|
@ -209,11 +209,16 @@
|
|||
</dl>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Retour de « {{$equipment.name}} (Catégorie : {{$category.name}}) »</legend>
|
||||
<legend>Informations obligatoires</legend>
|
||||
<dl>
|
||||
{{:input type="select" name="operation" label="Type" required=true options=$return_label}}
|
||||
{{:input type="date" name="date" label="Date" required=true default=$now|date_short}}
|
||||
{{:input type="number" name="amount" label="Quantité" min=1 max=$exterieur required=true default=1}}
|
||||
</dl>
|
||||
</fieldset>
|
||||
<fieldset class="entree">
|
||||
<legend>Informations facultatives</legend>
|
||||
<dl>
|
||||
{{if $storage != null}}
|
||||
{{:input type="select" name="storage" label="Lieu de stockage" default_empty="— Aucun —" options=$storage required=false}}
|
||||
{{/if}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue