style: apply prettier formatting

This commit is contained in:
printcalc-ci
2026-03-05 17:31:15 +00:00
parent 235fe7780d
commit 811e0f441b
2 changed files with 8 additions and 4 deletions

View File

@@ -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 +

View File

@@ -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>