|
|
|
@ -28,7 +28,7 @@ class PresenceController extends Controller
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if($request->type=="out"){ |
|
|
|
|
|
|
|
|
|
// $clock_out_loc get data from api.nominatim url serach address payload (lat lot); |
|
|
|
|
$clock_out_loc = "-"; |
|
|
|
|
$dataUpdate = array( |
|
|
|
|
"clock_out"=>$request->clock_time, |
|
|
|
@ -69,6 +69,7 @@ class PresenceController extends Controller
|
|
|
|
|
|
|
|
|
|
$onlyDate = date_format($date,"Y-m-d"); |
|
|
|
|
|
|
|
|
|
// $clock_in_loc get data from api.nominatim url serach address payload (lat lot); |
|
|
|
|
$clock_in_loc = "-"; |
|
|
|
|
|
|
|
|
|
$dataAdd = array( |
|
|
|
|