diff --git a/src/Service/RiderAPIHandler/CMBRiderAPIHandler.php b/src/Service/RiderAPIHandler/CMBRiderAPIHandler.php index 833c274f..d14eac69 100644 --- a/src/Service/RiderAPIHandler/CMBRiderAPIHandler.php +++ b/src/Service/RiderAPIHandler/CMBRiderAPIHandler.php @@ -605,7 +605,7 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface return $data; } - protected function formatJobOrderData($jo) + protected function formatJobOrderData($req, $jo) { $coord = $jo->getCoordinates(); $cust = $jo->getCustomer(); @@ -776,7 +776,7 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface return $data; } - $jo_data = $this->formatJobOrderData($jo); + $jo_data = $this->formatJobOrderData($req, $jo); $data = [ 'job_order' => $jo_data @@ -1880,7 +1880,7 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface return $data; } - $jo_data = $this->formatJobOrderData($jo); + $jo_data = $this->formatJobOrderData($req, $jo); $data = [ 'job_order' => $jo_data