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
|
|
@ -160,7 +160,7 @@
|
|||
{{* formulaire de sortie de matériel *}}
|
||||
<form method="post" action="">
|
||||
<fieldset class="informations">
|
||||
<legend>Informations matériel</legend>
|
||||
<legend>Matériel</legend>
|
||||
<dl class="describe">
|
||||
<dt>Matériel</dt>
|
||||
<dd>{{$equipment.name}}</dd>
|
||||
|
|
@ -171,7 +171,7 @@
|
|||
</dl>
|
||||
</fieldset>
|
||||
<fieldset class="sortie">
|
||||
<legend>Enregistrer une sortie</legend>
|
||||
<legend>Informations obligatoires</legend>
|
||||
<dl>
|
||||
{{if $output_labels|count == 1}}
|
||||
{{:input type="select" name="operation" label="Type" required=true options=$output_labels}}
|
||||
|
|
@ -180,6 +180,11 @@
|
|||
{{/if}}
|
||||
{{:input type="date" name="date" label="Date de sortie" required=true default=$now|date_short}}
|
||||
{{:input type="number" name="amount" label="Quantité" required=true default=1 min=1 max=$dispo}}
|
||||
</dl>
|
||||
</fieldset>
|
||||
<fieldset class="entree">
|
||||
<legend>Informations facultatives</legend>
|
||||
<dl>
|
||||
{{:input
|
||||
type="list"
|
||||
name="user"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue