Muluhabt ERP modules

This commit is contained in:
Mulu Mehari
2026-08-25 00:11:39 +03:00
parent 5c2100e76d
commit 70171fa9d8
441 changed files with 68587 additions and 214 deletions

View File

@@ -165,7 +165,7 @@ Any inequality is a finding. The explorers show this chain is **broken by design
- **Browser tests (Playwright):** greenfield — add runner + config. Portal has no server-side auth gate; backoffice needs `auth_token` cookie + localStorage seeded.
- **Payments:** WALLET is fully offline-testable. Gateway flows driven by POSTing directly to `/webhooks/<provider>` on payment-api (Telebirr/CBE/eBirr have loose signature gating; Card/Waafi need valid HMAC). `SERVICE_AUTH_TOKEN` unset in dev = internal endpoints unguarded.
- **Seed:** re-enable `prisma/seed.ts` steps or invoke seeder fns from a test bootstrap. Needs stations, routes+stops (distanceKm), schedules, seat classes, fare rules, FX rates, promos.
- **DB:** ⚠️ doc drift — CLAUDE.md says `postgres-passenger:5434/edr_passenger`; actual `.env.example` says `localhost:5432/edr_database?schema=passenger`; no compose file provisions it. **Need target confirmed.**
- **DB:** resolved — the platform is ONE database, schema-separated. Target is `localhost:5432/edr_database?schema=passenger` (as `.env.example` already said); the stale `postgres-passenger:5434/edr_passenger` claim is gone from CLAUDE.md. `infrastructure/docker/docker-compose.db.dev.yml` provisions it for dev; the e2e harness keeps its own hermetic Postgres on 5544.
## Open decisions (blocking Phase 2)