bagisto / booking-product

Bagisto Booking Product
7 stars 6 forks source link

Event Booking -> We should not be selecting dates of tickets outside the Event Date. #49

Closed ashishkumar-webkul closed 5 months ago

ashishkumar-webkul commented 6 months ago

Issue Description

When we are creating a Event Boooking Product and there we have selected the dates of booking and when we add Tickets and there we are selecting the tickets dates after the Event is expired. We are able to save the date and also save the product.

Preconditions

  1. Admin must be logged in.

Steps to reproduce

  1. Go to Admin End -> Catalog -> Products -> Create a Event Booking Product.
  2. After Event Date selection -> Add Ticket -> Now select the date outside the Event.
  3. Save the product.

Expected Result

We should not be able to select the dates of tickets after the event are closed.

Actual Result

Event Booking Tickets dates are selected after the event is getting expired.

Video

https://github.com/bagisto/booking-product/assets/92721837/cb194d5a-df83-4c1a-9e5b-967086cc813e

ashishkumar-webkul commented 6 months ago

Checked and found that the issue is not fixed. We are still able to save the tickets after the event is expired.

Video

https://github.com/bagisto/booking-product/assets/92721837/2cf1f63b-b1ff-48b2-b3a3-03de6c786c2a

amit-webkul commented 5 months ago

@ashishkumar-webkul sir , The outside date of the tickets is related to the ticket, and the inside date of the ticket is related to the ticket special price. Both are different.

ashishkumar-webkul commented 5 months ago

As per the discussion with Amit it was found that the time frame selected in ticket is of the Special Price, Hence this issue is not valid. And Marking this issue as closed.