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 effectiveSetupCost =
Number(sessionData?.setupCostChf ?? session?.setupCostChf ?? 0);
const effectiveSetupCost = Number(
sessionData?.setupCostChf ?? session?.setupCostChf ?? 0,
);
const fallbackTotal =
Number(sessionData?.itemsTotalChf || 0) +
effectiveSetupCost +

View File

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