# FAVO Phase 2A — Merchant Workspace + CRM

## Included
- Merchant Workspace
  - merchant profile edit
  - branch list/create
  - staff list/create
  - merchant/branch scope checks
- CRM
  - customer directory/search
  - customer profile
  - purchase history
  - spend summary
  - loyalty points/stamps summary
  - reward history
  - customer activity/events
- Audit events for merchant/branch/staff changes.
- Idempotent migration 010 and performance indexes.
- Existing role-permission mappings are reinforced idempotently.
- Deployment creates timestamped backups.
- Does not alter `.env` or Apache configuration.
- Does not modify Loyalty/Reward transaction logic.

## Important
The package is an overlay release for the existing FAVO installation. It should be deployed on the currently verified FAVO tree.

## URLs
- `?page=merchant_workspace`
- `?page=crm`
- `?page=crm_customer&customer_id=...`
