/**
  * 
  */
 public function searchBeneficiaryAction()
 {
     $this->_helper->layout()->disableLayout();
     $this->view->rows = $this->_mapper->listBeneficiariesByFilter($this->_getAllParams());
 }
Пример #2
0
 /**
  * 
  */
 public function listContractsAction()
 {
     $this->_helper->layout()->disableLayout();
     $id = $this->_getParam('id');
     // Fetch the Expenses related to the DRH module
     $mapperBudgetCategory = new Fefop_Model_Mapper_Expense();
     $this->view->expenses = $mapperBudgetCategory->expensesInItem(Fefop_Model_Mapper_Expense::CONFIG_PFPCI_DRH);
     $mapperDRHTrainingPlan = new Fefop_Model_Mapper_DRHTrainingPlan();
     $filters = array('no_contract' => true, 'training_plan' => $id);
     $this->view->beneficiaries = $mapperDRHTrainingPlan->listBeneficiariesByFilter($filters);
     $this->view->training_plan = $mapperDRHTrainingPlan->detail($id);
 }