NFC RENTAL SYSTEM - TENANTS & LEASES UPGRADE

This upgrade adds the Tenant Management and Lease Management pages and connects them to the rental dashboard.
It is intended for the separate /rentals/ application only. It does not include or modify NFC ONE files.

FILES INCLUDED
rentals/admin/tenants.php
rentals/admin/leases.php
rentals/dashboard.php

INSTALLATION
1. Keep the ZIP in public_html (the folder ABOVE public_html/rentals).
2. In cPanel File Manager, open public_html.
3. Select this ZIP and click Extract.
4. Confirm the destination is /home/nimyfixt/public_html/ (not /public_html/rentals/).
5. If asked whether to overwrite dashboard.php, confirm overwrite. This updates the rental dashboard navigation only.
6. The archive does not include config/database.php, includes/auth.php, or any database SQL. Do not replace those existing files.
7. Open https://nimyfixturescentre.co.ke/rentals/dashboard.php and test Tenants first, then Leases.

IMPORTANT
- An active landlord record is required before tenant/property/lease records can be created.
- A landlord/manager/agent account must be assigned to a landlord_id to see that landlord's records.
- Only System Admin and landlord roles see the Properties and Units links, matching the existing access rules. System Admin, landlord, manager and agent roles can access Tenants and Leases, with records scoped to their landlord_id.
- Creating an active lease marks the selected unit occupied. Ending or terminating a lease attempts to mark its unit vacant if no other active lease exists.
- No existing records are deleted by these pages. No database schema changes are required because the tables already exist.
- This adds these two modules; rent payment processing, rent charge generation, arrears and reports still need to be built and tested separately before relying on the system for all rental operations.
