Terminplaner: Hinweistexte nach Recherche, Storno nur bei Preis
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
722c686690
commit
6ec8885bfd
11 files changed
+230
-21
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { neueId, normalisiereEinstellung } from './einstellungen.js'
|
||||
import { hatPreis, neueId, normalisiereEinstellung } from './einstellungen.js'
|
||||
|
||||
/**
|
||||
* Branchen-Vorlagen des Terminplaners (Spezifikation Abschnitt 9, Erstes Oeffnen): Daten, kein Code je Nische.
|
||||
@@ -206,7 +206,8 @@ export function ausVorlage(key, betrieb, now) {
|
||||
regeln: { ...v.regeln, maxOffeneJeEmail: 3, personWaehlbar: true },
|
||||
gastFelder: structuredClone(v.gastFelder),
|
||||
erinnerung: { anbieten: true, stundenVorher: 24 },
|
||||
storno: { text: v.storno },
|
||||
// Stornobedingungen gelten nur fuer Leistungen mit Preis: hat keine Leistung der Vorlage einen, gibt es keinen Vorschlag
|
||||
storno: { text: v.leistungen.some(hatPreis) ? v.storno : '' },
|
||||
recht: { ...v.recht },
|
||||
zahlung: { modus: 'vorort', vorOrtArten: [...ZAHLARTEN] },
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user