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