Commit Graph

250 Commits

Author SHA1 Message Date
DanielS
6821b4e8d9 fix: group success page order items by device name
Some checks failed
Staging Build / build (push) Failing after 28s
2026-07-10 00:20:32 +02:00
DanielS
a3c5a66d3f feat: check category eligibility for update discount in frontend and backend
Some checks failed
Staging Build / build (push) Has been cancelled
2026-07-10 00:18:23 +02:00
DanielS
2038c4df3e db: add allow_update_discount column to categories table 2026-07-10 00:18:18 +02:00
DanielS
90a5e17f2b fix: design-beautify of device sections in quotation confirmation pdf
All checks were successful
Staging Build / build (push) Successful in 2m49s
2026-07-10 00:10:45 +02:00
DanielS
3b16722fca fix: correctly split and display one-time and monthly recurring items in purchase order pdf
All checks were successful
Staging Build / build (push) Successful in 2m46s
2026-07-09 23:57:17 +02:00
DanielS
1e7112fa3c feat: group items by device name in pdf quotation confirmation
All checks were successful
Staging Build / build (push) Successful in 2m47s
2026-07-09 23:53:58 +02:00
DanielS
db95e435c2 fix: auto add configured device to basket on step 3 transition
All checks were successful
Staging Build / build (push) Successful in 2m46s
2026-07-09 23:43:16 +02:00
DanielS
c3f97f8dca fix: add missing type and payment_method columns to orders table 2026-07-09 23:43:12 +02:00
DanielS
98b1301e96 fix: resolve typescript implicit any type errors in order-wizard.tsx
All checks were successful
Staging Build / build (push) Successful in 2m50s
2026-07-09 23:35:59 +02:00
DanielS
387ba19802 fix: loop and render all basket items in wizard summary screen
Some checks failed
Staging Build / build (push) Failing after 29s
2026-07-09 23:33:16 +02:00
DanielS
2c572c5bd4 fix: add missing payment_method column to orders table 2026-07-09 23:33:13 +02:00
DanielS
ae4a8429c7 fix: rewrite auth middleware to prevent global login lock for partners and admins
All checks were successful
Staging Build / build (push) Successful in 2m46s
2026-07-09 23:16:22 +02:00
DanielS
5cd78854e3 db: fix infinite RLS recursion on users table causing admin lockout 2026-07-09 23:15:16 +02:00
DanielS
fb9b522e74 chore: clean up order-wizard layout text and spacing
All checks were successful
Staging Build / build (push) Successful in 2m32s
2026-07-09 23:08:10 +02:00
DanielS
5b03de6b7e db: add strict rls policy to protect user roles from self-escalation 2026-07-09 23:06:03 +02:00
DanielS
100ad254cb perf: decouple pdf and mail generation from synchronous checkout flow 2026-07-09 23:06:00 +02:00
DanielS
a93fb975c0 docs: finalize request terminology updates and clean up license transforms
All checks were successful
Staging Build / build (push) Successful in 2m48s
2026-07-09 22:58:35 +02:00
DanielS
21c4aa859e fix: rename invoice terminology to request and quotation confirmation across pdf and mail services 2026-07-09 22:58:29 +02:00
DanielS
20f7d5a05a fix: resolve syntax error in invoice-pdf.tsx 2026-07-09 22:57:31 +02:00
DanielS
2b92626bf9 feat: add multi-device basket loop and add-another-device button to wizard
All checks were successful
Staging Build / build (push) Successful in 2m46s
2026-07-09 22:48:31 +02:00
DanielS
8bd47905b0 fix: resolve bracket syntax error in order-wizard.tsx
All checks were successful
Staging Build / build (push) Successful in 2m52s
2026-07-09 22:24:53 +02:00
DanielS
d1cc6b5d5f fix: disable incompatible sub-products in wizard and prevent bottom-up reset 2026-07-09 22:22:04 +02:00
DanielS
8dd5fd3f44 fix: enforce top-down state cascade and prevent base product hiding 2026-07-09 22:04:10 +02:00
DanielS
992e726406 test: add unit tests for frontend top-down auto-reset and backend split logic 2026-07-09 21:56:13 +02:00
DanielS
988625ba42 chore: install vitest and configure test environment 2026-07-09 21:56:10 +02:00
DanielS
926650d3b6 feat: implement checkout server action with idempotency guard and split 2026-07-09 21:53:42 +02:00
DanielS
66039eb4cf feat: implement pdf generation service based on jsonb snapshots 2026-07-09 21:51:23 +02:00
DanielS
f71fc7f88d feat: create checkout API route with checkout split logic 2026-07-09 21:50:42 +02:00
DanielS
60e64c689d feat: implement wizard top-down state management and auto-reset 2026-07-09 21:49:53 +02:00
DanielS
bd7d5dd1b2 db: create core schema for products, categories, global rules and orders 2026-07-09 21:49:50 +02:00
DanielS
6b35917a06 feat(category): add resets_others option
All checks were successful
Staging Build / build (push) Successful in 2m46s
2026-07-09 17:27:16 +02:00
DanielS
567d1f226b feat(admin): add product dependencies and clean up labels
All checks were successful
Staging Build / build (push) Successful in 2m43s
- Add addProductDependency and removeProductDependency actions

- Create DependencyPopover and integrate in live editor UI

- Render green requirements and red exclusions badges

- Remove technical parentheses from category checkbox labels
2026-07-09 16:12:57 +02:00
DanielS
215da5f25b style(admin): align sidebar link style
All checks were successful
Staging Build / build (push) Successful in 2m46s
2026-07-09 15:57:37 +02:00
DanielS
d05274700a feat(admin): extend wysiwyg live editor
All checks were successful
Staging Build / build (push) Successful in 2m46s
- Add is_required and allow_multiselect category toggles

- Implement module-popover for product module assignment

- Add cascade-protected deletion for categories and products

- Add sidebar link with AdminNavLink active states
2026-07-09 15:52:47 +02:00
DanielS
16917bcbdc feat(admin): add wysiwyg editor for order wizard
All checks were successful
Staging Build / build (push) Successful in 2m49s
2026-07-09 15:39:14 +02:00
DanielS
915d3b1b2f Revert "feat: support product quantity and separate steps"
All checks were successful
Staging Build / build (push) Successful in 2m48s
This reverts commit 4ef21ea144.
2026-07-09 15:19:38 +02:00
DanielS
4ef21ea144 feat: support product quantity and separate steps
All checks were successful
Staging Build / build (push) Successful in 6m17s
2026-07-09 15:10:21 +02:00
DanielS
071e669b71 feat(categories): add branch visibility selection
All checks were successful
Staging Build / build (push) Successful in 2m43s
2026-07-09 14:26:56 +02:00
DanielS
07c7d8c656 feat(categories): allow disabling preselection
All checks were successful
Staging Build / build (push) Successful in 2m45s
2026-07-09 14:10:25 +02:00
DanielS
bffaca1d63 feat(orders): add rejected status to order schema and admin table views
All checks were successful
Staging Build / build (push) Successful in 2m49s
2026-07-08 10:13:21 +02:00
DanielS
cc7445e4c5 feat(multiselect): support multi-select categories and free items limits in category config and order wizard
All checks were successful
Staging Build / build (push) Successful in 2m38s
2026-07-07 16:56:24 +02:00
DanielS
00d1be3e4f fix(order-wizard): pass selectedCompanyId when creating end customer as admin
All checks were successful
Staging Build / build (push) Successful in 2m37s
2026-07-07 13:17:15 +02:00
DanielS
98c030cd82 fix(end-customers): allow admin to create end customers without company_id
All checks were successful
Staging Build / build (push) Successful in 2m38s
2026-07-07 12:32:11 +02:00
DanielS
8e91b3e810 fix(email): remove duplicate pdf download button 2026-07-07 10:30:34 +02:00
DanielS
dd5d1295a7 fix(invoice): update subtitle from Software Solutions to Die Kasse 2026-07-07 10:30:21 +02:00
DanielS
cce9812bbc fix(pdf): add gap and minWidth to prevent label-value collision in total rows
All checks were successful
Staging Build / build (push) Successful in 2m41s
2026-07-07 09:09:14 +02:00
DanielS
e00acac626 fix(pdf): widen total container and reduce font to prevent label-value collision
All checks were successful
Staging Build / build (push) Successful in 2m40s
2026-07-07 09:00:54 +02:00
DanielS
0ec1319753 style(mail): humanize email templates and remove corporate boilerplates
All checks were successful
Staging Build / build (push) Successful in 2m39s
2026-07-07 00:39:06 +02:00
DanielS
057012e09f chore(supabase): remove unused pos_modules and licenses tables 2026-07-07 00:23:54 +02:00
DanielS
2246bdf2be refactor(shop): extract wizard validation and email templates into helpers
All checks were successful
Staging Build / build (push) Successful in 2m48s
2026-07-06 23:15:11 +02:00