dashboar fix

pull/2/head
ajikamaludin 2 years ago
parent 0cc51593f9
commit 2bfb5d4c30

@ -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(),
]);
}
}

Loading…
Cancel
Save