MULTIVIEW CCTV - CUSTOMER MANAGEMENT V1 ======================================== Upload these files into: /var/www/html/multiview-cctv/ Files: - customers.php - customer_add.php Keep existing config.php, login.php, dashboard.php and logout.php. Open while logged in as Master Admin: http://YOUR_SERVER_IP/multiview-cctv/customer_add.php The form creates in one database transaction: 1. Customer record 2. Client Admin login (user_type = client_admin) 3. Password hash (never plaintext in app_users) 4. Random trial licence key; only SHA-256 hash is stored in licenses 5. 15-day trial subscription 6. Trial limits: 1 site, 4 cameras, 2 users, 2 Windows devices, 5 Android devices 7. Audit log entry Trial limits are the product's previously discussed trial proposal. Selecting a plan does not charge payment. Payment gateway and paid renewal are not included yet. After creating a customer: - Confirmation screen displays customer Login ID, temporary password and licence key once. - Deliver those details securely to the customer. - Customer login UI is a separate next module; this package creates the account record only. - Customer list: customers.php Security: - HTTPS must be enabled before using real customer information. - Password is hashed using password_hash(). - Licence key is stored as SHA-256 hash only; keep the shown key safe because it cannot be recovered from DB.