public function get_truck_delivery_order($truckId)
 {
     $order = new ModelTemplate('DeliveryOrder');
     $carCtr = new Car_Controller();
     $pointOfInterestCtr = new PointOfInterest_Controller();
     $order = $order->get_single('truck_id', $truckId);
     $order->car_id = $carCtr->get_single_car($order->car_id);
     $order->manufacturer_id = $pointOfInterestCtr->get_single_point_of_interest($order->manufacturer_id);
     $order->shop_id = $pointOfInterestCtr->get_single_point_of_interest($order->shop_id);
     return $order;
 }
 private function get_services()
 {
     $poiCtr = new PointOfInterest_Controller();
     $pois = $poiCtr->get_all('type', 'service');
     if ($pois) {
         foreach ($pois as &$poi) {
             $poi = $poi->get_all_fields();
         }
     }
     return $pois;
 }