fix(front-end): cost displayed in order
All checks were successful
Build, Test and Deploy / test-backend (push) Successful in 1m19s
Build, Test and Deploy / build-and-push (push) Successful in 22s
Build, Test and Deploy / deploy (push) Successful in 8s

This commit is contained in:
2026-02-13 18:22:58 +01:00
parent 06a036810a
commit 4d559901eb
3 changed files with 9 additions and 3 deletions

View File

@@ -132,15 +132,19 @@
<div class="summary-totals" *ngIf="quoteSession() as session"> <div class="summary-totals" *ngIf="quoteSession() as session">
<div class="total-row"> <div class="total-row">
<span>{{ 'CHECKOUT.SUBTOTAL' | translate }}</span> <span>{{ 'CHECKOUT.SUBTOTAL' | translate }}</span>
<span>{{ (session.totalPrice - session.setupCostChf) | currency:'CHF' }}</span> <span>{{ session.itemsTotalChf | currency:'CHF' }}</span>
</div> </div>
<div class="total-row"> <div class="total-row">
<span>{{ 'CHECKOUT.SETUP_FEE' | translate }}</span> <span>{{ 'CHECKOUT.SETUP_FEE' | translate }}</span>
<span>{{ session.setupCostChf | currency:'CHF' }}</span> <span>{{ session.session.setupCostChf | currency:'CHF' }}</span>
</div>
<div class="total-row">
<span>{{ 'CHECKOUT.SHIPPING' | translate }}</span>
<span>{{ 9.0 | currency:'CHF' }}</span>
</div> </div>
<div class="grand-total-row"> <div class="grand-total-row">
<span>{{ 'CHECKOUT.TOTAL' | translate }}</span> <span>{{ 'CHECKOUT.TOTAL' | translate }}</span>
<span>{{ session.totalPrice | currency:'CHF' }}</span> <span>{{ (session.grandTotalChf + 9.0) | currency:'CHF' }}</span>
</div> </div>
</div> </div>
</app-card> </app-card>

View File

@@ -159,6 +159,7 @@
"ORDER_SUMMARY": "Order Summary", "ORDER_SUMMARY": "Order Summary",
"SUBTOTAL": "Subtotal", "SUBTOTAL": "Subtotal",
"SETUP_FEE": "Setup Fee", "SETUP_FEE": "Setup Fee",
"SHIPPING": "Shipping",
"TOTAL": "Total", "TOTAL": "Total",
"PLACE_ORDER": "Place Order", "PLACE_ORDER": "Place Order",
"PROCESSING": "Processing...", "PROCESSING": "Processing...",

View File

@@ -138,6 +138,7 @@
"ORDER_SUMMARY": "Riepilogo Ordine", "ORDER_SUMMARY": "Riepilogo Ordine",
"SUBTOTAL": "Subtotale", "SUBTOTAL": "Subtotale",
"SETUP_FEE": "Costo Setup", "SETUP_FEE": "Costo Setup",
"SHIPPING": "Spedizione",
"TOTAL": "Totale", "TOTAL": "Totale",
"PLACE_ORDER": "Conferma Ordine", "PLACE_ORDER": "Conferma Ordine",
"PROCESSING": "Elaborazione...", "PROCESSING": "Elaborazione...",