diff --git a/resources/views/menu_v1/dashboard.blade.php b/resources/views/menu_v1/dashboard.blade.php index d0c3555..e9aa12e 100755 --- a/resources/views/menu_v1/dashboard.blade.php +++ b/resources/views/menu_v1/dashboard.blade.php @@ -1611,10 +1611,10 @@ // }); $('#historyStartDate').on('clearFilterHistoryDate', function(e) { // default date today - // State.historyStartDate = moment().startOf('day').unix(); - // State.historyEndDate = moment().endOf('day').unix(); - // $('#historyStartDate').val(moment().startOf('day').format('DD-MM-YYYY HH:mm')); - // $('#historyEndDate').val(moment().endOf('day').format('DD-MM-YYYY HH:mm')); + State.historyStartDate = moment().startOf('day').unix(); + State.historyEndDate = moment().endOf('day').unix(); + $('#historyStartDate').val(moment().startOf('day').format('DD-MM-YYYY HH:mm')); + $('#historyEndDate').val(moment().endOf('day').format('DD-MM-YYYY HH:mm')); // for testing purpose // State.historyStartDate = '1756054800';