payfrit-works-ios/PayfritWorks
Schwifty ece36cb484 feat: add customer rating dialog on task completion
When a worker completes a service point task and the API requires a
rating, a dialog now appears with 4 yes/no questions matching Android:
- Was the customer prepared?
- Was the scope clear?
- Was the customer respectful?
- Would you serve them again?

The rating is submitted with the task completion request via the
workerRating payload. Also handles rating_required during beacon
auto-complete by dismissing the countdown and showing the dialog.

Files changed:
- RatingDialog.swift (new) — rating dialog UI with toggle chips
- APIService.swift — added workerRating param + ratingRequired error
- TaskDetailScreen.swift — rating flow in completeTask + auto-complete
- project.pbxproj — added RatingDialog.swift to Xcode project
2026-03-22 12:30:18 +00:00
..
Assets.xcassets Add ios-marketing idiom for App Store icon display 2026-02-10 19:37:59 -08:00
en.lproj Add IS_DEV flag, dev ribbon, new app icon, and UI improvements 2026-02-04 22:07:03 -08:00
Models Migrate API endpoints from CFML to PHP 2026-03-14 17:16:36 -07:00
Services feat: add customer rating dialog on task completion 2026-03-22 12:30:18 +00:00
ViewModels Add role-aware cash collection for staff vs admin 2026-03-04 20:01:24 -08:00
Views feat: add customer rating dialog on task completion 2026-03-22 12:30:18 +00:00
Widgets Add IS_DEV flag, dev ribbon, new app icon, and UI improvements 2026-02-04 22:07:03 -08:00
Info.plist Add ios-marketing idiom for App Store icon display 2026-02-10 19:37:59 -08:00
PayfritWorksApp.swift Add IS_DEV flag, dev ribbon, new app icon, and UI improvements 2026-02-04 22:07:03 -08:00