Step 4: Add admin UI page for pricing configuration
- Add pricing API functions to admin.ts - Create admin pricing page with form and validation - Add MANAGE_PRICING permission to auth context - Add pricing to admin navigation - Add translations for pricing page (en, ca, es) - Update PageLayout and Header types for new page
This commit is contained in:
parent
4d0dad8e2b
commit
d838d1be96
11 changed files with 509 additions and 5 deletions
|
|
@ -24,6 +24,7 @@ export const Permission: Record<string, PermissionType> = {
|
|||
CANCEL_OWN_EXCHANGE: "cancel_own_exchange",
|
||||
// Availability/Exchange permissions (admin)
|
||||
MANAGE_AVAILABILITY: "manage_availability",
|
||||
MANAGE_PRICING: "manage_pricing",
|
||||
VIEW_ALL_EXCHANGES: "view_all_exchanges",
|
||||
CANCEL_ANY_EXCHANGE: "cancel_any_exchange",
|
||||
COMPLETE_EXCHANGE: "complete_exchange",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue