Resolve "Remove geofence message from View JO" #1711

Merged
korina.cordero merged 1 commit from 788-remove-geofence-message-from-view-jo into master 2024-02-01 06:46:30 +00:00
2 changed files with 4 additions and 1 deletions

View file

@ -2910,6 +2910,7 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
$params['status_cancelled'] = JOStatus::CANCELLED;
$params['hubs'] = [];
$branch_codes = [];
// format duration and distance into friendly time
foreach ($hubs as $hub) {
// duration

View file

@ -635,6 +635,8 @@ $(function() {
function selectPoint(lat, lng)
{
// check if point is in coverage area
// commenting out the geofence call for CRM
/*
$.ajax({
method: "GET",
url: "{{ url('jo_geofence') }}",
@ -652,7 +654,7 @@ $(function() {
type: 'warning',
});
}
});
}); */
// clear markers
markerLayerGroup.clearLayers();