mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
More flexible date range in datepicker for expected checkin filter on custom reports
This commit is contained in:
parent
13195d06fd
commit
cca97341e9
|
@ -298,7 +298,7 @@
|
|||
</div>
|
||||
|
||||
<!-- Expected Checkin Date -->
|
||||
<div class="form-group purchase-range">
|
||||
<div class="form-group expected_checkin-range">
|
||||
<label for="purchase_date" class="col-md-3 control-label">{{ trans('admin/hardware/form.expected_checkin') }}</label>
|
||||
<div class="input-daterange input-group col-md-6" id="datepicker">
|
||||
<input type="text" class="input-sm form-control" name="expected_checkin_start" />
|
||||
|
@ -341,6 +341,12 @@
|
|||
format: 'yyyy-mm-dd'
|
||||
});
|
||||
|
||||
$('.expected_checkin-range .input-daterange').datepicker({
|
||||
clearBtn: true,
|
||||
todayHighlight: true,
|
||||
format: 'yyyy-mm-dd'
|
||||
});
|
||||
|
||||
// Check-all / Uncheck all
|
||||
$(function () {
|
||||
var checkAll = $('input.all');
|
||||
|
|
Loading…
Reference in a new issue