Commit Graph

123 Commits

Author SHA1 Message Date
Deploy
1376d3e4f0 feat(notif-inventory-alerts): admin bell: add inventory alerts (low stock, out of stock, expired/expiring, low margin) 2026-08-27 23:26:01 +02:00
Deploy
642fe037c2 fix(pos): clamp payment amount to total + allow 1c tolerance for rounding 2026-08-26 23:25:53 +02:00
Deploy
be1f014260 fix(pos): allow manifest + relax UUID validation on /pos/sales query 2026-08-26 23:20:30 +02:00
Deploy
3b11662229 feat(pos): receipt VAT breakdown — per-line rate + subtotals by type 2026-08-26 22:58:33 +02:00
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
92d151ee3d fix(pos): TPV never blocks on stock — physical scanner always wins 2026-08-26 22:32:13 +02:00
Deploy
7df6a003dc fix(pos): physical TPV (cashier) skips inventory check, selfpay still validates 2026-08-26 22:31:34 +02:00
Deploy
665fc2a60d feat(club-006): club admin: dashboard, members, movements and settings 2026-08-26 20:55:00 +02:00
Deploy
db33706d2d feat(club-005): club registered users: account linking and automatic recovery 2026-08-26 20:49:36 +02:00
Deploy
3aecd2bec0 feat(club-004): club recovery: recovery codes and device reassignment 2026-08-26 20:47:06 +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
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
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
chattie
9ae5f8e0de fix: use correct state column for AWAITING_PAYMENT orders
- Fix column o.payment_status does not exist error
- orders_orders uses 'state' column, not 'payment_status'
- Changed all 3 affected queries
2026-08-25 21:22:11 +02:00
chattie
7639c1ff42 feat(TICKET-LOGO): completed feature 2026-08-25 06:35:39 +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
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
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
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
0dcb0f63a0 feat(POS-FIX-6): completed feature 2026-08-24 15:40:01 +02:00
chattie
d103b634aa feat(POS-FIX-11): completed feature 2026-08-24 08:13:43 +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
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
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
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
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
86637f8c35 feat(F-181): completed feature 2026-08-22 19:10:02 +02:00
chattie
8c8c71d645 feat(F-179): completed feature 2026-08-22 19:05:11 +02:00
chattie
abdb03b6b5 feat(F-177): completed feature 2026-08-22 18:54:41 +02:00
chattie
4081462cc4 feat(F-176): completed feature 2026-08-22 18:49:33 +02:00
chattie
f72ba1c276 feat(F-169): completed feature 2026-08-22 18:37:04 +02:00
chattie
5d90dd32de feat(F-163): completed feature 2026-08-22 18:33:24 +02:00
chattie
9152b3a65e feat(F-161): completed feature 2026-08-22 18:13:37 +02:00
chattie
83a44980c6 feat(F-160): completed feature 2026-08-22 18:05:33 +02:00