| Línea 163... |
Línea 163... |
| 163 |
$form = new RecruitmentSelectionVacancyForm($this->adapter, $currentCompany->id);
|
163 |
$form = new RecruitmentSelectionVacancyForm($this->adapter, $currentCompany->id);
|
| Línea 164... |
Línea 164... |
| 164 |
|
164 |
|
| 165 |
$jobDescriptionMapper = JobDescriptionMapper::getInstance($this->adapter);
|
165 |
$jobDescriptionMapper = JobDescriptionMapper::getInstance($this->adapter);
|
| 166 |
$jobsDescription = $jobDescriptionMapper->fetchAllByCompanyId($currentCompany->id);
|
166 |
$jobsDescription = $jobDescriptionMapper->fetchAllByCompanyId($currentCompany->id);
|
| - |
|
167 |
$industryMapper = industryMapper::getInstance($this->adapter);
|
| 167 |
$industryMapper = industryMapper::getInstance($this->adapter);
|
168 |
$industry = $industryMapper->fetchAllActives();
|
| - |
|
169 |
$jobCategoryMapper = JobCategoryMapper::getInstance($this->adapter);
|
| Línea 168... |
Línea 170... |
| 168 |
$jobCategoryMapper = JobCategoryMapper::getInstance($this->adapter);
|
170 |
$jobCategory = $jobCategoryMapper->fetchAllActivies();
|
| 169 |
|
171 |
|
| 170 |
$this->layout()->setTemplate('layout/layout-backend');
|
172 |
$this->layout()->setTemplate('layout/layout-backend');
|
| 171 |
$viewModel = new ViewModel();
|
173 |
$viewModel = new ViewModel();
|
| 172 |
$viewModel->setTemplate('leaders-linked/recruitment-and-selection-vacancies/index.phtml');
|
174 |
$viewModel->setTemplate('leaders-linked/recruitment-and-selection-vacancies/index.phtml');
|
| 173 |
$viewModel->setVariable('form', $form);
|
175 |
$viewModel->setVariable('form', $form);
|
| - |
|
176 |
$viewModel->setVariable('google_map_key', $google_map_key);
|
| - |
|
177 |
$viewModel->setVariable('jobsDescription', $jobsDescription);
|
| - |
|
178 |
$viewModel->setVariable('industry', $industry);
|
| 174 |
$viewModel->setVariable('google_map_key', $google_map_key);
|
179 |
$viewModel->setVariable('jobsCategory', $jobsCategory);
|
| 175 |
$viewModel->setVariable('jobsDescription', $jobsDescription);
|
180 |
|
| 176 |
return $viewModel;
|
181 |
return $viewModel;
|
| 177 |
}
|
182 |
}
|
| 178 |
} else {
|
183 |
} else {
|