[2.4] Special price dates in ticket should be within the event booking dates
Terms
- Before you openning this issue, i have checked if the issue has already been reported.
Bagisto Version(s) affected
2.3
Issue Description
In Event Booking Product allow Book tickets for an event even when the selected booking date is after the event date. This is logically incorrect, as tickets should not be booked for events that have already passed.
Preconditions
An event is created in the system with a valid event date
Steps to reproduce
Navigate to the event booking page.
Create or select an event with a specific event date (e.g., 2025-04-10 to 2025-04-12).
Enter a ticket booking date after the event date (e.g., 2025-04-15 to 2025-04-12).
Submit the booking form.
Expected Result
Booking date cannot be after the event date.
Actual Result
Ticket booking is successfully completed even though the booking date is after the event date.
Screenshots
https://github.com/user-attachments/assets/90f12f48-9926-4afe-aab2-ee02496b1d05
Additional context
No response
Source: bagisto/bagisto