feat(front-end): gestione quantità massima e price for piece
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<div class="checkout-form-section">
|
||||
<!-- Error Message -->
|
||||
<div *ngIf="error" class="error-message">
|
||||
{{ error }}
|
||||
{{ error | translate }}
|
||||
</div>
|
||||
|
||||
<form [formGroup]="checkoutForm" (ngSubmit)="onSubmit()" *ngIf="!error">
|
||||
@@ -142,7 +142,12 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-price">
|
||||
{{ (item.unitPriceChf * item.quantity) | currency:'CHF' }}
|
||||
<span class="item-total-price">
|
||||
{{ (item.unitPriceChf * item.quantity) | currency:'CHF' }}
|
||||
</span>
|
||||
<small class="item-unit-price" *ngIf="item.quantity > 1">
|
||||
{{ item.unitPriceChf | currency:'CHF' }} {{ 'CHECKOUT.PER_PIECE' | translate }}
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user