1
0
Fork 0
Commit Graph

3 Commits

Author SHA1 Message Date
Jonny 0c3caea4f8 feat: Ersteller-Profil in Auftrag-Query aufnehmen 2026-08-19 10:39:38 +02:00
Jonny 4459a6cfcb feat: add fahrt-beenden, stornieren and folgeauftrag suggestion
Adds fahrtBeenden (unterwegs -> abgeschlossen with end_km validation)
and stornieren (any non-terminal status -> storniert) Server Actions,
plus findeFolgeauftrag to surface a linked follow-up order on the
detail page once an order is abgeschlossen.

kannStornieren uses a local admin/disponent role check rather than
canManageUsers, since the latter is scoped to user management and
would incorrectly hide the storno action from disponents.
2026-07-05 22:36:19 +02:00
Jonny 36e65cad48 feat: add server-side data access helpers for auftraege 2026-07-05 17:32:05 +02:00