Exemplo n.º 1
0
 public function monthlyConsumptionDraftAction()
 {
     $this->_helper->layout->disableLayout();
     $this->_helper->viewRenderer->setNoRender(TRUE);
     if ($this->_request->isPost()) {
         $data = $this->_request->getPost();
         $warehouse_data_draft = new Model_WarehousesData();
         $warehouse_data_draft->form_values = $data;
         $result = $warehouse_data_draft->addMonthlyConsumptionDraft();
     }
 }