Resolve "Auto-assign hub and rider" #1231

Merged
korina.cordero merged 22 commits from 374-auto-assign-hub-and-rider into master 2020-04-15 03:34:58 +00:00
Showing only changes of commit cdbf817db8 - Show all commits

View file

@ -181,12 +181,15 @@ class CustomerController extends Controller
public function getCustomerVehicles(Request $req, CustomerHandlerInterface $cust_handler)
{
/*
// TODO: fix
if ((!$this->isGranted('jo_onestep.form')) ||
(!$this->isGranted('jo_walkin.form')) ||
(!$this->isGranted('jo_in.list'))) {
$exception = $this->createAccessDeniedException('No access.');
throw $exception;
}
*/
$results = $cust_handler->getCustomerVehicles($req);