16 lines
740 B
Markdown
16 lines
740 B
Markdown
# Implementer — ORDER-STATUS-COMPLETED
|
|
|
|
Added COMPLETED order state to admin dashboard, orders list, and order detail pages with lowercase label "completado".
|
|
|
|
## Files
|
|
- `apps/admin/src/types/index.ts` — added COMPLETED to OrderState union
|
|
- `apps/admin/src/app/(dashboard)/page.tsx` — STATE_LABELS + STATE_COLORS for COMPLETED
|
|
- `apps/admin/src/app/(dashboard)/orders/page.tsx` — same + added to ORDER_STATES filter
|
|
- `apps/admin/src/app/(dashboard)/orders/[id]/page.tsx` — same + ALLOWED_TRANSITIONS + ACTION_LABELS
|
|
- `src/modules/admin-stats/api/stats.routes.ts` — revenueToday now includes COMPLETED
|
|
|
|
## Validation
|
|
- `cd project && npm run build` ✅
|
|
- `cd project/apps/admin && npm run build` ✅
|
|
- `git diff --check` ✅
|