Describe the bug
On creating a new event, when the number of tickets per order is less than maximum tickets, an error is shown, the error being "Minimum order should not be greater than maximum". Also, when we increase the number of minimum tickets, we can somehow end up having more minimum tickets than maximum tickets with no error.
To Reproduce
Steps to reproduce the behaviour:
- Go to https://eventyay.com/create.
- Click on free ticket in the ticketing system.
- increase minimum ticket by 1 (ie : 2) and reduce maximum ticket by 1 (ie: 9).
- See error(1)
- Now keep increasing the minimum ticket number till it becomes more than the maximum ticket number.
- there will be no error(2).
Expected behaviour
- In the first case there should be no error since the minimum ticket number is less than the maximum ticket number.
- In the second case the error should be prompted since the minimum ticket number is greater than maximum ticket number.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]