payfrit-works-ios/PayfritWorks/Views
Schwifty 46e008b20b fix: use backend-authoritative change amount for cash transactions
Instead of calculating change client-side (which doesn't account for
balance applied, fees, etc.), the app now uses the Change value returned
by the /tasks/complete.php endpoint after processing.

Changes:
- APIService.completeTask now returns CashCompletionResult with backend values
- Added CashCompletionResult struct (cashReceived, orderTotal, change, fees, routing)
- CashCollectionSheet shows confirmed backend change after completion
- Added ratingRequired error case to APIError enum
- Client-side estimate still shown as preview before confirmation
2026-03-23 18:34:18 +00:00
..
AboutScreen.swift Add debug logging for orderTotal 2026-02-17 09:35:19 -08:00
AccountScreen.swift Add ios-marketing idiom for App Store icon display 2026-02-10 19:37:59 -08:00
BusinessSelectionScreen.swift Migrate API endpoints from CFML to PHP 2026-03-14 17:16:36 -07:00
ChatScreen.swift Add ios-marketing idiom for App Store icon display 2026-02-10 19:37:59 -08:00
LoginScreen.swift Add ios-marketing idiom for App Store icon display 2026-02-10 19:37:59 -08:00
MyTasksScreen.swift Add ios-marketing idiom for App Store icon display 2026-02-10 19:37:59 -08:00
ProfileScreen.swift Add role-aware cash collection for staff vs admin 2026-03-04 20:01:24 -08:00
RootView.swift Add IS_DEV flag, dev ribbon, new app icon, and UI improvements 2026-02-04 22:07:03 -08:00
TaskDetailScreen.swift fix: use backend-authoritative change amount for cash transactions 2026-03-23 18:34:18 +00:00
TaskListScreen.swift Add ios-marketing idiom for App Store icon display 2026-02-10 19:37:59 -08:00