From f594af20f5e022d89544ee251ea89a8237e4ff48 Mon Sep 17 00:00:00 2001 From: Fidelis Huber Date: Fri, 9 Oct 2026 20:18:25 +0200 Subject: [PATCH] Fix: Zeilenumbruch-Escape in schein.ts Co-Authored-By: Claude Sonnet 5.5 --- client/src/lib/schein.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/lib/schein.ts b/client/src/lib/schein.ts index 977ed76..facb17d 100644 --- a/client/src/lib/schein.ts +++ b/client/src/lib/schein.ts @@ -38,8 +38,7 @@ const bestellTitel = (kopf: Pick) => kopf. export async function bestellscheinFuerKopf(kopf: ScheinKopf): Promise { const baustelle = kopf.auftraggeber.trim() && kopf.titel.trim() ? `Baustelle: ${kopf.titel.trim()}` : ''; - const notiz = [baustelle, kopf.notiz.trim()].filter(Boolean).join(' -'); + const notiz = [baustelle, kopf.notiz.trim()].filter(Boolean).join('\n'); return api.projekte.create({ ...kopf, titel: bestellTitel(kopf), notiz, typ: 'Bestell' }); }