# Reports — apply

    cp -R reports/app/*       ./app/
    cp -R reports/database/*  ./database/
    cp -R reports/resources/* ./resources/
    cp -R reports/tests/*     ./tests/

## Routes — merge reports-web.php; remove the 'reports' stub.
## Schedule — in routes/console.php:
    Schedule::job(new \App\Reports\Jobs\RunScheduledReportsJob)->dailyAt('06:00');
## Migrate + build + test
    php artisan migrate --force
    php artisan test --filter=ReportGeneration
    node node_modules/vite/bin/vite.js build

## Notes
- CSV/HTML render fully. "PDF" outputs print-ready HTML (no binary PDF dependency);
  a headless-Chrome renderer can be added later for true PDF if needed.
- Values flow through the governed query service — reports respect org + permissions.
- Recipients receive the file as an email attachment (needs MAIL_* configured).
