diff --git a/app/Http/Controllers/MapMonitoringController.php b/app/Http/Controllers/MapMonitoringController.php index 486e3be..c98f5c2 100644 --- a/app/Http/Controllers/MapMonitoringController.php +++ b/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,