I'm trying to implement a resort booking where I can check if a specific date is still available or not by using bootstrap daterangepicker
but I can't figure out how to do this. I got this thread but it is not using daterangepicker
.
Note: I'm also using laravel5.1 so maybe this can help the problem.
Database fields
id
name
Place
start_time
end_time
My JS Code Setup with daterangepicker
$(function () {
$('.time').daterangepicker({
"minDate": moment(''),
"timePicker": true,
"showDropdowns": true,
"timePicker24Hour": false,
"timePickerIncrement": 5,
"autoApply": true,
"locale": {
"format": "MM/DD/YYYY hh:mm:ss A",
"separator": " — ",
}
});
});
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2tkai66
via IFTTT
Aucun commentaire:
Enregistrer un commentaire