Admin: bundles under Services & products, Vouchers & codes page
Bundles are edited with their parts (service at a length, or product, × count), price and validity. /passes lists codes with used/held/left and each part's share of the price; codes can be voided, reactivated, given a new expiry, or issued without a purchase. Orders show codes bought and bookings paid with a code; the customer page lists codes and erasure covers them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hy2vMnHJYP7QGsiH21zHxW
This commit is contained in:
parent
e824f16e31
commit
df840b7fd7
14 changed files with 543 additions and 27 deletions
|
|
@ -28,4 +28,6 @@ export type CustomerData = {
|
|||
lines: { name: string; quantity: number; price: number; start: string }[];
|
||||
}[];
|
||||
unpaidBaskets: { id: string; updated: string; status: string; customerDetails: CustomerDetails }[];
|
||||
/** Bundle/voucher codes bought with this email, and who they're for. */
|
||||
codes: { code: string; name: string; created: string; expiresAt: string; status: string; recipientName: string; message: string }[];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue