Buchungskalender: Abgleich – G22/K33-Platzhalter

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
knsoandClaude Opus 5.5 committed 2026-10-07 14:58:50 +00:00
1 parent 74543b75c3
commit e5793fd151
6 files changed
+15 -10

No files matched your search

+2 -1
View File
@@ -95,7 +95,7 @@ export async function anGast(art, ctx, anfrage, extra = {}) {
const blocks = {}
let anhang = null
if (art !== 'G16' && art !== 'G18' && art !== 'G21' && art !== 'G20') values.stornobedingungen = await stornoText(anfrage)
if (art !== 'G16' && art !== 'G18' && art !== 'G21' && art !== 'G20' && art !== 'G22') values.stornobedingungen = await stornoText(anfrage)
if (art === 'G17' || art === 'G19' || art === 'G20') values.gesamt = formatEuro(anfrage.summen?.bruttoCent ?? 0)
if (art === 'G17' || art === 'G19') values.posten_text = postenText(anfrage.posten)
if (art === 'G17') {
@@ -164,6 +164,7 @@ export async function anVermieter(template, ctx, values = {}) {
zahlart_text: ZAHLART[anfrage.zahlart] ?? LEER,
})
}
if (!anfrage) vorgabe.kunde_name = text(ctx?.kundeName) || (await kundenName(ctx))
const alle = { portal_url: portalUrl(ctx), ...vorgabe, ...eigene }
if (template === 'T22') {
const r = await sendAdminNotice({ template, values: nurPlatzhalter(template, alle) })