# HIGHRA CRM — SINGLE TENANT — COMPLETE MASTER

This package consolidates the uploaded V1 through V10 source packages.

Primary implementation:
- V10 business/integration layer
- V10.1 stabilization fixes
- V1-only foundation files retained where they were not already present

Database migrations were consolidated into a clean fresh-install schema to eliminate duplicate table creation and conflicting legacy migrations.

## Included
Authentication/users, dashboard, leads, Meta OAuth/pages/forms/webhooks, pipeline, assignment,
follow-ups/automation, WhatsApp, notifications, customers, products, quotations/quotation items,
reports/analytics, activity/audit foundation, CSV export, persistent company settings, health check,
print-ready quotation document, lead-to-customer conversion, production check command.

## Fresh install
1. Copy `.env.example` to `.env` and configure the database.
2. Run `composer install`.
3. Run `php artisan key:generate` if APP_KEY is empty.
4. Run `php artisan migrate --seed`.
5. Run `php artisan crm:production-check`.
6. Run `php artisan route:list`.
7. Configure Meta/WhatsApp credentials before enabling those integrations.

## Important
The uploaded historical ZIPs contained multiple incompatible/duplicate migrations. Those legacy migrations
were not all retained as active migrations; their schema capabilities were merged into the clean V10 master
schema so a fresh installation does not attempt to create the same table twice.

See `MASTER_MERGE_REPORT.md`.
