7 Portals. One Unified Pipeline.
Multi-portal sample board ordering system replacing legacy PHP Board Manager. Seven auth tiers, QuickBooks integration, real-time inventory holds, Supabase permanent tracking.
Sample Management System. Seven portals, unified order pipeline, replacing the legacy PHP Board Manager.
Problem: orders tracked on paper. No real-time inventory. Orders lost between office and warehouse. Reps had zero visibility on status. No audit trail.
Fix: centralized admin dashboard. All orders, reps, and inventory in one view. Reads from Supabase, not spreadsheets. Auto-refreshes every thirty seconds.
Architecture: seven portals, seven role-specific cookies, all coexisting in one browser. Admin, Rep, Executive, AXA, Warehouse, Turkey, China. Each sees only its data. HMAC-signed sessions, rate-limited auth.
Order flow: submitted, verified, in-production, ready, picked-up. Work order status cascades to parent order automatically. Warehouse only sees orders after admin verification. QuickBooks PO generated at verify step.
Rep interface: select tiles, pick board size, set pickup date. Key design decision — inventory hold triggers at basket-add, not checkout. Prevents overselling. Holds expire after thirty minutes.
Outcome: zero lost orders. Real-time inventory across all portals. Full audit trail in Supabase. Seven portals running on Vercel serverless with no shared in-memory state bugs.
Icon Tile. Next.js, Supabase, Vercel.