4ba2c384d7
- alignement à droite - affichage des prix avec 2 décimales
26 lines
1.5 KiB
HTML
26 lines
1.5 KiB
HTML
<div class="form-group">
|
|
<label for="system.qualite">Qualité</label>
|
|
<input class="attribute-value number-x3" type="number" name="system.qualite" value="{{system.qualite}}" data-dtype="Number"
|
|
{{#unless (isFieldInventaireModifiable type 'qualite')}}disabled{{/unless}}/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="system.encombrement">Encombrement</label>
|
|
<input class="attribute-value number-x3" type="number" name="system.encombrement" value="{{system.encombrement}}" data-dtype="Number"
|
|
{{#unless (isFieldInventaireModifiable type 'encombrement')}}disabled{{/unless}}/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="system.quantite">Quantité {{uniteQuantite id actorId}}</label>
|
|
<input class="attribute-value number-x3" type="number" name="system.quantite" value="{{system.quantite}}" data-dtype="Number"
|
|
{{#unless (isFieldInventaireModifiable type 'quantite')}}disabled{{/unless}}/>
|
|
</div>
|
|
<div class="form-group item-cout">
|
|
<label for="system.cout">Prix (sols)</label>
|
|
{{#if (or (ne type 'monnaie') (gt system.cout 0))}}
|
|
<input class="input-prix attribute-value number-x3" type="number" name="system.cout" value="{{numberFormat system.cout decimals=2 sign=false}}" data-dtype="Number"
|
|
{{#unless (isFieldInventaireModifiable type 'cout')}}disabled{{/unless}}/>
|
|
{{else}}
|
|
<input class="input-prix attribute-value field-error number-x3" type="number" name="system.cout" value="{{numberFormat system.cout decimals=2 sign=false}}" data-dtype="Number"
|
|
{{#unless (isFieldInventaireModifiable type 'cout')}}disabled{{/unless}}/>
|
|
{{/if}}
|
|
</div>
|