Payfrit Works iOS
Find a file
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
build-sim Initial commit: Payfrit Works iOS native app 2026-02-01 23:38:34 -08:00
memory Add Mac context memory for bot spawning 2026-03-20 14:48:48 -07:00
PayfritWorks fix: use backend-authoritative change amount for cash transactions 2026-03-23 18:34:18 +00:00
PayfritWorks.xcodeproj Add role-aware cash collection for staff vs admin 2026-03-04 20:01:24 -08:00
.gitignore Initial commit: Payfrit Works iOS native app 2026-02-01 23:38:34 -08:00
ExportOptions.plist Add ios-marketing idiom for App Store icon display 2026-02-10 19:37:59 -08:00
payfrit-favicon-light-outlines.svg Initial commit: Payfrit Works iOS native app 2026-02-01 23:38:34 -08:00
payfrit-logo-dark-bg.svg Initial commit: Payfrit Works iOS native app 2026-02-01 23:38:34 -08:00
payfrit-logo-light-bg.svg Initial commit: Payfrit Works iOS native app 2026-02-01 23:38:34 -08:00
payfrit-logo-white.svg Initial commit: Payfrit Works iOS native app 2026-02-01 23:38:34 -08:00
test-walkthrough.html Migrate API endpoints from CFML to PHP 2026-03-14 17:16:36 -07:00