This repository has been archived on 2026-03-21. You can view files and clone it, but cannot push or open issues or pull requests.
payfrit-biz/api/portal
John Mizerek d1910a7d34 Add staff role system: Staff keeps cash, Manager/Admin collect for restaurant
- Create tt_StaffRoles lookup table (Staff, Manager, Admin)
- Add RoleID column to Employees table (default: Staff)
- Wire portal role dropdown to addTeamMember API
- Return RoleName in team list and RoleID to Android
- Skip worker payout ledger and cash_debit for Manager/Admin roles
  on cash task completion (they collect on behalf of the restaurant)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 11:19:22 -08:00
..
addTeamMember.cfm Add staff role system: Staff keeps cash, Manager/Admin collect for restaurant 2026-02-28 11:19:22 -08:00
getSettings.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
myBusinesses.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
reassign_employees.cfm Normalize database column and table names across entire codebase 2026-01-30 15:39:12 -08:00
searchUser.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
stats.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
team.cfm Add staff role system: Staff keeps cash, Manager/Admin collect for restaurant 2026-02-28 11:19:22 -08:00
updateSettings.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00