From 2bfb5d4c30ac2f412313fb67310e1d9f7ec070f3 Mon Sep 17 00:00:00 2001 From: ajikamaludin Date: Wed, 1 Feb 2023 09:05:27 +0700 Subject: [PATCH] dashboar fix --- app/Http/Controllers/GeneralController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/GeneralController.php b/app/Http/Controllers/GeneralController.php index 2ec6f70..6a2cdc1 100644 --- a/app/Http/Controllers/GeneralController.php +++ b/app/Http/Controllers/GeneralController.php @@ -21,7 +21,7 @@ class GeneralController extends Controller return inertia('Dashboard', [ 'count_active' => $count, - 'count_update' => Document::whereDate('due_date', '<', now()->toDateString())->count(), + 'count_update' => Document::whereDate('due_date', '<=', now()->toDateString())->count(), ]); } }