payfrit-works-ios/PayfritWorks/Services
Schwifty 873cbba2aa 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-24 00:41:10 +00:00
..
APIService.swift fix: use backend-authoritative change amount for cash transactions 2026-03-24 00:41:10 +00:00
AuthStorage.swift Initial commit: Payfrit Works iOS native app 2026-02-01 23:38:34 -08:00
BeaconScanner.swift iOS parity fixes from Android comparison 2026-02-16 14:07:24 -08:00
BeaconShardPool.swift Add BeaconShardPool for iBeacon shard UUID scanning 2026-02-06 14:46:09 -08:00
ChatService.swift iOS parity fixes from Android comparison 2026-02-16 14:07:24 -08:00