Commit Graph

23 Commits

Author SHA1 Message Date
0a9b564fdf fix: correctly calculate holiday premium addition for monthly earners 2026-05-18 14:17:26 +08:00
64cc09ad15 Fix: Deduct 1.5h meal break from ND hours per day + flat 10% rate
Biometrics doesn't track break in/out, inflating night_diff_hours.
Deduct 1.5h per night shift day for the untracked meal break.
Also removed OT multiplier compounding from ND — all ND hours
use flat hourlyRate × 10% per client policy.

Dinh Chavez: 24h raw → 12h adjusted = ₱114.75 (exact client match)
2026-05-15 22:08:37 +08:00
1018f04fec Fix: Use attendance record as ground truth for rest day instead of weekend default
Employees who work Saturdays (like Ana Regina) were having their LWOP on Saturdays ignored because the system treated all Saturdays as rest days. Now the attendance record's is_rest_day flag overrides the weekend assumption.
2026-05-15 19:22:58 +08:00
ca48602a76 Fix: Prorate holiday pay for daily employees, flat 10% ND rate, detect LWOP from absent status 2026-05-15 19:16:54 +08:00
6f901c2e72 Fix: Extract holiday pay from basic salary, remove Rest Day Premium, fix holiday count in payslip summary 2026-05-14 13:05:42 +08:00
f04c90ffc4 Fix: Holiday pay logic - prevent double pay for monthly employees, don't count special holidays as absences 2026-05-12 12:47:51 +08:00
1d745f52a7 Feat: Add Holiday Type dropdown (Regular 100% / Special Non-Working 30%) for payroll premium rates 2026-05-12 11:29:50 +08:00
cd05e3a4f8 Fix: Ensure Time Exempt status still deducts Tardiness and Undertime 2026-05-11 12:44:17 +08:00
511510114c Fix: Overhaul monthly earners Base Salary logic to start at Cut-off Max and deduct absences 2026-05-11 12:37:13 +08:00
827135d343 Fix: Stop double statutory deductions for daily earners, enforce overtime approval, and reflect un-synced birthday leaves 2026-05-11 12:21:21 +08:00
3047b1a504 Fix: Resolves payroll computation inaccuracies, Phantom Holiday Pay, LWOP deductions, Rank & File daily wage formulas, and Payslip UI navigation lock-in issues identified during parallel testing. 2026-05-06 12:36:16 +08:00
69c5b4ff89 fix: resolve FormData rest_days array serialization bug in employee forms 2026-04-30 12:13:53 +08:00
03038c43f4 feat: implement tax toggle with TRAIN law graduated rates and manual override; fix attendance calendar status display 2026-04-29 23:35:17 +08:00
caa7c19fec feat(payroll): implemented compounded DOLE multipliers for OT and Night Differential 2026-04-28 18:37:14 +08:00
fc916244c6 feat(payroll): DOLE compliant payroll automation 2026-04-28 09:50:44 +08:00
60c760bf14 buioldfix 2026-04-24 14:05:46 +08:00
8656fbdf46 payroll fix 2026-04-23 13:57:43 +08:00
b7aa318ae2 build fix 2026-04-23 13:51:54 +08:00
6f9a608903 fix payroll 2026-04-23 10:31:14 +08:00
5ead32031d salary 2026-04-20 07:54:19 +08:00
32817499ae Update PayrollService.php 2026-04-20 00:59:43 +08:00
236b9369d0 Update PayrollService.php 2026-04-20 00:52:49 +08:00
c4daa8326a build 2 2026-04-20 00:20:10 +08:00