Exemplo n.º 1
0
 public function sendquoteAction()
 {
     $pageSession = new Zend_Session_Namespace('landlords_insurance_quote');
     $quoteID = $pageSession->quoteID;
     $quoteManager = new Manager_Insurance_LandlordsPlus_Quote($quoteID);
     $postdata = $this->getRequest()->getPost();
     if (isset($postdata)) {
         // Find out how the customer wants their quote
         $sendBy = $postdata['how_send'];
         $request = $this->getRequest();
         $quoteManager->sendQuote($quoteManager->getPolicyNumber(), $sendBy);
     }
 }