Comment out geofence message when viewing JO. Initialize branch_codes array. #788

This commit is contained in:
Korina Cordero 2024-01-31 20:13:41 -05:00
parent 313dc74eb0
commit 0e5365a015
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();