PACKAGE PAYADJ1 - PAYROLL ADJUSTMENT MANAGEMENT

Status
- You already created the payroll_adjustments table.
- This package adds the backoffice management page and a sidebar patcher.

Purpose
- Management can adjust payroll values without editing raw clock-in/out records.
- Adjustments can be positive or negative.
- Adjustments cover:
  Normal hours
  OT 1.5
  OT 2.0
- Adjustments require a reason.
- Adjustments are voided, not deleted.

Files
- /backoffice/payroll-adjustments.php
- /backoffice/payadj1-apply-menu.php
- /backoffice/payadj1-helper.php
- /sql/verify-payroll-adjustments.sql
- /README-PAYADJ1.txt

Extract inside
- /home/uent/public_html

After extraction
1) Open the adjustment page directly:
   https://uent.co.za/backoffice/payroll-adjustments.php

2) Add the sidebar menu link by opening once:
   https://uent.co.za/backoffice/payadj1-apply-menu.php?secret=westcoast-payadj1-2026

3) Delete the patcher:
   /backoffice/payadj1-apply-menu.php

Recommended menu placement
- Payroll / Lunch Rules
- Payroll Adjustments
- Payroll Working Lunch Export
- Sage Payroll Export

Important
- This package adds the adjustment entry/audit page.
- The next package should patch payroll exports to apply adjustments to final Normal, OT 1.5 and OT 2.0 totals.
- Helper file /backoffice/payadj1-helper.php is included for that export integration.
