Problem: As orders accumulate over years, the order list becomes cluttered with old completed/cancelled orders, making it hard to find recent ones.
Solution: Add a date range filter chip row (Ohin / Semana ida / Fulán ida / 3 Fulán / Hotu) to OrderListScreen. Combine with the existing status filter. The DAO already has getOrdersByDate() — just need a combined status + date query.
Scope:
- Add DAO query:
getOrdersByStatusAndDatePrefix(status, datePrefix)
- Expose in OrderRepository
- Add selected date range to OrderViewModel/OrderUiState
- Add date range chip row in OrderListScreen
- No schema changes needed
Problem: As orders accumulate over years, the order list becomes cluttered with old completed/cancelled orders, making it hard to find recent ones.
Solution: Add a date range filter chip row (
Ohin / Semana ida / Fulán ida / 3 Fulán / Hotu) to OrderListScreen. Combine with the existing status filter. The DAO already hasgetOrdersByDate()— just need a combined status + date query.Scope:
getOrdersByStatusAndDatePrefix(status, datePrefix)