Commit Graph

155 Commits

Author SHA1 Message Date
Deploy
5f6a22f1c5 fix(admin): add COMPLETED state in dashboard, orders list and detail with lowercase label 2026-08-26 22:38:59 +02:00
Deploy
1ee3f0d1b2 fix(pos): fix JSX parse error in ReceiptModal error block 2026-08-26 22:33:54 +02:00
Deploy
169e3e0c10 fix(pos-selfpay): sticky print button always visible in ReceiptModal 2026-08-26 22:28:10 +02:00
Deploy
88452df2cd fix(pos-selfpay): always show print button in ReceiptModal, hide email/return in selfpay 2026-08-26 22:26:17 +02:00
Deploy
15f36c3a7e fix(pos-selfpay): use confirmSaleWith to avoid stale state when confirming from modal 2026-08-26 22:24:14 +02:00
Deploy
c43a8527f1 fix(pos-selfpay): direct payment + confirm from modal, no partial payments 2026-08-26 22:22:56 +02:00
Deploy
e17a8d4de7 fix(pos-selfpay): payment methods shown as modal in selfpay mode only 2026-08-26 22:20:12 +02:00
Deploy
971411e1c2 fix(pos-selfpay): add Confirmar button after payment + print-only receipt 2026-08-26 22:11:08 +02:00
Deploy
eb655e109f fix(pos-selfpay): hide payment methods until email step completes 2026-08-26 22:03:23 +02:00
Deploy
665fc2a60d feat(club-006): club admin: dashboard, members, movements and settings 2026-08-26 20:55:00 +02:00
Deploy
3ccbf9f450 feat(pos-selfpay-flow): pOS selfpay: simplified pay flow with optional email receipt 2026-08-26 20:40:43 +02:00
Deploy
19f37b70e1 feat(pos-pwa): pOS: make TPV installable PWA and launch fullscreen 2026-08-26 20:38:19 +02:00
Deploy
158d55b8c6 fix(order-status-labels): admin order status labels should be lowercase and unified 2026-08-26 20:36:54 +02:00
Deploy
66290a08ae feat(club-003): club POS integration: identify member and register cashback from sales 2026-08-26 20:16:13 +02:00
Deploy
c19626bea3 fix(inventory-opt): inventory optimization: pagination, queries, filters for 10k+ products 2026-08-26 18:07:49 +02:00
Deploy
49dfd00406 chore(checkpoint): save club core backend and pending pos fixes 2026-08-26 17:58:45 +02:00
Deploy
cf3c906ed2 fix(pos): redesign quick products admin search and save flow 2026-08-26 07:43:13 +02:00
Deploy
290ced173b fix(pos): handle expired API sessions and add receipt preview close button 2026-08-26 07:05:02 +02:00
Deploy
b6af852b54 fix(release): 0.2.8 harden admin proxy, cart stock caps, selfpay and refund timeline
- admin proxy: 25s timeout, body guards, structured failure logs
- cart: addItem enforces stock cap (409 INSUFFICIENT_STOCK), UI clamps qty
- tpv selfpay: hide sidebar/discounts/save-pending, rename button, receipt-settings 400 fix
- pos admin: quick products slot count aligned to 8
- returns: human-readable history message + metadata jsonb (migrations 064-065) + admin fallback formatter
- storefront: product card white background
- product page: remove duplicate stock label under add-to-cart button
2026-08-25 23:41:29 +02:00
Deploy
b6adf681d1 fix(pos): dedupe ticket header and force white print background 2026-08-25 22:39:05 +02:00
Deploy
129584d738 fix(pos): hide selfpay controls and normalize trend labels 2026-08-25 22:29:12 +02:00
Deploy
f76591518e fix(reporting): resize trend chart and repair closures detail 2026-08-25 22:24:11 +02:00
Deploy
ae42bae61e fix(admin): resolve notification and cash-close 500s 2026-08-25 22:16:08 +02:00
Deploy
ed031f8a94 feat(settings): add about system information 2026-08-25 22:08:20 +02:00
Deploy
66a08b61d2 fix: clean stale deployments before monolith start 2026-08-25 21:59:29 +02:00
chattie
0b0bba9be8 feat(TPV-FIXES): completed feature 2026-08-25 06:47:33 +02:00
chattie
99c9bd4c55 feat(ORDERS-FIX): completed feature 2026-08-25 06:38:10 +02:00
chattie
7639c1ff42 feat(TICKET-LOGO): completed feature 2026-08-25 06:35:39 +02:00
chattie
419f47ec1c feat(TPV-FIXES): completed feature 2026-08-25 06:31:00 +02:00
chattie
9daed56819 fix(admin): add twitterUrl/pinterestUrl to StoreSettings interface for settings page type safety 2026-08-24 22:17:01 +02:00
chattie
71165911ab fix(storefront+TPV): storefront live search proxy, product expiry/weight display, TPV receipt popup timestamp 2026-08-24 22:11:04 +02:00
chattie
2ed2ac8cd1 fix(admin): trend chart height 100px, logs 3-column layout, KPI cards clickable links, AI timeout 120s env var, X/Pinterest settings 2026-08-24 22:09:12 +02:00
chattie
30f0cb0702 fix(frontend): wrap useSearchParams in Suspense for Next.js 16 compat 2026-08-24 21:50:52 +02:00
chattie
8ce1a36ef6 fix(payments): show already refunded amount, limit new refund to remaining 2026-08-24 20:45:05 +02:00
chattie
85ecee935b fix: frontend fixes batch - live search proxy, quick products 10 slots, categories emoji list, bell notifications with tabs, awaiting payment orders endpoint 2026-08-24 20:45:05 +02:00
chattie
30a0cd3552 fix: storefront live search relative URLs + auth error messages + TPV clock
- Storefront: use relative URLs in api.ts (fix ERR_ADDRESS_UNREACHABLE)
- Auth: show specific error for EMAIL_NOT_CONFIRMED
- TPV: add clock with date/time, modern SVG icons, panel toggle left
2026-08-24 20:45:05 +02:00
chattie
ba376dbab0 feat: tickets backlog + TPV toggle sidebar 2026-08-24 15:46:18 +02:00
chattie
0dcb0f63a0 feat(POS-FIX-6): completed feature 2026-08-24 15:40:01 +02:00
chattie
3cb7325a42 fix(POS-FIX-12): proxy usa mismo host que navegador para cookies 2026-08-24 08:45:25 +02:00
chattie
23d2554dd0 feat(POS-FIX-12): completed feature 2026-08-24 08:42:41 +02:00
chattie
d103b634aa feat(POS-FIX-11): completed feature 2026-08-24 08:13:43 +02:00
chattie
08bae243a4 fix(POS-FIX-9): botones dialogo merge habilitados — recoveringSaleId no se setea al abrir dialogo 2026-08-24 07:55:23 +02:00
chattie
75d0d5b6a7 feat(POS-FIX-9): completed feature 2026-08-24 07:44:30 +02:00
chattie
e15918058f feat(POS-FIX-8): completed feature 2026-08-24 07:39:32 +02:00
chattie
2467a02dd4 feat(POS-FIX-7): completed feature 2026-08-24 07:23:55 +02:00
chattie
725a02527a fix: selfpayMode state vars + monolith.sh TPV port + closures report
- Add missing selfpayMode/closePin state vars in admin POS page
- Add selfpayMode/closeSessionRequiresPin/closeSessionPin to PosTerminal interface
- Fix ClosedSession type in reporting/closures to match cash-close endpoint
- Add smtpReportEmail to admin StoreSettings interface
- monolith.sh: add TPV service (port 3002), reorder ports:
  API 3000, ADMIN 3001, TPV 3002, FRONTEND 3003, STOREFRONT 3004
- Add apps/pos to install_dependencies in monolith.sh
2026-08-23 09:41:21 +02:00
chattie
57c1781789 hotfix: add missing selfpayMode state variables in admin POS page 2026-08-23 09:32:30 +02:00
chattie
950c4d622b Admin: add Cierres de caja reporting section
- New /reporting/closures page listing closed POS sessions
- Shows financial summary, sales stats, payments breakdown per session
- Sessions filterable by store and last 7/30/90 days
- Navigation entry in Reporting layout
2026-08-23 09:27:35 +02:00
chattie
18a518e58b 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.
2026-08-23 09:24:37 +02:00
chattie
eb3322e309 feat(F-190): completed feature 2026-08-23 07:48:20 +02:00