From 7a7c2339122e0eb2c3896211595dde981f83fbc4 Mon Sep 17 00:00:00 2001 From: ajikamaludin Date: Wed, 1 Feb 2023 13:21:29 +0700 Subject: [PATCH] fix --- app/Mail/DocumentNotification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Mail/DocumentNotification.php b/app/Mail/DocumentNotification.php index b2da9f5..4377df3 100644 --- a/app/Mail/DocumentNotification.php +++ b/app/Mail/DocumentNotification.php @@ -39,7 +39,7 @@ class DocumentNotification extends Mailable return $this->markdown('emails.document.notification', [ 'documents' => $docs, - 'dueDocuments' => Document::whereDate('due_date', '<', now()->toDateString())->get() + 'dueDocuments' => Document::whereDate('due_date', '<=', now()->toDateString())->get() ]); } }