fa6cc08830
Fix: add payslip relationship on PayrollEntry and update titleText brand setting
2026-09-14 17:24:30 +08:00
031eb2ddd7
chore(onboarding): update questionnaire PDF, remove client header/sign-off, and rebrand to Statlab
2026-09-14 09:32:16 +08:00
20f14c3719
feat(payroll,leaves): enforce branch scoping for payroll/payslips/salaries, restrict employee role to own leaves, and set payslip header to SCX Software
2026-09-10 15:15:57 +08:00
ef1aa7cf24
feat(biometrics): enforce strict branch scoping on biometric attendance and sync
...
- Restrict biometric attendances query and grouped records strictly to employees of assigned branch
- Scope bulk sync (syncAll) to only sync biometric records for employees within the user's branch
- Guard individual sync and custom sync against processing employees from foreign branches
- Tighten attendance records query to strictly filter by employee assigned branch
- Add feature test verifying biometric attendance isolation and permission guards
2026-09-10 11:32:48 +08:00
33f776c6b2
feat(auth): enforce strict branch scoping for overtime requests, attendance regularizations, and 13th month pay
...
- Restrict overtime applications query, submission, approval, and attendance details to assigned branch
- Restrict attendance regularization listing, statistics, and dropdowns to assigned branch
- Restrict 13th month pay batch generation, historical runs, entry updates, approvals, and CSV exports to assigned branch
- Add feature tests in BranchScopedAccessTest for overtime and 13th month isolation
2026-09-10 11:22:15 +08:00
7f467600e9
feat(auth): enforce strict branch scoping for branch-assigned HR and staff accounts
...
- Introduce authBranchId() helper to resolve assigned branch while allowing company admin/superadmin cross-branch oversight
- Restrict branch, department, and employee listings and mutations to assigned branch for branch-scoped accounts
- Scope attendance records, biometric logs, leave applications/balances, payslips, shifts, and announcements by assigned branch
- Add comprehensive automated feature tests in BranchScopedAccessTest to prevent branch cross-visibility regression
2026-09-10 11:14:24 +08:00
4b350c4628
feat: replace payslip collapse with expanded line item columns matching spreadsheet
2026-09-04 14:28:10 +08:00
a0036101c9
feat: add collapsible payslip line item breakdown in payroll run view
2026-09-04 12:30:13 +08:00
cf27d8f90b
fix(biometrics): ensure company admin and superadmin accounts have full biometric attendance visibility
2026-09-01 16:35:52 +08:00
b992a49fec
fix(permissions): resolve manager role permissions for leave applications and biometric attendance
2026-08-28 13:16:25 +08:00
d4788e3c9a
fix(deploy): clear stale bootstrap cache files before artisan boot
2026-08-11 09:22:41 +08:00
03ea015c38
fix(deploy): use git fetch and git reset --hard origin/main in deployment script
2026-08-11 09:19:48 +08:00
ec3c00ffff
fix: remove obsolete attendancePolicy relationship calls and update 13th month calculation rules
2026-08-11 09:17:02 +08:00
a77fd9a575
fix(salaries): display auto bracket statutory contributions in employee salaries components column
2026-07-23 10:40:14 +08:00
11a55cd6de
Allow inline editing of monthly earnings breakdown for 13th month backtracking
2026-07-22 10:49:03 +08:00
7b7cdf3f03
Include compiled production assets for 13th Month Pay sidebar
2026-07-22 10:40:02 +08:00
719e24a239
Support cross-year date range selection (e.g. Nov 2025 to Dec 2026) for 13th Month Pay
2026-07-22 10:25:28 +08:00
dfbbeb0ab2
Implement 13th Month Pay module with DOLE compliance, back-year filters, and bank CSV export
2026-07-22 10:22:50 +08:00
3bbe070204
Add migration to fix default shifts for Accounting branch employees
2026-07-22 09:23:05 +08:00
604be55d61
Update calendar view to automatically mark missing past days as Absent
2026-07-20 12:19:03 +08:00
dbad86038a
Fix negative late/early hours bug and add migration to recalculate all corrupted attendance statuses
2026-07-20 12:08:46 +08:00
a3fc20f86c
Add migration to delete phantom attendance records generated by older biometric sync bug
2026-07-20 12:03:33 +08:00
45d93417b7
Fix biometric punch mixup and add migration to correct existing corrupted attendance records
2026-07-20 11:45:46 +08:00
f6df0ac028
build: update frontend assets to remove leftover attendance policies references
2026-07-16 10:57:18 +08:00
a610525912
fix: correctly display clock in/out time based on app timezone settings
2026-07-16 10:38:08 +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
bb331f213f
fix: expose location_warning to inertia flash props so clock in modal works
2026-07-16 09:51:38 +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
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