Update perbaikan notifikasi sertifikat dengan tidak menampilkan deleted_at

This commit is contained in:
mikael-zakaria 2026-04-07 12:49:50 +07:00
parent 4496d75a4e
commit 2e37b2b88c

View File

@ -28,6 +28,7 @@ class SidebarCertificateCell extends Cell {
") ")
->where('certificates.status', 'unvalidated') ->where('certificates.status', 'unvalidated')
->Where('certificates.manager_validation_at', null) ->Where('certificates.manager_validation_at', null)
->where('deleted_at', null)
->get() ->get()
->getRow(); ->getRow();
@ -50,6 +51,7 @@ class SidebarCertificateCell extends Cell {
->where('users.reportto', $userId) ->where('users.reportto', $userId)
->where('certificates.status', 'unvalidated') ->where('certificates.status', 'unvalidated')
->Where('certificates.spv_validation_at', null) ->Where('certificates.spv_validation_at', null)
->where('deleted_at', null)
->get() ->get()
->getRow(); ->getRow();
@ -69,6 +71,7 @@ class SidebarCertificateCell extends Cell {
") ")
->where('user_id', $userId) ->where('user_id', $userId)
->where('user_validation_at', null) ->where('user_validation_at', null)
->where('deleted_at', null)
->get() ->get()
->getRow(); ->getRow();