This commit is contained in:
Dwi Swandhana
2026-08-13 10:25:13 +07:00
parent 3decbec88e
commit 59d448360f
+1 -1
View File
@@ -72,7 +72,7 @@ class AstmMessageService
return;
}
Periksa::where('nofoto', $nofoto)->get()->each(function ($periksa) use ($proposedStatus) {
Periksa::where('nofoto', $nofoto)->whereNotNull('status')->get()->each(function ($periksa) use ($proposedStatus) {
if (in_array($periksa->status, ['Arsip', 'Dibatalkan (Arsip)', 'Batal'], true)) {
return;
}