Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 10098 | Rev 10102 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

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