mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
adds checkout-range to jquery
This commit is contained in:
parent
8a5612d1c9
commit
0e1f50c226
|
@ -284,7 +284,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Checkout Date -->
|
<!-- 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>
|
<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">
|
<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">
|
<input type="text" class="form-control" name="checkout_date_start" aria-label="checkout_date_start">
|
||||||
|
@ -378,6 +378,12 @@
|
||||||
endDate: '0d',
|
endDate: '0d',
|
||||||
format: 'yyyy-mm-dd'
|
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({
|
$('.expected_checkin-range .input-daterange').datepicker({
|
||||||
clearBtn: true,
|
clearBtn: true,
|
||||||
|
|
Loading…
Reference in a new issue