forked from fahrPool/fahrPool
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. |
||
|---|---|---|
| .. | ||
| actions.ts | ||
| page.tsx | ||