Commit Graph

287 Commits

Author SHA1 Message Date
chattie
1ac7bcd20e feat(ADMIN-UI-FIXES2): completed feature 2026-08-24 23:05:13 +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
874d7faac0 fix(storefront): sitemap wraps listActiveProducts in listSafe to prevent build timeout 2026-08-24 20:52:46 +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
d9a57aaa05 fix(frontend): API client uses relative URLs in browser (same-origin) + SSR proxy route
- lib/api.ts: detect browser vs server, use relative URL in browser
- /api/catalog/[...path]: proxy route to forward SSR requests to backend
- .env.local: NEXT_PUBLIC_API_URL preserved for SSR
- Closes FRONTEND-PROXY
2026-08-24 20:45:05 +02:00
chattie
b16fce3243 fix(admin): cash close report uses cash payments only for expected cash
- expectedCash now = openingCash + cash payments (not total sales)
- difference = actualCash - realExpectedCash
- Closes ADMIN-CLOSURES
2026-08-24 20:45:05 +02:00
chattie
92e8dfc984 chore: fix gate agent fields for SHOP tickets 2026-08-24 20:45:05 +02:00
chattie
fd03b4cf4a feat: close SHOP-AUTH and SHOP-STOCK tickets 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
3d404de25c chore: restore F-205 gate artifacts 2026-08-24 15:55:28 +02:00
chattie
7fed389dc6 chore: clean up old F-205 artifacts 2026-08-24 15:55:21 +02:00
chattie
7ec4628f3f feat(F-204): completed feature 2026-08-24 15:55:15 +02:00
chattie
9060e333ec feat(F-205): completed feature 2026-08-24 15:51:08 +02:00
chattie
a47186b70c feat(POS-FIX-6): completed feature 2026-08-24 15:50:54 +02:00
chattie
30b5cc36ef chore: clean backup files 2026-08-24 15:46:23 +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
579e0a18eb feat(POS-FIX-10): completed feature 2026-08-24 08:08:06 +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
cd2a8ab54d feat(F-203): completed feature 2026-08-23 23:21:30 +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
4b3a506166 feat(F-193): completed feature 2026-08-23 07:58:50 +02:00
chattie
a372e5abfb feat(F-192): completed feature 2026-08-23 07:53:17 +02:00
chattie
e542b180ad feat(F-191): completed feature 2026-08-23 07:51:56 +02:00
chattie
eb3322e309 feat(F-190): completed feature 2026-08-23 07:48:20 +02:00
chattie
6b93e91ef4 feat(F-189): completed feature 2026-08-22 23:02:00 +02:00
chattie
0e3c488c85 feat(F-188): completed feature 2026-08-22 22:44:37 +02:00
chattie
c5e5b4c48c feat(F-195): completed feature 2026-08-22 22:36:05 +02:00
chattie
b85670cb51 feat(F-194): completed feature 2026-08-22 22:29:26 +02:00
chattie
ca12f46bff feat(F-187): completed feature 2026-08-22 22:23:50 +02:00
chattie
a3f6edd325 feat(F-186): completed feature 2026-08-22 22:08:30 +02:00
chattie
63a305bdd4 chore: reset Orquestra after completing backlog 2026-08-22 19:31:36 +02:00
chattie
b79f50f0b1 feat(F-185): completed feature 2026-08-22 19:30:45 +02:00
chattie
5f60c191b4 feat(F-184): completed feature 2026-08-22 19:26:50 +02:00
chattie
b860e8d1df feat(F-182): completed feature 2026-08-22 19:25:12 +02:00
chattie
2985d7274a feat(F-171): completed feature 2026-08-22 19:20:34 +02:00
chattie
56eee88315 feat(F-167): completed feature 2026-08-22 19:17:36 +02:00