update sikit

This commit is contained in:
Nur Izzati Zulkifli
2024-01-09 16:53:21 +08:00
parent 5e6e020571
commit c9e5735dac
@@ -256,7 +256,7 @@ class CallCenterController extends Controller
$notisbycaw = NotisPeringatan::on('mysql7') $notisbycaw = NotisPeringatan::on('mysql7')
->where('notisperingatan.notis_id',$notisid) ->where('notisperingatan.notis_id',$notisid)
->where('notisperingatan.kodcaw',$cawangan['kodcaw']) ->where('notisperingatan.kodcaw',$cawangan['kodcaw'])
->where('notisperingatan.tarikhnotis1','=', NULL) ->where('notisperingatan.peringatan','=', 1)
->distinct() ->distinct()
->get(); ->get();
// dd($notisbycaw); // dd($notisbycaw);
@@ -278,7 +278,7 @@ class CallCenterController extends Controller
$notisbycaw = NotisPeringatan::on('mysql7') $notisbycaw = NotisPeringatan::on('mysql7')
->where('notisperingatan.notis_id',$notisid) ->where('notisperingatan.notis_id',$notisid)
->where('notisperingatan.kodcaw',$kodcaw) ->where('notisperingatan.kodcaw',$kodcaw)
->where('notisperingatan.tarikhnotis1', '=', NULL) ->where('notisperingatan.peringatan', '=', 1)
->distinct() ->distinct()
->get(); ->get();