Files
paliad/frontend
m bde4b57099 feat: remove billing reference UI + add Notizen (description) field at every level
1. **Remove Billing-Referenz from the client create form.** Per m: the field stays
   in the DB (projekte.billing_reference column) but no longer in the UI. Dropped
   the input + label from akten-neu.tsx, the payload write from akten-neu.ts, and
   the projekte.field.billing_reference i18n keys (DE + EN).

2. **Add a Notizen (Notes) free-text field to project create + detail at every level.**
   Uses the existing projekte.description column (added in migration 018 — nullable
   text). Not to be confused with the polymorphic Notizen feature (threaded notes
   per projekt/frist/termin), which stays as-is.

   - akten-neu.tsx: textarea (rows=4) inserted above the Status select, rendered
     for every type (not type-conditional). akten-neu.ts: payload.description set
     on submit when non-empty.
   - akten-detail.tsx: new description block between header + tabs with
     akte-description-display (read) + akte-description-edit (textarea, edit mode).
     Edit/save flow on initTitleEdit extended to also PATCH description. Batch PATCH:
     only sends keys that actually changed.
     renderHeader() populates both, tags the wrapper data-empty=1 when nothing set
     (CSS can hide when empty if desired).
   - i18n: projekte.field.description / projekte.field.description.placeholder /
     projekte.detail.description.heading in DE (Notizen) + EN (Notes).

go build/vet/test + bun run build all clean.
2026-04-20 17:14:11 +02:00
..