Commit Graph

56 Commits

Author SHA1 Message Date
8f078c1f33 Implement HR Branch isolation and Shift isolation 2026-07-14 11:41:04 +08:00
82d5592aec Fix HR users with employee type bypassing branch view in Attendance Records 2026-07-06 13:49:05 +08:00
a3903ffe34 Revert my_attendance to strictly personal for HR 2026-07-06 13:47:18 +08:00
cde0fe3bff Allow HR users to view branch employees in My Attendance calendar 2026-07-06 13:45:59 +08:00
755650c3b3 Fix HR branch isolation for leave balances and attendance records, and separate My Attendance 2026-07-06 12:50:37 +08:00
31652ce057 feat: implement out of radius clock in warning modal, remove location exempt UI 2026-07-06 10:23:19 +08:00
d40c5662d3 feat: add branch isolation for managers and zkteco biometric tracking 2026-07-02 13:06:09 +08:00
75ee8cacb8 fix: employee self-service - open controller access and clock-in/out
- LeaveApplicationController: add employee branch to bypass can() check
- AttendanceRecordController: add employee calendar view (own records only)
  + open clockIn/clockOut to employee type (no permission required)
- PayslipController: add employee branch to show own payslips only
- routes/web.php: remove permission:clock-in-out middleware from clock routes
- employee-dashboard.tsx: always show clock in/out buttons for employees
- Rebuild frontend assets
2026-06-30 13:51:02 +08:00
965388330b fix: remove RDOT and hide resigned employees from calendar 2026-06-08 14:49:48 +08:00
33a2dbed16 feat: implement multi-branch attendance tracking and filter updates 2026-05-25 11:34:04 +08:00
98d9dab18f fix: eager load branch on correct relation 2026-05-19 16:57:09 +08:00
03865bf03e feat: add branch filtering and column to attendance records 2026-05-19 16:47:07 +08:00
e07927abe1 Fix: Always inject holiday metadata into attendance record so banner shows even when employee worked 2026-05-12 12:12:31 +08:00
1c3b0e25e3 Feat: Add dynamic holiday overlay to Attendance Calendar 2026-05-11 17:43:58 +08:00
bda02061b4 fix: overtime approval workflow - prevent absent override on valid present records, async OT submission, correct employee mapping 2026-05-05 10:47:35 +08:00
e3c4fe2190 Fix leave visibility on dashboard calendar and attendance grid 2026-05-04 14:37:36 +08:00
ab3e4fa862 fix(attendance): correctly map Half Day (HD) status in calendar cell instead of forcing Present (P) 2026-04-30 14:41:42 +08:00
4fe67fe6c4 Fix attendance record saving validation when employee default shift is missing 2026-04-30 13:55:10 +08:00
b63d58620f Fix shift assignment defaulting to present and update employee creation fields 2026-04-30 13:46:32 +08:00
30c24b707b fix: relax attendance time validation and fix calendar status display 2026-04-30 13:32:52 +08:00
69c5b4ff89 fix: resolve FormData rest_days array serialization bug in employee forms 2026-04-30 12:13:53 +08:00
67625a1ae2 Fix: preserve record shift_id on manual attendance update instead of overwriting with employee default 2026-04-29 21:07:32 +08:00
a3707af349 Add shift_grace_period to attendance record detail 2026-04-29 20:21:30 +08:00
0af2431c99 Fix: remove non-existent working_hours column, calculate from shift times 2026-04-29 19:25:22 +08:00
c4d24427fa Fix attendance calendar to read shift from attendance record instead of employee default 2026-04-29 19:23:05 +08:00
6b6763fec9 fix(attendance): handle rest_day status in db, seeder, and UI 2026-04-28 22:24:48 +08:00
2419abfb21 fix(hr): automatically show RD status for rest days based on global settings even if no record exists 2026-04-28 18:28:06 +08:00
6d75d3afc0 feat(hr): added rest day support to attendance records 2026-04-28 18:23:41 +08:00
486b7e7e10 feat(hr): set overtime threshold to 1 hour 2026-04-28 18:19:05 +08:00
e9d13413e2 feat(hr): added grace period support to late detection logic 2026-04-28 18:16:54 +08:00
ec97bd62dc fix(hr): added dynamic absent detection to calendar grid 2026-04-28 18:15:28 +08:00
29ce088592 fix(hr): ensure positive workedHours and robust HD detection 2026-04-28 18:13:13 +08:00
2553fba614 fix(hr): support early arrivals for midnight shifts and crossover logic 2026-04-28 18:07:54 +08:00
68dbf494c5 fix(hr): robust HD detection and added debug logs 2026-04-28 18:03:37 +08:00
2da3068962 fix(hr): resolved string time comparison bug and improved dynamic HD detection 2026-04-28 18:02:17 +08:00
f425526a32 fix(hr): prioritized Half Day (H) status in calendar grid and added dynamic detection 2026-04-28 18:00:15 +08:00
6a7348edaa fix(hr): remove default times and fix calendar status precedence for Late/Early 2026-04-28 17:54:15 +08:00
40d2df9615 feat(hr): enforce shift requirement for attendance entry 2026-04-28 17:45:36 +08:00
4caf196f76 refactor(hr): reorder attendance modal fields and remove manual override logic 2026-04-28 17:29:45 +08:00
254347905f feat(hr): add manual attendance override and optimize payroll/attendance form layouts 2026-04-28 17:13:57 +08:00
fc916244c6 feat(payroll): DOLE compliant payroll automation 2026-04-28 09:50:44 +08:00
69ea3f9520 leave fix 2026-04-24 14:57:16 +08:00
040c4df43c Update AttendanceRecordController.php 2026-04-24 14:52:24 +08:00
e82a9b6c57 fix build 2026-04-24 14:51:11 +08:00
dba76f6ce1 leave fix 2026-04-24 14:34:34 +08:00
60c760bf14 buioldfix 2026-04-24 14:05:46 +08:00
b7aa318ae2 build fix 2026-04-23 13:51:54 +08:00
604c1ab317 cache issue 2026-04-23 10:20:44 +08:00
dd071f6d8a fix hanging 2026-04-23 10:15:50 +08:00
5f16afd5aa test 2026-04-22 11:31:21 +08:00