THE LABS GADGET - FINANCE HR VOID TEST PV V2.0

SCOPE: Adds Void for test payment vouchers in Finance HR (not main CRM).
REQUIRES: Stock Finance HR V1.9 Owner Dashboard, HR Full Admin V1.8 and PV Layout V1.3.

IMPORTANT: BACK UP Finance DB (SQL export) + financehub files FIRST.
1. Upload this ZIP to financehub and Extract there. Never overwrite app/ by hand.
2. Owner login, then open https://crm.thelabsgadget.com/financehub/upgrade_void_v2_0.php
3. Check hash state shows existing files OK + patch files OK. Click install once.
4. Payment Vouchers > PV Register > open Void test PV for exact test PV only.
5. Enter a meaningful reason (10-255 characters) and exact confirmation:
   VOID PV-2026-000002  (for RM200 test if the PV number matches)
6. Confirm status VOID, check Overview and Cash Flow; repeat for test RM300 if appropriate.
7. Adjust opening balance & date at Bank & Cash once all active transactions are clear.
8. After testing, delete upgrade_void_v2_0.php and patch_void_v2_0/ using cPanel.

Void is permitted for unlinked PV only. Supplier/recurring-linked PV voids are blocked for manual review. Voiding retains the original PV and original Out entry marked VOID, not counted in active totals. No Money In is created.

This package includes schema alterations to Finance tables fh_vouchers and fh_transactions only. It does not touch CRM DB. The PHP source files are patched only when verified hashes match. If updater says not matched, STOP and provide screenshot. Installation must be tested on production hosting before live use.
