2022-12-06 01:30:12 +01:00
|
|
|
<form class="rdd-roll-dialog">
|
2021-05-07 17:27:02 +02:00
|
|
|
<img class="chat-icon" src="{{item.img}}" title="{{item.name}}" alt="{{item.name}}" />
|
|
|
|
<h4>{{item.name}}</h4>
|
|
|
|
<div class="flexcol">
|
|
|
|
<div class="flexrow flex-group-left">
|
2023-01-03 23:46:08 +01:00
|
|
|
{{#if quantiteIllimite}}
|
|
|
|
<label>Quantité illimitée</label>
|
|
|
|
{{else}}
|
2021-05-07 17:27:02 +02:00
|
|
|
<label>Quantité disponible</label>
|
|
|
|
<label>{{quantiteMax}}</label>
|
2023-01-03 23:46:08 +01:00
|
|
|
{{/if}}
|
2021-05-07 17:27:02 +02:00
|
|
|
</div>
|
|
|
|
<div class="flexrow flex-group-left">
|
|
|
|
<label>Nombre de lots</label>
|
|
|
|
<div class="flexrow">
|
2023-01-28 16:34:09 +01:00
|
|
|
{{#unless options.isOwned}}
|
2021-05-07 17:27:02 +02:00
|
|
|
<input name="quantiteIllimite" class="quantiteIllimite flex-shrink" type="checkbox" {{#if
|
|
|
|
quantiteIllimite}}checked{{/if}} />
|
2023-01-03 23:46:08 +01:00
|
|
|
<label class="label-quantiteIllimite flex-shrink">disponibles</label>
|
2021-05-07 17:27:02 +02:00
|
|
|
{{/unless}}
|
2022-12-20 00:50:36 +01:00
|
|
|
<input name="quantiteNbLots" class="quantiteNbLots flex-shrink number-x2" type="number" min="1"
|
2021-05-07 17:27:02 +02:00
|
|
|
max="{{quantiteMaxLots}}" value="{{quantiteNbLots}}" data-dtype="Number" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="flexrow flex-group-left">
|
|
|
|
<label for="tailleLot">Taille d'un lot</label>
|
2023-01-03 23:46:08 +01:00
|
|
|
<span class="flexrow">
|
|
|
|
<input name="tailleLot" class="tailleLot flex-shrink number-x2" type="number" min="1"
|
|
|
|
max="{{quantiteMax}}" value="{{tailleLot}}" data-dtype="Number" />
|
|
|
|
</span>
|
2021-05-07 17:27:02 +02:00
|
|
|
</div>
|
|
|
|
<div class="flexrow flex-group-left">
|
2023-01-03 01:03:05 +01:00
|
|
|
<label>Prix unitaire</label>
|
|
|
|
<label>{{numberFormat prixOrigine decimals=2 sign=false}} Sols</label>
|
2021-05-07 17:27:02 +02:00
|
|
|
</div>
|
|
|
|
<div class="flexrow flex-group-left">
|
|
|
|
<label for="prixLot">Prix du lot</label>
|
|
|
|
<span class="flexrow">
|
2023-01-03 23:46:08 +01:00
|
|
|
<input name="prixLot" class="prixLot flex-shrink number-x3" type="number" value="{{numberFormat prixLot decimals=2 sign=false}}"
|
2021-05-07 17:27:02 +02:00
|
|
|
data-dtype="Number" />
|
|
|
|
<label>Sols</label>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|