Commit Graph

21 Commits

Author SHA1 Message Date
1974ea1982 Fix route middleware for leave balances and biometric attendance to allow view-only access 2026-07-01 10:32:09 +08:00
5a95cdf4ef feat: simplify leave applications UI and endpoint access for employee role 2026-06-30 16:10:48 +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
de172942ff feat: add employee self-service sidebar menu and open access routes
- Add getEmployeeNavItems() to app-sidebar.tsx for users with type='employee'
  showing Dashboard, My Leaves, Overtime Requests, My Attendance, My Payslips
- Route employee users to their own nav instead of admin getCompanyNavItems()
- Move GET index routes for leave-applications, attendance-records, overtime,
  and payslips outside permission:manage-* middleware so employees can access
  their own records without admin permissions (controllers already scope by user)
2026-06-30 13:43:11 +08:00
9e93996f50 feat: implement manual pairing and custom sync for biometric attendance 2026-05-25 11:30:18 +08:00
1833344434 chore: remove temporary force-prod-sync utility route 2026-05-19 14:27:05 +08:00
8d1c004ce2 fix: remove storage link from force-prod-sync to prevent exec() error on shared hosting 2026-05-19 14:23:53 +08:00
172937f22d feat: implement ZKTeco local sync agent architecture 2026-05-19 13:51:03 +08:00
b353aad649 feat: add ZKTeco connection testing wizard in branch form 2026-05-19 13:18:04 +08:00
20a79a130d feat: implement multi-branch biometric IP configuration and auto-sync 2026-05-19 11:24:41 +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
60b76ac926 fix(core): add /update route for auto-migration without ssh 2026-04-28 10:06:50 +08:00
fc916244c6 feat(payroll): DOLE compliant payroll automation 2026-04-28 09:50:44 +08:00
a0b2c3332c Update web.php 2026-04-24 15:14:19 +08:00
69ea3f9520 leave fix 2026-04-24 14:57:16 +08:00
dba76f6ce1 leave fix 2026-04-24 14:34:34 +08:00
4fba6c39f9 build fix 2026-04-20 15:10:41 +08:00
5d57a6713b edit payroll 2026-04-20 09:29:59 +08:00
4135d14b96 attendance calendar fix 2026-04-20 09:14:47 +08:00
7b0605a705 employee role seed 2026-04-13 14:53:10 +08:00
273c8e8153 initial commit 2026-04-13 08:16:56 +08:00