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