v2.4.0
Partial payment bugfix, undo, search, group filter, scrollable form, rename
Bug Fixes:
- Partial payment bug (critical): paid_amount was being REPLACED instead of added to. Paying 20 then 16 on a 36 debt now correctly results in paid=36, not a loop.
- FAB hiding Pay button: ListView now has 80px bottom padding.
New Features:
- Undo: SnackBar with Undo button appears after adding a credit or recording a payment.
- Search bar: Filter transactions by customer name on the Credit Book screen.
- Group by customer: Toggle button in AppBar switches between individual receipts and aggregated per-customer view.
- Scrollable credit form: New items insert at the top; the whole form scrolls when keyboard is open.
UI Changes:
- Collections renamed to Credit Book.
- Footer row redesigned: Left side shows Paid: X of Y, right side shows balance in big bold.
- Grouped tiles: Show customer name, receipt count, oldest date, and aggregate balance.