feat(web): add public commission request entrypoint
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user