Fix: name unique pour tabulations
This commit is contained in:
parent
46df3d9f11
commit
5ab6c5989e
@ -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}}
|
||||||
|
Loading…
Reference in New Issue
Block a user