src/Slashworks/AppBundle/Controller/CustomerController.php
public function modalInfoAction($id)
        {

            /** @var Customer $oCustomer */
            $oCustomer = CustomerQuery::create()->findOneById($id);

            return $this->render('SlashworksAppBundle:Customer:modal_info.html.twig', array(
                'customer' => $oCustomer
            ));

        }
public function modalInfoAction($id)
        {

            /** @var Customer $oCustomer */
            $oCustomer = CustomerQuery::create()->findOneById($id);

            return $this->render('SlashworksAppBundle:Customer:modal_info.html.twig', array(
                'customer' => $oCustomer
            ));

        }
public function modalInfoAction ( $ id ) { /** @var Customer $oCustomer */ $ oCustomer = CustomerQuery :: create ( ) -> findOneById ( $ id ) ; return $ this -> render ( 'SlashworksAppBundle:Customer:modal_info.html.twig' , array ( 'customer' => $ oCustomer ) ) ; }
Modal info window for customerinformations

@param int $id

@return \Symfony\Component\HttpFoundation\Response
Modal info window for customerinformations