Comment out geofence message when viewing JO. Initialize branch_codes array. #788
This commit is contained in:
parent
313dc74eb0
commit
0e5365a015
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue