Browse Source

bug fix isset waypoint on map monitoring

pull/3/head
ardhi 1 year ago
parent
commit
3957377909
  1. 2
      app/Http/Controllers/MapMonitoringController.php

2
app/Http/Controllers/MapMonitoringController.php

@ -56,7 +56,7 @@ class MapMonitoringController extends Controller
'user_id' => $presensi->user_id,
'wp_lat' => isset($waypoint) ? $waypoint->lat : null,
'wp_lon' => isset($waypoint) ? $waypoint->lon : null,
'wp_time' => isset($waypoint) ? $waypoint->wptime : '-',
'wp_time' => isset($waypoint) ? $waypoint->wptime : null,
'clock_in' => $presensi->clock_in,
'clock_out' => $presensi->clock_out,
'clock_in_lat' => $presensi->clock_in_lat,

Loading…
Cancel
Save