v10.4.9 #603

Merged
uberwald merged 3 commits from VincentVk/foundryvtt-reve-de-dragon:v10 into v10 2023-01-05 16:11:18 +01:00
Showing only changes of commit 5ab6c5989e - Show all commits

View File

@ -20,7 +20,7 @@
<a class="item-quantite-moins"><i class="fas fa-minus-square"></i></a> <a class="item-quantite-moins"><i class="fas fa-minus-square"></i></a>
{{/if}} {{/if}}
<input {{#unless options.isOwner}}disabled{{/unless}} type="number" data-dtype="Number" <input {{#unless options.isOwner}}disabled{{/unless}} type="number" data-dtype="Number"
class="item-quantite" name="items[{{key}}].system.quantite" class="item-quantite" name="items[{{item._id}}].system.quantite"
value="{{item.system.quantite}}" /> value="{{item.system.quantite}}" />
{{#if options.isOwner}} {{#if options.isOwner}}
<a class="item-quantite-plus"><i class="fas fa-plus-square"></i></a> <a class="item-quantite-plus"><i class="fas fa-plus-square"></i></a>
@ -31,7 +31,7 @@
<span class="equipement-detail"> <span class="equipement-detail">
{{#unless (and (eq item.type 'conteneur') (not vide))}} {{#unless (and (eq item.type 'conteneur') (not vide))}}
<input {{#unless options.isOwner}}disabled{{/unless}} type="number" data-dtype="Number" <input {{#unless options.isOwner}}disabled{{/unless}} type="number" data-dtype="Number"
class="input-prix number-x3 item-cout" name="items[{{key}}].system.cout" class="input-prix number-x3 item-cout" name="items[{{item._id}}].system.cout"
{{#if options.isObserver}} {{#if options.isObserver}}
value="{{numberFormat item.system.cout decimals=2 sign=false}}" value="{{numberFormat item.system.cout decimals=2 sign=false}}"
{{else}} {{else}}