Fix: Bouton prendre/acheter selon prix

This commit is contained in:
Vincent Vandemeulebrouck 2021-06-14 23:46:57 +02:00
parent c36b32e5e8
commit b19bc68d22
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
{{#if (gt tailleLot 1)}}
<span>Lots de: <span class="tailleLot">{{tailleLot}}</span></span><br>
{{/if}}
{{#if prixLot}}
{{#if (ne prixLot 0)}}
<span><strong>Prix {{#if (gt tailleLot 1)}}du lot {{else}}unitaire{{/if}}:
<span class="prixLot">{{prixLot}}</span> Sols</strong></span><br>
{{/if}}
@ -31,6 +31,6 @@
data-quantiteNbLots="{{quantiteNbLots}}"
data-quantiteIllimite="{{#if quantiteIllimite}}true{{else}}false{{/if}}"
data-prixLot="{{prixLot}}">
{{#if prixLot}}Acheter{{else}}Prendre{{/if}}</a>
{{#if (eq prixLot 0)}}Prendre{{else}}Acheter{{/if}}</a>
</span>
</div>