Skip to content

A free open source IT asset/license management system

Merge pull request #17025 from akemidx/clear_button_on_date_picker

snipe577b5586b439
diff --cc resources/views/reports/custom.blade.php
index c3d1a42740,9a5768ee32..28d8ab0318
--- a/resources/views/reports/custom.blade.php
+++ b/resources/views/reports/custom.blade.php
@@@ -736,17 -736,9 +736,18 @@@
clearBtn: true,
todayHighlight: true,
endDate: '0d',
- format: 'yyyy-mm-dd'
+ format: 'yyyy-mm-dd',
+ keepEmptyValues: true,
});
+
+ $('.created-range .input-daterange').datepicker({
+ clearBtn: true,
+ todayHighlight: true,
+ endDate: '0d',
+ format: 'yyyy-mm-dd',
+ keepEmptyValues: true,
+ });
+
$('.checkout-range .input-daterange').datepicker({
clearBtn: true,
todayHighlight: true,