Les commerces peuvent appliquer un pourcentage

This commit is contained in:
2023-01-03 01:37:50 +01:00
parent d5453c9b04
commit ceacee8e6c
9 changed files with 45 additions and 13 deletions

View File

@ -10,7 +10,15 @@
{{#if @root.options.isObserver}}
<div class="form-group">
<input {{@root.disabled}} class="attribute-value" type="checkbox" name="system.illimite" {{#if system.illimite}}checked{{/if}}/>
<span for="system.illimite">Quantité illimitée en vente</span>
<label for="system.illimite">Quantité illimitée en vente</label>
</div>
<div class="form-group">
<span>
<label for="system.pourcentage">Appliquer un pourcentage sur les prix</label>
<input {{@root.disabled}} class="attribute-value" type="number" data-dtype="Number"
name="system.pourcentage" value="{{system.pourcentage}}"
min="20" max="500" step="5"/>
</span>
</div>
{{/if}}
</div>