Bug Fixes
- add admin coupon hooks
- validate coupon for checkout before external calls
- update sidebar inset to handle overflow-x-clip
- update logic to trigger staging on VS Code auto-commit
- cleanup coupons and delete business locations
- add useValidateCoupon hook
- set sidebar overflow to clip
- update sidebar inset height to
overflow-x-clip - Bust admin queries on mutation
- add overflow-x-clip style to prevent scrollbar issues
- update background color and add padding
- update header layout to include more space between buttons
Features
- Add admin coupons table component
- add coupon input and validation for billing content
- add admin coupons list and create routes
- add couponCode parameter to subscriptions.hook.ts
- add preview coupon route for checkout validation
- track Razorpay subscription payments and notes
- add coupons (Razorpay subscription discount codes)
- add server-side coupon validation and helpers
- add coupon keys
- add Razorpay Offers API helper
- add coupon system support
