Kundenansicht neu P7: K01 und K12 behaupten für Betriebe kein Sofortbeginn-Verlangen

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Sonnet 5.5 committed 2026-10-16 20:05:06 +00:00
1 parent 4e0e42f633
commit 528ca0875e
5 files changed
+134 -8

No files matched your search

+2 -1
View File
@@ -636,7 +636,8 @@ async function sendContractConfirmation(subDoc, fallbackName = '') {
hosting: productKey === 'hosting',
wartung: productKey === 'wartung' && isTermsV4OrNewer(terms.version),
wartung_v3: productKey === 'wartung' && !isTermsV4OrNewer(terms.version),
sofortbeginn: !lateStart,
// Fassung 6: ein Betrieb (Sofortbeginn ohne Zeitstempel) hat nichts verlangt; die Mail behauptet es nicht
sofortbeginn: !lateStart && !(istNeueFassung(subDoc.termsVersion) && !subDoc.earlyStartConsentAt),
beginn_nach_widerrufsfrist: lateStart,
},
attachments: pdf ? [{ filename: attachment.filename, content: pdf, contentType: 'application/pdf' }] : [],