Closed Anas12091101 closed 7 hours ago
I haven't taken a detailed look at the PR but here is what I think we should be doing if not already:
Sorry I'm arriving late to this, but I wanted to ask how access control will work?
Sorry I'm arriving late to this, but I wanted to ask how access control will work?
@pdpinch Anyone who had access to the coupons admin page would have access to this. @Anas12091101 Correct me If I'm wrong.
What are the relevant tickets?
Closes https://github.com/mitodl/hq/issues/5435
Description (What does it do?)
This PR adds the functionality to deactivate the coupons from ecommerce/admin UI
Screenshots (if appropriate):
While submitting the button is disabled
If all the codes and names entered are invalid
How can this be tested?
Enrollment / Promotional Code 'coupon-code' is invalid
errorAdditional Context