F-201 F-202 F-203: POS cash close report + email + PIN admin
F-201: GET /pos/reports/cash-close/:id with financial summary, sales by state, payments breakdown, items sold. Extended /pos/sessions/:id. F-202: Cash close email sent on session close to smtpReportEmail (best-effort). smtpReportEmail field added to admin SMTP settings. F-203: Admin POS terminal config: selfpayMode, closeSessionRequiresPin, closeSessionPin (4-6 digits) with dedicated settings section.
This commit is contained in:
12
work/artifacts/POS-FIX-3/implementer.md
Normal file
12
work/artifacts/POS-FIX-3/implementer.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# POS-FIX-3 — POS terminal: cierre de caja button added
|
||||
|
||||
## Fix
|
||||
Added closeSession() to posApi. Added Cerrar caja button near the session badge with confirmation dialog asking for actual cash count.
|
||||
|
||||
## Files changed
|
||||
- apps/pos/src/lib/api-client.ts (closeSession API)
|
||||
- apps/pos/src/app/(terminal)/page.tsx (close button + confirmation modal)
|
||||
|
||||
## Verification
|
||||
- npm test: 271 passed
|
||||
- tsc POS app: 0 errors
|
||||
Reference in New Issue
Block a user