feat/calculator-options #28

Merged
JoeKung merged 3 commits from feat/calculator-options into dev 2026-03-06 12:55:06 +01:00
Showing only changes of commit 042c254691 - Show all commits

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 +