From 2e37b2b88c6254c2722af122a76f43aa8af6ac9b Mon Sep 17 00:00:00 2001 From: mikael-zakaria Date: Tue, 7 Apr 2026 12:49:50 +0700 Subject: [PATCH] Update perbaikan notifikasi sertifikat dengan tidak menampilkan deleted_at --- app/Cells/SidebarCertificateCell.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Cells/SidebarCertificateCell.php b/app/Cells/SidebarCertificateCell.php index 65916da..edbb108 100644 --- a/app/Cells/SidebarCertificateCell.php +++ b/app/Cells/SidebarCertificateCell.php @@ -28,6 +28,7 @@ class SidebarCertificateCell extends Cell { ") ->where('certificates.status', 'unvalidated') ->Where('certificates.manager_validation_at', null) + ->where('deleted_at', null) ->get() ->getRow(); @@ -50,6 +51,7 @@ class SidebarCertificateCell extends Cell { ->where('users.reportto', $userId) ->where('certificates.status', 'unvalidated') ->Where('certificates.spv_validation_at', null) + ->where('deleted_at', null) ->get() ->getRow(); @@ -69,6 +71,7 @@ class SidebarCertificateCell extends Cell { ") ->where('user_id', $userId) ->where('user_validation_at', null) + ->where('deleted_at', null) ->get() ->getRow();