feat(POS-002): completed feature
This commit is contained in:
@@ -467,11 +467,13 @@ Each phase ends with **all three gates approved (reviewer, security, qa)** and `
|
||||
|
||||
These are decisions the architect cannot take unilaterally and that block Phase 2:
|
||||
|
||||
1. **Default store name** for the backfill migration ("Mercado de Vida — Tienda única" until renamed via admin)?
|
||||
2. **Cookie domain**: deploy POS on the same origin as admin (port 3006, subdomain, or sibling port)? Affects cookie sharing.
|
||||
3. **Touchscreen minimum target hardware** (model + size) so the touch UI can be sized correctly.
|
||||
4. **Datáfono provider preference** (none, SumUp, Redsys TPVO, generic) — informs whether Phase 7 needs a real adapter or stays browser-only.
|
||||
5. **Refund policy defaults** (within X days, require manager approval above Y €).
|
||||
1. ✅ **Default store name** — **RESOLVED**: "Natural - Mercado de Vida" (slug `natural-mercado-de-vida`).
|
||||
2. ✅ **Cookie domain** — **RESOLVED**: separate port `:3006` for the POS app (alongside admin `:3004`). Cookie is set with `Domain` unset (so the browser scopes it to the POS origin only). When the operator deploys to production with Traefik and subdomains, the cookie strategy will be revisited (Phase 4 cleanup): at that point `Domain=.mercadodevida.example` allows admin and POS to share the same backoffice session.
|
||||
3. ✅ **Touchscreen target hardware** — **RESOLVED**: 10-inch tablet in landscape. Responsive design from 1024×768 to 1920×1080, with a sensible tablet portrait mode (800×1280) as a stretch goal. The touch CSS uses media query `(pointer: coarse)` to detect and switch; manual override stored in cookie.
|
||||
4. ✅ **Datáfono provider** — **RESOLVED**: stays manual in Phase 3. Phase 7 (`POS-038`) deferred — only reopens if the operator picks SumUp, Redsys TPVO, or Verifone.
|
||||
5. ✅ **Refund policy defaults** — **RESOLVED**: refunds allowed up to 15 days after sale. Manager approval required for refunds above 50 € (configurable in `store_settings`).
|
||||
|
||||
The remaining questions (printer model, scanner type, cash drawer wiring, scale brand) are documented in `POS_HARDWARE.md §10` and resolved there.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user