achat quantite illimitée

This commit is contained in:
Vincent Vandemeulebrouck
2021-05-20 02:49:48 +02:00
parent 053b949414
commit 862ad1faec
3 changed files with 26 additions and 18 deletions

View File

@ -29,6 +29,7 @@ export class DialogItemAchat extends Dialog {
vendeur: Misc.data(vendeur),
acheteur: Misc.data(acheteur),
tailleLot: event.currentTarget.attributes['data-tailleLot']?.value ?? 1,
quantiteIllimite : event.currentTarget.attributes['data-quantiteIllimite']?.value == 'true',
quantiteNbLots: event.currentTarget.attributes['data-quantiteNbLots']?.value,
nombreLots: 1,
prixLot: prixLot,