PACKAGE WL5 - SAGE EXPORT WITH WORKING LUNCH LOGIC

Purpose
- Updates the Sage Payroll Export to use the new working lunch calculation.
- Matches the CSV format you uploaded:
  Employee Code
  Overtime 1.5 Units
  Overtime 1.5 Amount
  Overtime 2.0 Units
  Overtime 2.0 Amount

Files
- /backoffice/sage-payroll-export.php
- /backoffice/sage-payroll-export.css
- /sql/verify-wl5-sage-export-working-lunch.sql
- /README-WL5.txt

Extract inside
- /home/uent/public_html

Open page
- https://uent.co.za/backoffice/sage-payroll-export.php

What changed
- Payroll hours now use:
  payroll worked = session span - lunch deducted
- Lunch deducted uses the working lunch logic:
  If no working lunch exists: full default lunch is deducted.
  If working lunch exists: stored deducted_minutes is used.
- CSV output keeps your current Sage header format.
- Calculated worked hours are exported into Overtime 1.5 Units, matching your uploaded current export style.
- Overtime 2.0 Units remains 0.00.

Important
- This package overwrites /backoffice/sage-payroll-export.php.
- If you want to preserve the old file, rename the existing file before extracting.
- The page also includes a preview showing lunch deducted and working lunch for validation.
