NFC RENTAL — CUSTOMER ACCOUNTS, TEAM ASSIGNMENTS, RENT SCHEDULES & RECEIPTS

This package is for the separate NFC Rental application only. Do not install it in NFC ONE and do not import the SQL into the NFC ONE database.

FILES IN THIS PACKAGE
- rentals/admin/accounts.php              System Admin: create customer workspaces and manage subscription records
- rentals/admin/team.php                  Create team logins and record property assignments
- rentals/admin/rent_schedule.php         Monthly rent schedule, CSV export, print/save as PDF
- rentals/admin/receipt.php               Printable receipt for an individual recorded payment
- rentals/admin/payments.php              Adds a receipt link to recent payments
- rentals/dashboard.php                   Adds navigation to the new pages
- rentals/includes/nfc_rental_access.php  Helper that creates the two add-on tables if permitted
- database/upgrade_accounts_access.sql    Optional SQL for the two add-on tables (only if needed)

INSTALLATION (ONE STEP AT A TIME)
1. In cPanel File Manager, open public_html/rentals.
2. Before extraction, download a backup copy of the existing dashboard.php and admin/payments.php to your computer.
3. Upload this ZIP to public_html (not to public_html/rentals).
4. Extract it with destination /home/nimyfixt/public_html/ so files merge into public_html/rentals/.
5. Check that files appear at the exact paths listed above. Do not delete config/database.php or includes/auth.php.
6. Log in as System Admin and open /rentals/admin/accounts.php. The add-on tables are created on first use if the database account has CREATE TABLE permission.
7. Test with a test landlord and a test payment before using real customer data.

NEW DOWNLOAD FEATURES
- Monthly rent schedule: choose a month; Download CSV / Excel creates a spreadsheet file. Print / Save as PDF opens the browser print dialog.
- Payment receipt: from Payments, click View / download beside a payment, then Print / Save as PDF in the browser print dialog.

IMPORTANT LIMITATIONS — READ BEFORE SELLING ACCOUNTS
This is a foundation for onboarding and recording subscriptions/assignments. Subscription status is recorded but does not yet automatically suspend access in every module. Team property assignments and permission checkboxes are recorded, but the existing tenant, lease, rent, payment, expense, and report pages have not all been retrofitted to enforce property-level permissions. Do not rely on the assignment checkboxes as a complete security boundary or onboard unrelated paying customers until that server-side access-control retrofit and cross-account security testing is complete.

The upgrade does not overwrite database.php or auth.php and does not modify NFC ONE. The existing landlord/customer data schema is reused; two new rental-only tables are added.
