Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate Discounts Possible #464

Open
atoff opened this issue Feb 20, 2022 · 1 comment
Open

Duplicate Discounts Possible #464

atoff opened this issue Feb 20, 2022 · 1 comment
Assignees
Labels
bug Something isn't working ice bucket Non-prioritised (think 'that would be nice')

Comments

@atoff
Copy link
Member

atoff commented Feb 20, 2022

Scenario:
You have a performance

You add a discount of, say 0%, with one requirement (Adult)

You can add another discount, of 0%, with the same requirement (Adult) and an error is not thrown

@atoff atoff added bug Something isn't working prio:medium Medium priority (think 'this term') labels Feb 20, 2022
@atoff
Copy link
Member Author

atoff commented Feb 20, 2022

@JElgar Can you take a look at this? I think the validate_unique function on a discount isn't being called on our mutations. Might be as simple as installing it on the form.

@atoff atoff moved this to Ice Bucket in UOBTheatre Planning Jul 7, 2022
@HappyNTH HappyNTH moved this to Ice Bucket in UOBTheatre Planning May 13, 2024
@HappyNTH HappyNTH added ice bucket Non-prioritised (think 'that would be nice') and removed prio:medium Medium priority (think 'this term') labels Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ice bucket Non-prioritised (think 'that would be nice')
Projects
Status: Ice Bucket
Development

No branches or pull requests

3 participants