All Stories
2-4-15-collections-page-validationBacklogEpic 2.4
Story 2.4.15: Collections Page Validation
**Status:** done **Epic:** 2.4 - Agent Dashboard E2E Validation **Priority:** High **Effort:** 5 hours
Acceptance Criteria
- [ ] **AC1:** Page loads and displays collection data from API (not just useClients)
- [ ] **AC2:** Stats cards show accurate totals: Total Owed, Accounts count, Overdue 7+ Days, Collected Today
- [ ] **AC3:** Search filter works by username and full name
- [ ] **AC4:** Status filter updates displayed collections
- [ ] **AC5:** Collection items display: name, username, status badge, days overdue, email, amount owed
- [ ] **AC6:** Priority highlighting (critical items have visual emphasis)
- [ ] **AC7:** Contact button triggers contact recording flow
- [ ] **AC8:** Record Payment button triggers payment recording flow
- [ ] **AC9:** Empty state displays when no collections exist
- [ ] **AC10:** Loading state displays during data fetch
- [ ] **AC11:** Error handling for API failures
- [ ] **AC12:** Mobile responsive with proper touch targets
Progress
Tasks0/0
Acceptance Criteria12
Total Tasks0