resources/views/user/appointments/timeslot/_time-picker.blade.php
<h3>{{ trans('booking.steps.title.pick-a-time') }}</h3>
<section>
<div class="container-fluid">
<div class="row">
<div class="form-group col-md-4 col-md-offset-4">
<span id="timezoneIndicator"></span>
</div>
</div>
<div class="row">
<div class="form-group col-md-4 col-md-offset-4">
<label for="comments">{{ trans('user.appointments.form.time.label') }}</label>
<br/>
<select id="times" name="_time" class="form-control"></select>
</div>
</div>
<div class="row">
<div class="form-group col-md-4 col-md-offset-4">
{!! Button::primary(trans('booking.btn.pick-this-time'))->withAttributes(['id' => 'pick-this-time'])->block() !!}
</div>
</div>
</div>
</section>
@push('footer_scripts')
<script>
$(document).ready(function() {
$('#pick-this-time').click(function(e){
var timePicker = $('#times');
timePicker.change();
e.preventDefault();
});
});
</script>
@endpush