TODO: Wire real camera + manual code entry (replace mock scan flow)
Wire real camera + manual code entry
What
The scan flow in
scan/+page.svelte is 100% mocked — fake camera, hardcoded survey code, simulated OCR delay. Replace with real functionality:- Wire
@capacitor/camerafor photo capture (web fallback:<input type="file" capture="camera">) - Upload photo to API via
POST /receipts(endpoint exists from Phase 5a) - Manual survey code entry instead of fake OCR extraction
- Real GPS-based location picker (already partially wired on home page)
Why
Can't validate the app end-to-end with mock data. Need real data flowing through scan → save → history → redeem.
Scope
Phase 7 work. Not doing receipt intelligence / OCR (that's Phase 14). Just making the flow functional with real camera + manual entry.