tgl filter

This commit is contained in:
Pringgosutono
2025-09-25 19:12:36 +07:00
parent 4b5cb88e4a
commit 111c3e35a1

View File

@ -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';