adds checkout-range to jquery

This commit is contained in:
Godfrey M 2023-04-19 10:11:26 -07:00
parent 8a5612d1c9
commit 0e1f50c226

View file

@ -284,7 +284,7 @@
</div>
<!-- Checkout Date -->
<div class="form-group purchase-range">
<div class="form-group checkout-range">
<label for="checkout_date" class="col-md-3 control-label">{{ trans('general.checkout') }} {{ trans('general.range') }}</label>
<div class="input-daterange input-group col-md-6" id="datepicker">
<input type="text" class="form-control" name="checkout_date_start" aria-label="checkout_date_start">
@ -378,6 +378,12 @@
endDate: '0d',
format: 'yyyy-mm-dd'
});
$('.checkout-range .input-daterange').datepicker({
clearBtn: true,
todayHighlight: true,
endDate: '0d',
format: 'yyyy-mm-dd'
});
$('.expected_checkin-range .input-daterange').datepicker({
clearBtn: true,