Skip to content

A free open source IT asset/license management system

clearing the date pickers

akemidxa6fa795b4177
diff --git a/resources/views/reports/custom.blade.php b/resources/views/reports/custom.blade.php
index c5b2a421a9..9a5768ee32 100644
--- a/resources/views/reports/custom.blade.php
+++ b/resources/views/reports/custom.blade.php
@@ -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,
});