public function ajaxMergeBatchAction() { $this->_helper->layout->disableLayout(); $stock_batch = new Model_StockBatch(); $stock_batch->form_values = array('item_id' => $this->_request->getParam('product'), 'wh_id' => $this->_request->getParam('warehouse')); $result = $stock_batch->getBatchesByItem(); $this->view->result = $result; $this->view->role_id = $this->_identity->getRoleId(); }