feat(F-179): completed feature

This commit is contained in:
chattie
2026-08-22 19:05:11 +02:00
parent abdb03b6b5
commit 8c8c71d645
11 changed files with 137 additions and 40 deletions

View File

@@ -1,3 +1,3 @@
# F-177Add stale order notifications to admin header
# F-179Fix POS sale Internal Server Error
Create an admin-only stale-order endpoint and header bell. Notify when an order remains in `PENDING` or `SHIPPED` for at least 24 hours since its last state transition. Show badge count, dropdown details, elapsed time and direct links to each order. Refresh automatically and on demand.
Cause: POS writes payment status `COMPLETED`, but database accepts lowercase lifecycle values such as `succeeded`. Repair payment persistence, idempotent replay, and POS order source/session/store/customer snapshots so completed sales are valid and reportable.