Merged in izzati-ujrah (pull request #83)

update blast wasap notis kedua
This commit is contained in:
izzati zulkifli
2024-01-10 01:17:04 +00:00
@@ -916,9 +916,10 @@ class CallCenterController extends Controller
->where('notisperingatan.peringatan',2) ->where('notisperingatan.peringatan',2)
->where('notisperingatan.tarikhnotis2','=', NULL) ->where('notisperingatan.tarikhnotis2','=', NULL)
->distinct() ->distinct()
->get()->toArray(); ->get();
$notisbycawarray = $notisbycaw->toArray();
// dd($notisbycaw); // dd($notisbycaw);
if(empty($notisbycaw)){ if(empty($notisbycawarray)){
// dd(false); // dd(false);
return response()->json('failed'); return response()->json('failed');
}else{ }else{