Make landmark field optional for now #730
This commit is contained in:
parent
68fe13de46
commit
fed0b655f5
1 changed files with 14 additions and 14 deletions
|
|
@ -394,8 +394,8 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if landmark is set
|
// check if landmark is set
|
||||||
if (empty($req->request->get('landmark')))
|
//if (empty($req->request->get('landmark')))
|
||||||
$error_array['landmark'] = 'Landmark is required.';
|
// $error_array['landmark'] = 'Landmark is required.';
|
||||||
|
|
||||||
// check if customer is not willing to wait
|
// check if customer is not willing to wait
|
||||||
$will_wait = $req->request->get('flag_willing_to_wait');
|
$will_wait = $req->request->get('flag_willing_to_wait');
|
||||||
|
|
@ -654,8 +654,8 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if landmark is set
|
// check if landmark is set
|
||||||
if (empty($req->request->get('landmark')))
|
//if (empty($req->request->get('landmark')))
|
||||||
$error_array['landmark'] = 'Landmark is required.';
|
// $error_array['landmark'] = 'Landmark is required.';
|
||||||
|
|
||||||
// check if customer is not willing to wait
|
// check if customer is not willing to wait
|
||||||
$will_wait = $req->request->get('flag_willing_to_wait');
|
$will_wait = $req->request->get('flag_willing_to_wait');
|
||||||
|
|
@ -876,8 +876,8 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if landmark is set
|
// check if landmark is set
|
||||||
if (empty($req->request->get('landmark')))
|
//if (empty($req->request->get('landmark')))
|
||||||
$error_array['landmark'] = 'Landmark is required.';
|
// $error_array['landmark'] = 'Landmark is required.';
|
||||||
|
|
||||||
// check if customer is not willing to wait
|
// check if customer is not willing to wait
|
||||||
$will_wait = $req->request->get('flag_willing_to_wait');
|
$will_wait = $req->request->get('flag_willing_to_wait');
|
||||||
|
|
@ -1025,8 +1025,8 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if landmark is set
|
// check if landmark is set
|
||||||
if (empty($req->request->get('landmark')))
|
//if (empty($req->request->get('landmark')))
|
||||||
$error_array['landmark'] = 'Landmark is required.';
|
// $error_array['landmark'] = 'Landmark is required.';
|
||||||
|
|
||||||
// check if customer is not willing to wait
|
// check if customer is not willing to wait
|
||||||
$will_wait = $req->request->get('flag_willing_to_wait');
|
$will_wait = $req->request->get('flag_willing_to_wait');
|
||||||
|
|
@ -1165,8 +1165,8 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if landmark is set
|
// check if landmark is set
|
||||||
if (empty($req->request->get('landmark')))
|
//if (empty($req->request->get('landmark')))
|
||||||
$error_array['landmark'] = 'Landmark is required.';
|
// $error_array['landmark'] = 'Landmark is required.';
|
||||||
|
|
||||||
// check if customer is not willing to wait
|
// check if customer is not willing to wait
|
||||||
$will_wait = $req->request->get('flag_willing_to_wait');
|
$will_wait = $req->request->get('flag_willing_to_wait');
|
||||||
|
|
@ -1417,8 +1417,8 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if landmark is set
|
// check if landmark is set
|
||||||
if (empty($req->request->get('landmark')))
|
//if (empty($req->request->get('landmark')))
|
||||||
$error_array['landmark'] = 'Landmark is required.';
|
// $error_array['landmark'] = 'Landmark is required.';
|
||||||
|
|
||||||
// error_log($req->request->get('landmark'));
|
// error_log($req->request->get('landmark'));
|
||||||
|
|
||||||
|
|
@ -1699,8 +1699,8 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if landmark is set
|
// check if landmark is set
|
||||||
if (empty($req->request->get('landmark')))
|
//if (empty($req->request->get('landmark')))
|
||||||
$error_array['landmark'] = 'Landmark is required.';
|
// $error_array['landmark'] = 'Landmark is required.';
|
||||||
|
|
||||||
// check if customer is not willing to wait
|
// check if customer is not willing to wait
|
||||||
$will_wait = $req->request->get('flag_willing_to_wait');
|
$will_wait = $req->request->get('flag_willing_to_wait');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue