Merge remote-tracking branch 'origin/feat/calculator-options' into feat/calculator-options
All checks were successful
PR Checks / prettier-autofix (pull_request) Successful in 14s
PR Checks / security-sast (pull_request) Successful in 28s
PR Checks / test-backend (pull_request) Successful in 26s
PR Checks / test-frontend (pull_request) Successful in 1m7s

# Conflicts:
#	frontend/src/app/features/checkout/checkout.component.html
This commit is contained in:
2026-03-05 21:46:23 +01:00

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 +