feat(web): add public commission request entrypoint

This commit is contained in:
2026-02-12 21:35:34 +01:00
parent dc0a41a5ae
commit 1fddb6d858
12 changed files with 441 additions and 9 deletions

View File

@@ -59,3 +59,15 @@ Key files:
Key files:
- `apps/admin/src/app/commissions/page.tsx`
- `packages/db/src/commissions.ts`
## 6. Public Commission Request Submission
1. Visitor opens `/{locale}/commissions` and submits request form.
2. Server action validates input through shared schema.
3. Existing customer is reused by email (and marked recurring) or a new customer is created.
4. A new commission is created in `new` status and linked to the resolved customer.
Key files:
- `apps/web/src/app/[locale]/commissions/page.tsx`
- `packages/content/src/commissions.ts`
- `packages/db/src/commissions.ts`