Formatage de prix
This commit is contained in:
parent
d4ddc4e940
commit
aa5d175027
@ -19,7 +19,7 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if (ne prixLot 0)}}
|
{{#if (ne prixLot 0)}}
|
||||||
<span><strong>Prix {{#if (gt tailleLot 1)}}du lot {{else}}unitaire{{/if}}:
|
<span><strong>Prix {{#if (gt tailleLot 1)}}du lot {{else}}unitaire{{/if}}:
|
||||||
<span class="prixLot">{{prixLot}}</span> Sols</strong></span><br>
|
<span class="prixLot">{{numberFormat prixLot decimals=2 sign=false}}</span> Sols</strong></span><br>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</p>
|
</p>
|
||||||
{{#if (or (gt quantiteNbLots 0) quantiteIllimite)}}
|
{{#if (or (gt quantiteNbLots 0) quantiteIllimite)}}
|
||||||
|
@ -83,12 +83,12 @@
|
|||||||
{{#if isVente}}
|
{{#if isVente}}
|
||||||
<div class="flexrow flex-group-left">
|
<div class="flexrow flex-group-left">
|
||||||
<label>Prix {{#if (gt tailleLot 1)}}du lot{{else}}unitaire{{/if}}</label>
|
<label>Prix {{#if (gt tailleLot 1)}}du lot{{else}}unitaire{{/if}}</label>
|
||||||
<label>{{prixLot}} Sols</label>
|
<label>{{numberFormat prixLot decimals=2 sign=false}} Sols</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="flexrow flex-group-left">
|
<div class="flexrow flex-group-left">
|
||||||
<label>Prix total</label>
|
<label>Prix total</label>
|
||||||
<span>
|
<span>
|
||||||
<span class="prixTotal">{{prixTotal}}</span>
|
<span class="prixTotal">{{numberFormat prixTotal decimals=2 sign=false}}</span>
|
||||||
Sols
|
Sols
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -26,13 +26,13 @@
|
|||||||
max="{{quantiteMax}}" value="{{tailleLot}}" data-dtype="Number" />
|
max="{{quantiteMax}}" value="{{tailleLot}}" data-dtype="Number" />
|
||||||
</div>
|
</div>
|
||||||
<div class="flexrow flex-group-left">
|
<div class="flexrow flex-group-left">
|
||||||
<label>Valeur unitaire</label>
|
<label>Prix unitaire</label>
|
||||||
<label>{{prixOrigine}} Sols</label>
|
<label>{{numberFormat prixOrigine decimals=2 sign=false}} Sols</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="flexrow flex-group-left">
|
<div class="flexrow flex-group-left">
|
||||||
<label for="prixLot">Prix du lot</label>
|
<label for="prixLot">Prix du lot</label>
|
||||||
<span class="flexrow">
|
<span class="flexrow">
|
||||||
<input name="prixLot" class="prixLot flex-shrink" type="number" value="{{prixLot}}"
|
<input name="prixLot" class="prixLot flex-shrink" type="number" value="{{numberFormat prixLot decimals=2 sign=false}}"
|
||||||
data-dtype="Number" />
|
data-dtype="Number" />
|
||||||
<label>Sols</label>
|
<label>Sols</label>
|
||||||
</span>
|
</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user