FIXED-SURE RENTAL MANAGER — BRANDED DEPLOYMENT PACKAGE

WHAT THIS VERSION ADDS
- Fixed-Sure logo and shared brand color system across public and admin pages.
- Public customer-facing rental catalog at /index.php.
- Live availability counts from MySQL.
- Public product cards with rates, availability, and primary equipment photo.
- Branded setup, login, dashboard, inventory, asset editor, and barcode scanner.
- Mobile-responsive layout.
- Initial MySQL schema and seeded rental categories/rates.

IMPORTANT BEFORE DEPLOYMENT
If fixed-sure.com already contains the earlier public website, BACK IT UP before replacing files.
For a safer first test, upload the contents of public_html into a subfolder such as:
  /public_html/rental-test/
and adjust base_url in config/config.php accordingly.

INSTALL
1. Create an empty MySQL/MariaDB database and database user.
2. Import database/install.sql.
3. Edit public_html/config/config.php with your database credentials.
4. FTP the CONTENTS of public_html to your desired web root.
5. Confirm HTTPS is active.
6. Visit /setup/ and create the first administrator.
7. Sign in at /admin/login.php.
8. Add actual physical assets, scan/type the preprinted barcode, and upload a photo.
9. When an asset is marked Available, the public catalog availability count changes immediately.

PUBLIC INVENTORY LOGIC
- Product rates/descriptions come from product_types.
- Available quantity is the count of active assets with status='available'.
- The public card photo uses a photo from one of that product type's assets.
- Customers do not see individual barcodes, serial numbers, or internal notes.

SECURITY
- Admin pages require server-side authentication.
- Passwords use password_hash().
- Forms use CSRF protection.
- config/includes are protected from direct HTTP access.
- PHP-like uploads are blocked from the equipment upload folder.
- NEVER store card numbers or CVV in this database. Use Stripe-hosted payment components later.

NEXT APPLICATION LAYER (NOT YET INCLUDED)
- Customers page and comprehensive renter form
- Job-site/responsible-party workflow
- Actual rental transaction screen
- Barcode-based CHECK OUT and CHECK IN actions
- Date-aware reservation calendar
- Rental agreement/e-signature
- Stripe Checkout, saved payment methods, subscriptions and webhooks
- Public online reservation request form

FILES
database/install.sql                  MySQL schema
public_html/index.php                public live rental catalog
public_html/assets/brand.css         shared Fixed-Sure branding
public_html/assets/fixed-sure-logo.jpg logo
public_html/admin/                   protected management interface
public_html/setup/                   one-time administrator setup
