public function numberofshippedorderitemsAction(Request $request)
    {
        $orderId = $request->get('orderId');
        $sum = $this->getManager()->getSumOfShippedItemsByOrderId($orderId);
        return $this->handleView($this->view($sum, 200));
    }
public function numberofshippedorderitemsAction(Request $request)
    {
        $orderId = $request->get('orderId');
        $sum = $this->getManager()->getSumOfShippedItemsByOrderId($orderId);
        return $this->handleView($this->view($sum, 200));
    }
public function numberofshippedorderitemsAction ( Request $ request ) { $ orderId = $ request -> get ( 'orderId' ) ; $ sum = $ this -> getManager ( ) -> getSumOfShippedItemsByOrderId ( $ orderId ) ; return $ this -> handleView ( $ this -> view ( $ sum , 200 ) ) ; }
this function returns number of shipped items per item
the result is a key value pair of itemId => number of shipped items
@param Request $request
@return \Symfony\Component\HttpFoundation\Response
this function returns number of shipped items per item the result is a key value pair of itemId = > number of shipped items