ec3c00ffff
fix: remove obsolete attendancePolicy relationship calls and update 13th month calculation rules
2026-08-11 09:17:02 +08:00
cf48496148
fix: remove remaining references to AttendancePolicy
2026-07-16 10:31:07 +08:00
4d1879d8ce
refactor: completely remove attendance policies and hardcode 15min grace periods
2026-07-16 10:22:17 +08:00
0871f61e9c
feat: auto-assign default shift and attendance policy if left blank
2026-07-16 09:43:58 +08:00
6d32c5707e
feat: make shift_id and attendance_policy_id required for employees to prevent login issues
2026-07-15 11:52:52 +08:00
8f078c1f33
Implement HR Branch isolation and Shift isolation
2026-07-14 11:41:04 +08:00
0c43ac406b
Add enable_clock_in_out toggle for branches
2026-07-06 11:51:11 +08:00
3ece654965
fix: remove location_exempt from validation and prevent form reset on error
2026-07-06 10:30:34 +08:00
d40c5662d3
feat: add branch isolation for managers and zkteco biometric tracking
2026-07-02 13:06:09 +08:00
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
1eb42942cd
feat: make employee ID field editable on edit page
2026-05-05 11:21:15 +08:00
b63d58620f
Fix shift assignment defaulting to present and update employee creation fields
2026-04-30 13:46:32 +08:00
7b1b5f8f00
Make all employee fields optional except core requirements (name, email, password, salary)
2026-04-30 13:04:26 +08:00
45cd7dc795
Fix 419 Page Expired errors by appending CSRF token to FormData and remove required validation on profile image and contact info fields
2026-04-30 12:57:37 +08:00
69c5b4ff89
fix: resolve FormData rest_days array serialization bug in employee forms
2026-04-30 12:13:53 +08:00
6724528054
Fix employee creation logic and consistency
2026-04-24 15:28:08 +08:00
273c8e8153
initial commit
2026-04-13 08:16:56 +08:00