feat/calculator-options #26
@@ -384,8 +384,9 @@ export class QuoteEstimatorService {
|
||||
);
|
||||
|
||||
const grandTotal = Number(sessionData?.grandTotalChf);
|
||||
const effectiveSetupCost =
|
||||
Number(sessionData?.setupCostChf ?? session?.setupCostChf ?? 0);
|
||||
const effectiveSetupCost = Number(
|
||||
sessionData?.setupCostChf ?? session?.setupCostChf ?? 0,
|
||||
);
|
||||
const fallbackTotal =
|
||||
Number(sessionData?.itemsTotalChf || 0) +
|
||||
effectiveSetupCost +
|
||||
|
||||
@@ -331,11 +331,14 @@
|
||||
<div class="total-row">
|
||||
<span>{{ "CHECKOUT.SETUP_FEE" | translate }}</span>
|
||||
<span>{{
|
||||
(session.baseSetupCostChf ?? session.session.setupCostChf)
|
||||
session.baseSetupCostChf ?? session.session.setupCostChf
|
||||
| currency: "CHF"
|
||||
}}</span>
|
||||
</div>
|
||||
<div class="total-row" *ngIf="(session.nozzleChangeCostChf || 0) > 0">
|
||||
<div
|
||||
class="total-row"
|
||||
*ngIf="(session.nozzleChangeCostChf || 0) > 0"
|
||||
>
|
||||
<span>Cambio Ugello</span>
|
||||
<span>{{ session.nozzleChangeCostChf | currency: "CHF" }}</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user