/** * */ public function fetchTransactionContractAction() { $this->_helper->viewRenderer->setRender('list-transaction'); $this->_helper->layout()->disableLayout(); $filters = array('fk_id_fefop_contract' => $this->_getParam('id')); $rows = $this->_mapper->listByFilters($filters); $this->view->rows = $rows; }
/** * @access public * @return array */ public function financialContractReport() { $mapper = new Fefop_Model_Mapper_Financial(); $rows = $mapper->listByFilters($this->_data); return array('rows' => $rows->toArray()); }