ReZonal Warranty (PHP + HTML/CSS) MVP v1.1
====================================

This version is BASE-PATH aware: it works both when:
- Subdomain document root points to /public (recommended), OR
- You access via /public/ in URL (when docroot is project root)

Deploy (cPanel / Subdomain)
--------------------------
1) Create subdomain e.g. bot.infoprotech.ir
2) Preferred: Set Document Root to: /bot.infoprotech.ir/public
   If you can't, you can still access: https://DOMAIN/public/

3) Upload + extract this project.
4) Create database + user in cPanel and import: database/schema.sql
5) Edit config/db.php and config/app.php
6) Ensure storage folder is writable:
   - storage/uploads/invoices   (775)

7) Create operator/admin account (ONCE):
   - Visit /_seed_staff.php (or /public/_seed_staff.php if you access via /public/)
   - Then DELETE that file.

Routes
------
Customer:
- /register
- /login
- /dashboard
- /devices
- /devices/add

Operator:
- /op/login
- /op/requests
