clearing the date pickers

This commit is contained in:
akemidx
2025-05-28 18:48:08 -04:00
parent 1ef5ad500a
commit a6fa795b41

View File

@@ -736,52 +736,60 @@
clearBtn: true,
todayHighlight: true,
endDate: '0d',
format: 'yyyy-mm-dd'
format: 'yyyy-mm-dd',
keepEmptyValues: true,
});
$('.checkout-range .input-daterange').datepicker({
clearBtn: true,
todayHighlight: true,
endDate: '0d',
format: 'yyyy-mm-dd'
format: 'yyyy-mm-dd',
keepEmptyValues: true,
});
$('.checkin-range .input-daterange').datepicker({
clearBtn: true,
todayHighlight: true,
endDate: '0d',
format: 'yyyy-mm-dd'
format: 'yyyy-mm-dd',
keepEmptyValues: true,
});
$('.expected_checkin-range .input-daterange').datepicker({
clearBtn: true,
todayHighlight: true,
format: 'yyyy-mm-dd'
format: 'yyyy-mm-dd',
keepEmptyValues: true,
});
$('.asset_eol_date-range .input-daterange').datepicker({
clearBtn: true,
todayHighlight: true,
format: 'yyyy-mm-dd'
format: 'yyyy-mm-dd',
keepEmptyValues: true,
});
$('.last_audit-range .input-daterange').datepicker({
clearBtn: true,
todayHighlight: true,
endDate:'0d',
format: 'yyyy-mm-dd'
format: 'yyyy-mm-dd',
keepEmptyValues: true,
});
$('.next_audit-range .input-daterange').datepicker({
clearBtn: true,
todayHighlight: true,
format: 'yyyy-mm-dd'
format: 'yyyy-mm-dd',
keepEmptyValues: true,
});
$('.last_updated-range .input-daterange').datepicker({
clearBtn: true,
todayHighlight: true,
endDate:'0d',
format: 'yyyy-mm-dd'
format: 'yyyy-mm-dd',
keepEmptyValues: true,
});