tastyigniter / TastyIgniter

:fire: Powerful, yet easy to use, open-source online ordering, table reservation and management system for restaurants
https://tastyigniter.com
MIT License
2.98k stars 976 forks source link

[Bug]: Negative value for the guest number and reservation duration is possible #993

Closed chairielazizi closed 2 years ago

chairielazizi commented 2 years ago

What happened?

image

The admin can input the reservation duration and the number of guest as negative integer, which is not possible to happen.

What did you expect to happen?

The system should throw an error when the staff put a negative values into the reservation duration and number of guest input field.

Version

3.4.x

What browser are you seeing the problem on?

No response

Relevant log output

No response