Add source to invoice criteria. Modify invoice rules to get service fees from... #1701

Merged
arcticzero merged 217 commits from 746-resq-2-0-final into master 2023-11-22 08:54:48 +00:00
Showing only changes of commit fed0b655f5 - Show all commits

View file

@ -394,8 +394,8 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
}
// check if landmark is set
if (empty($req->request->get('landmark')))
$error_array['landmark'] = 'Landmark is required.';
//if (empty($req->request->get('landmark')))
// $error_array['landmark'] = 'Landmark is required.';
// check if customer is not 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
if (empty($req->request->get('landmark')))
$error_array['landmark'] = 'Landmark is required.';
//if (empty($req->request->get('landmark')))
// $error_array['landmark'] = 'Landmark is required.';
// check if customer is not 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
if (empty($req->request->get('landmark')))
$error_array['landmark'] = 'Landmark is required.';
//if (empty($req->request->get('landmark')))
// $error_array['landmark'] = 'Landmark is required.';
// check if customer is not 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
if (empty($req->request->get('landmark')))
$error_array['landmark'] = 'Landmark is required.';
//if (empty($req->request->get('landmark')))
// $error_array['landmark'] = 'Landmark is required.';
// check if customer is not 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
if (empty($req->request->get('landmark')))
$error_array['landmark'] = 'Landmark is required.';
//if (empty($req->request->get('landmark')))
// $error_array['landmark'] = 'Landmark is required.';
// check if customer is not 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
if (empty($req->request->get('landmark')))
$error_array['landmark'] = 'Landmark is required.';
//if (empty($req->request->get('landmark')))
// $error_array['landmark'] = 'Landmark is required.';
// error_log($req->request->get('landmark'));
@ -1699,8 +1699,8 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
}
// check if landmark is set
if (empty($req->request->get('landmark')))
$error_array['landmark'] = 'Landmark is required.';
//if (empty($req->request->get('landmark')))
// $error_array['landmark'] = 'Landmark is required.';
// check if customer is not willing to wait
$will_wait = $req->request->get('flag_willing_to_wait');