@ -22,24 +22,24 @@ class MapMonitoringController extends Controller
->select('user_id')
->whereIn('proyek_id', $request->project_id)
->distinct()
->pluck('user_id');
// get position hr in presensi
$presences = DB::table('t_clock_in_out as tcio')
->get();
// get position hr in presensi
$tmp = [];
foreach($hr_assign_project as $key){
$presensi = DB::table('t_clock_in_out as tcio')
->select('tcio.id as clock_in_out_id','mu.id as user_id', 'mu.name as fullname', 'tcio.clock_in', 'tcio.clock_out', 'tcio.clock_in_lat', 'tcio.clock_in_lng',