feat(POS-009): completed feature

This commit is contained in:
chattie
2026-08-22 13:43:04 +02:00
parent 63eaa3e58f
commit 2c8a6f52ad
10 changed files with 126 additions and 10 deletions

View File

@@ -0,0 +1,12 @@
# POS-009 — Architect
## Feature
POS Phase 1 ticket 009: Customer search + association.
## Objetivo
Allow POS terminal operators to search and associate a customer with a sale (for loyalty/address). Endpoints: GET /pos/customers/search and GET /pos/customers/:id.
## Diseño
- Search: ILIKE on email, first_name, last_name, phone from identity_users + users_profiles JOIN
- Limit 20 results, min 2-char query
- Returns id, email, firstName, lastName, phone