update
This commit is contained in:
@@ -72,7 +72,7 @@ class AstmMessageService
|
|||||||
return;
|
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)) {
|
if (in_array($periksa->status, ['Arsip', 'Dibatalkan (Arsip)', 'Batal'], true)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user