--- id: 15-2 title: 15-2 Potential Clients List with Type Filter status: Done date: 2026-09-27 parent: 15 --- ## Description As an admin I want to view a list of potential clients with filtering capabilities So that I can easily browse and find specific prospective clients. | File | Purpose | |------|---------| | resources/views/livewire/admin/potential-clients/index.blade.php | List Volt component | | routes/web.php | Add route for potential clients |. Full implementation history: docs/stories/story-15.2-list-filter.md ## Acceptance Criteria - [ ] AC1: Admin Navigation: Given the admin is logged in; When viewing the admin sidebar; Then a "Potential Clients" menu item is visible with an appropriate icon - [ ] AC2: List Page Header: Given the admin navigates to `/admin/potential-clients`; When the page loads; Then display: - [ ] AC3: Type Filter: Given the potential clients list; When the filter is displayed; Then a type dropdown includes: - [ ] AC4: Search Functionality: Given the potential clients list; When the admin types in the search box; Then filter potential clients by name, email, or phone - [ ] AC5: List Table Display: Given potential clients exist; When viewing the list; Then display a table with columns: - [ ] AC6: Type Badges: Given potential clients in the list; When displaying the type; Then show colored badges: - [ ] AC7: Empty State: Given no potential clients exist; When viewing the list; Then display an empty state with: - [ ] AC8: Pagination: Given more than 10 potential clients exist; When viewing the list; Then display pagination controls - [ ] AC9: Clear Filters: Given search or type filter is active; When admin clicks "Clear filters"; Then reset all filters to defaults - [ ] AC10: RTL Support: Given Arabic language is selected; When viewing the potential clients list; Then all text and layout align correctly right-to-left