# WashHouse Production Upload List

This is the practical upload handoff for the current modernization work.

## Upload these files

### Shared app and styling

- `includes/footer.php`
- `includes/functions.php`
- `css/system-modern.css`
- `css/mobile-support-modern.css`
- `css/public-home-modern.css`

### Public site

- `index.php`
- `faq.php`

### Admin and staff routes

- `pages/admin.php`
- `pages/dashboard.php`
- `pages/sms.php`

### Pickup flow

- `pickup/pickup_req.php`
- `pickup/generate_pickup_invoice.php`
- `ajax/fetch_customer.php`

### Mobile operator routes

- `m/index.php`
- `m/m_pr.php`
- `m/m_rnc.php`
- `m/.pw_config.php`
- `m/actions/add_payment.php`
- `m/actions/mark_out.php`
- `m/actions/send_sms.php`
- `m/actions/get_due.php`
- `m/actions/get_job_qty.php`
- `m/search_api.php`

### Deployment helpers

- `PRODUCTION-DEPLOY.md`
- `scripts/preflight-production.ps1`
- `config/mobile_access.example.php`

## Optional upload

Upload these if you want the full admin/reporting improvements from the earlier modernization passes on live as well.

- `pages/reports.php`
- `pages/financial_report.php`
- `pages/job_stats.php`
- `pages/job_types.php`
- `pages/expenses.php`
- `pages/add_expense.php`
- `pages/pending_pay.php`
- `pages/add_payment.php`
- `pages/add_jobs.php`
- `pages/audit_logs.php`
- `pages/void_bill.php`
- `pages/index.php`

## Optional migration

This migration is additive and safe to keep separate from the file upload.

- `database/migrations/20260408_003_add_bill_cancellation_columns.php`

Use it only if you want the richer bill cancellation metadata (`cancelled_at`, `cancelled_by`, `cancel_note`) on production.

## Do not upload

- `config/database.local.php`
- `config/mobile_access.local.php`
- `temp/`
- `sms_error.log`
- `current_db.sql`
- local test logs or one-off exports

## Recommended production environment variables

- `WASHHOUSE_DB_HOST`
- `WASHHOUSE_DB_NAME`
- `WASHHOUSE_DB_USER`
- `WASHHOUSE_DB_PASS`
- `WASHHOUSE_DB_CHARSET`
- `WASHHOUSE_SMS_USER_ID`
- `WASHHOUSE_SMS_API_KEY`
- `WASHHOUSE_SMS_SENDER_ID`
- `WASHHOUSE_SUPPORT_PHONE`
- `WASHHOUSE_INVOICE_BASE_URL`
- `WASHHOUSE_M_PASSWORD`
- `WASHHOUSE_GOOGLE_MAPS_KEY`

## Quick post-upload checks

1. Open `/`
2. Open `/faq.php`
3. Open `/pickup/pickup_req.php`
4. Sign in at `/manage/index.php`
5. Open `/pages/admin.php`
6. Open `/pages/sms.php`
7. Open `/m/`
8. Test one pickup request
9. Test one mobile login
10. Test one SMS test send from the SMS Campaign page
11. Test one ready-SMS flow and one payment flow
