Línea 120... |
Línea 120... |
120 |
$acl = $this->getEvent()->getViewModel()->getVariable('acl');
|
120 |
$acl = $this->getEvent()->getViewModel()->getVariable('acl');
|
121 |
$allowDelete = $acl->isAllowed($currentUser->usertype_id, 'recruitment-and-selection/vacancies/delete');
|
121 |
$allowDelete = $acl->isAllowed($currentUser->usertype_id, 'recruitment-and-selection/vacancies/delete');
|
Línea 122... |
Línea 122... |
122 |
|
122 |
|
Línea -... |
Línea 123... |
- |
|
123 |
$allowEdit = $acl->isAllowed($currentUser->usertype_id, 'recruitment-and-selection/vacancies/edit');
|
- |
|
124 |
|
- |
|
125 |
$jobDescriptionMapper = JobDescriptionMapper::getInstance($this->adapter);
|
123 |
$allowEdit = $acl->isAllowed($currentUser->usertype_id, 'recruitment-and-selection/vacancies/edit');
|
126 |
$industryMapper = IndustryMapper::getInstance($this->adapter);
|
- |
|
127 |
$jobCategoryMapper = JobCategoryMapper::getInstance($this->adapter);
|
- |
|
128 |
|
- |
|
129 |
$jobsCategories = [];
|
- |
|
130 |
$records = $jobCategoryMapper->fetchAllActives();
|
- |
|
131 |
|
- |
|
132 |
foreach ($records as $record)
|
- |
|
133 |
{
|
Línea 124... |
Línea 134... |
124 |
|
134 |
$jobsCategories[$record->uuid] = $record->name;
|
125 |
|
135 |
}
|
Línea 126... |
Línea -... |
126 |
|
- |
|
127 |
$recruitmentSelectionVacancyMapper = RecruitmentSelectionVacancyMapper::getInstance($this->adapter);
|
- |
|
128 |
$paginator = $recruitmentSelectionVacancyMapper->fetchAllDataTableByCompanyId($currentCompany->id, $search, $page, $records_x_page, $order_field, $order_direction);
|
- |
|
Línea 129... |
Línea 136... |
129 |
|
136 |
|
130 |
$jobDescriptionMapper = JobDescriptionMapper::getInstance($this->adapter);
|
137 |
$recruitmentSelectionVacancyMapper = RecruitmentSelectionVacancyMapper::getInstance($this->adapter);
|
Línea 131... |
Línea 138... |
131 |
$industryMapper = IndustryMapper::getInstance($this->adapter);
|
138 |
$paginator = $recruitmentSelectionVacancyMapper->fetchAllDataTableByCompanyId($currentCompany->id, $search, $page, $records_x_page, $order_field, $order_direction);
|