update blast wasap notis kedua

This commit is contained in:
Nur Izzati Zulkifli
2024-01-10 09:14:50 +08:00
parent 30097a02a0
commit 3f6315ae59
@@ -916,9 +916,10 @@ class CallCenterController extends Controller
->where('notisperingatan.peringatan',2)
->where('notisperingatan.tarikhnotis2','=', NULL)
->distinct()
->get()->toArray();
->get();
$notisbycawarray = $notisbycaw->toArray();
// dd($notisbycaw);
if(empty($notisbycaw)){
if(empty($notisbycawarray)){
// dd(false);
return response()->json('failed');
}else{