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

[Bug]: blank time selection #40

Open
ceepackna opened this issue Jan 6, 2023 · 1 comment
Open

[Bug]: blank time selection #40

ceepackna opened this issue Jan 6, 2023 · 1 comment

Comments

@ceepackna
Copy link

What happened?

when there are no tables left for a minimum of diners, the time selector remains blank and the alert message is "Date must be after today, you can only make future reservations!" and it should be "We are fully booked for the selected date and time, please select a different date or time."

What did you expect to happen?

first go through the available table validations and then available hours

Version

3.5.x

What browser are you seeing the problem on?

Chrome

Relevant log output

No response

@ceepackna
Copy link
Author

Hello, I think I have found a temporary or definitive solution, I don't know, I have done the following in the file components/booking/imput_tim_blade.php I have deleted line 7, so it lets me choose the time and when the search table button is pressed the message that it is full for the indicated time appears
`<select
name="time"
id="time"
class="form-select"

@foreach ($timeOptions as $key => $value)
    -/ @continue($value->fullyBooked)/
    <option
        value="{{ $value->rawTime }}"
        {!! set_select('time', $value->rawTime) !!}
    >{{ $value->time }}</option>
@endforeach

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant