admin
a1e6b46817
feat: add Role dropdown to employee create and edit forms
...
- EmployeeController::create(): pass company roles + defaultRole (employee) to Inertia
- EmployeeController::store(): assign role from role_id request field (fallback to 'employee')
- EmployeeController::edit(): pass company roles + currentRoleId to Inertia
- EmployeeController::update(): syncRoles() with selected role_id
- create.tsx: Role <Select> dropdown pre-selected to default employee role
- edit.tsx: Role <Select> dropdown pre-selected to employee's current role
2026-06-30 15:37:58 +08:00
..
2026-05-30 11:13:45 +08:00
2026-04-30 13:20:44 +08:00
2026-04-13 08:16:56 +08:00
2026-05-19 11:24:41 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-06-30 13:51:02 +08:00
2026-04-23 13:51:54 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-06-05 12:09:44 +08:00
2026-05-19 13:35:12 +08:00
2026-05-04 14:37:36 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-30 13:18:51 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-06-30 15:37:58 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-28 09:50:44 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-05-12 11:29:50 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-06-30 13:51:02 +08:00
2026-04-13 08:16:56 +08:00
2026-04-22 11:26:22 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 09:24:02 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-05-05 10:47:35 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-05-18 13:50:18 +08:00
2026-06-30 13:51:02 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 14:53:10 +08:00
2026-04-13 08:16:56 +08:00
2026-04-30 13:46:32 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-28 09:50:44 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00
2026-04-13 08:16:56 +08:00