update untuk kemaskini data arcc
This commit is contained in:
@@ -969,4 +969,21 @@ class CallCenterController extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
public function getcawnotiskemaskini($notisid)
|
||||
{
|
||||
$current = Carbon::now();
|
||||
$current = new Carbon();
|
||||
|
||||
$arraybatch = [];
|
||||
$batchnotis = Notis::on('mysql7')->where('id',$notisid)->get();
|
||||
$cawangan_all = Cawangan::on('mysql7')->get();
|
||||
$cawnotis_all = [];
|
||||
foreach ($batchnotis as $index => $cawangan){
|
||||
$notis = CawanganNotis::on('mysql7')
|
||||
->join('arrahn_master_db', 'arrahn_master_db.kodcaw', '=', 'cawangan_notis.kodcaw')
|
||||
->where('notis_id',$notisid)->get();
|
||||
}
|
||||
return response()->json($notis);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user