Commit Graph

312 Commits

Author SHA1 Message Date
930e71dfd8 fix: make HR shift stats match the table query so counts are accurate 2026-07-15 11:14:46 +08:00
30a5aa6bdc chore: really remove sql file and delete from disk 2026-07-15 11:12:35 +08:00
ccfe622b52 fix: resolve empty string issue with Radix UI Select for branch selection 2026-07-15 11:12:05 +08:00
2bef04470e chore: remove accidental sql dumps and ignore them 2026-07-15 11:08:29 +08:00
cb4f4dfb1c feat: Add branch selection for admins when creating shifts 2026-07-15 11:07:59 +08:00
5a40ae9b75 chore: use PHP_BINARY for artisan commands in git-pull 2026-07-14 11:44:24 +08:00
8f078c1f33 Implement HR Branch isolation and Shift isolation 2026-07-14 11:41:04 +08:00
778bf0f52b Allow HR to view company shifts but protect from edit/delete 2026-07-14 10:55:18 +08:00
94c1ea050f Revert shift templates to be strictly isolated by creator 2026-07-06 13:52:53 +08:00
4691f27fbe Fix UI active state highlighting for My Attendance and Attendance Records 2026-07-06 13:51:21 +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
436dd731d4 Enforce branch isolation on Shift Calendar and fallback on templates 2026-07-06 13:43:11 +08:00
f851f30df5 Fallback PayrollRunController to created_by Auth id for branch managers 2026-07-06 13:16:00 +08:00
611f1539b6 Add migration to revoke manage-any permissions from HR role 2026-07-06 13:10:33 +08:00
9a96bfd4b5 Add opcache_reset to deployment script 2026-07-06 12:59:59 +08:00
359de36252 Fix LeaveBalanceController query relationship for branch_id 2026-07-06 12:54:40 +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
91adb44439 Restore Clock In/Out buttons in UI 2026-07-06 12:29:55 +08:00
f63e078bc6 Build assets for production 2026-07-06 11:53:50 +08:00
0c43ac406b Add enable_clock_in_out toggle for branches 2026-07-06 11:51:11 +08:00
3872cabda2 feat: hide attendance card on employee dashboard unless branch is Jalipa, Mirandilla &. Co. 2026-07-06 11:37:44 +08:00
21a076c5b3 chore: push built frontend assets 2026-07-06 11:33:33 +08:00
9951096e0d feat: group employee personal modules into Self Service folder 2026-07-06 11:28:37 +08:00
687ea154c0 feat: show company menus to employees if permissions are granted, deduplicate dashboard 2026-07-06 11:21:26 +08:00
3ece654965 fix: remove location_exempt from validation and prevent form reset on error 2026-07-06 10:30:34 +08:00
31652ce057 feat: implement out of radius clock in warning modal, remove location exempt UI 2026-07-06 10:23:19 +08:00
ffaaded062 feat: rename location exempt label and add tooltip for clarity 2026-07-06 10:08:58 +08:00
8ed2f9559a feat: improve employee form validation auto-scroll and specific errors 2026-07-06 10:03:54 +08:00
f9bad53efd fix: import Switch component in employee create page 2026-07-06 09:42:18 +08:00
f63c7ea54f feat: embed map in attendance record details modal 2026-07-02 13:46:29 +08:00
31d0ffb9ce fix: completely decouple locate me button from leaflet DOM tree 2026-07-02 13:41:11 +08:00
53f7dde231 fix: intercept leaflet map clicks using L.DomEvent 2026-07-02 13:37:22 +08:00
f562243210 fix: make locate me button clickable by fixing pointer events 2026-07-02 13:33:25 +08:00
8f9a30be12 chore: build frontend assets for locate me button 2026-07-02 13:31:49 +08:00
119148cbcb feat: add locate me button to branch location picker 2026-07-02 13:28:25 +08:00
fe7f19b8a7 chore: set COMPOSER_HOME for shared hosting deployment 2026-07-02 13:24:28 +08:00
49c711d2d9 chore: remove npm build from deployment script 2026-07-02 13:23:46 +08:00
59697d9a54 chore: add composer install to git-pull script 2026-07-02 13:22:25 +08:00
4f6a53b73d chore: lock composer platform php version to 8.2 2026-07-02 13:20:34 +08:00
d40c5662d3 feat: add branch isolation for managers and zkteco biometric tracking 2026-07-02 13:06:09 +08:00
1974ea1982 Fix route middleware for leave balances and biometric attendance to allow view-only access 2026-07-01 10:32:09 +08:00
ec042d377e chore: update compiled production assets 2026-07-01 10:09:43 +08:00
5b7a41927b Add Leave Balances and Biometric Attendance menu items for employees and handle view-only permissions 2026-07-01 10:02:32 +08:00
a5074282aa Fix role permission saving: use admin's modules instead of target role's restricted list 2026-07-01 09:48:52 +08:00
228f4649c0 Add missing modules to employee role config (leave_balances, biometric_attendance, etc.) 2026-07-01 09:45:57 +08:00
15244b0488 Fix permission caching and validation issues 2026-07-01 09:22:17 +08:00
50ad5f45eb fix: resolve permission/role cache not reflecting issues
- UserController: use Spatie syncRoles([$role]) instead of direct Eloquent relations relation sync() which bypassed Spatie model events and cache observers
- RoleController: explicitly call forgetCachedPermissions() on store and update to force cache refresh
- Clear application cache
2026-06-30 16:44:13 +08:00
5a95cdf4ef feat: simplify leave applications UI and endpoint access for employee role 2026-06-30 16:10:48 +08:00