public function orderFormAction()
    {
        $locale = $this->getUser()->getLocale();

        return $this->render(
            'SuluSalesOrderBundle:Template:order.form.html.twig',
            [
                'systemUser' => $this->getSystemUserArray(),
                'systemUserId' => $this->getUser()->getContact()->getId(),
                'termsOfPayment' => $this->getTermsArray(self::$termsOfPaymentEntityName),
                'termsOfDelivery' => $this->getTermsArray(self::$termsOfDeliveryEntityName),
                'orderStatus' => $this->getOrderStatus(),
                'currencies' => $this->getCurrencies($locale),
                'customerId' => Account::TYPE_CUSTOMER,
                'taxClasses' => $this->getTaxClasses($locale),
                'units' => $this->getProductUnits($locale),
                'customerTypes' => $this->getCustomerTypesManager()->retrieveAllAsArray($locale),
                'customerTypeDefault' => $this->getCustomerTypesManager()->retrieveDefault($locale)
            ]
        );
    }
public function orderFormAction()
    {
        $locale = $this->getUser()->getLocale();

        return $this->render(
            'SuluSalesOrderBundle:Template:order.form.html.twig',
            [
                'systemUser' => $this->getSystemUserArray(),
                'systemUserId' => $this->getUser()->getContact()->getId(),
                'termsOfPayment' => $this->getTermsArray(self::$termsOfPaymentEntityName),
                'termsOfDelivery' => $this->getTermsArray(self::$termsOfDeliveryEntityName),
                'orderStatus' => $this->getOrderStatus(),
                'currencies' => $this->getCurrencies($locale),
                'customerId' => Account::TYPE_CUSTOMER,
                'taxClasses' => $this->getTaxClasses($locale),
                'units' => $this->getProductUnits($locale),
                'customerTypes' => $this->getCustomerTypesManager()->retrieveAllAsArray($locale),
                'customerTypeDefault' => $this->getCustomerTypesManager()->retrieveDefault($locale)
            ]
        );
    }
public function orderFormAction ( ) { $ locale = $ this -> getUser ( ) -> getLocale ( ) ; return $ this -> render ( 'SuluSalesOrderBundle:Template:order.form.html.twig' , [ 'systemUser' => $ this -> getSystemUserArray ( ) , 'systemUserId' => $ this -> getUser ( ) -> getContact ( ) -> getId ( ) , 'termsOfPayment' => $ this -> getTermsArray ( self :: $ termsOfPaymentEntityName ) , 'termsOfDelivery' => $ this -> getTermsArray ( self :: $ termsOfDeliveryEntityName ) , 'orderStatus' => $ this -> getOrderStatus ( ) , 'currencies' => $ this -> getCurrencies ( $ locale ) , 'customerId' => Account :: TYPE_CUSTOMER , 'taxClasses' => $ this -> getTaxClasses ( $ locale ) , 'units' => $ this -> getProductUnits ( $ locale ) , 'customerTypes' => $ this -> getCustomerTypesManager ( ) -> retrieveAllAsArray ( $ locale ) , 'customerTypeDefault' => $ this -> getCustomerTypesManager ( ) -> retrieveDefault ( $ locale ) ] ) ; }
Returns Template for list.

@return Response
Returns Template for list .