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