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