From 111c3e35a1019aff09355dd2a3a7ad202ed308a9 Mon Sep 17 00:00:00 2001 From: Pringgosutono Date: Thu, 25 Sep 2025 19:12:36 +0700 Subject: [PATCH] tgl filter --- resources/views/menu_v1/dashboard.blade.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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';