Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1384 Rev 1385
Línea 218... Línea 218...
218
 
218
 
219
                if (!$recruitmentForm->status) {
219
                if (!$recruitmentForm->status) {
220
                    $recruitmentForm->status = RecruitmentForm::STATUS_INACTIVE;
220
                    $recruitmentForm->status = RecruitmentForm::STATUS_INACTIVE;
221
                }
221
                }
222
                $recruitmentForm->company_id = $currentCompany->id;
222
                $recruitmentForm->company_id = $currentCompany->id;
Línea 223... Línea 223...
223
                $recruitmentFormMapper = RecurtingFo
223
                $recruitCandidateMapper = RecurtingForm::getInstance($this->adapter);;
Línea 224... Línea 224...
224
 
224
 
225
                $result = $recruitCandidateMapper->insert($recruitmentCandidate);
225
                $result = $recruitCandidateMapper->insert($recruitmentForm);
Línea 226... Línea 226...
226
 
226
 
227
 
227
 
228
                if ($result) {
228
                if ($result) {
229
                    $this->logger->info('Se agrego el proceso de reclutamiento' . $recruitmentCandidate->name, ['user_id' => $currentUser->id, 'ip' => Functions::getUserIP()]);
229
                    $this->logger->info('Se agrego el proceso de reclutamiento' . $recruitmentForm->name, ['user_id' => $currentUser->id, 'ip' => Functions::getUserIP()]);
Línea 322... Línea 322...
322
                }
322
                }
Línea 323... Línea 323...
323
 
323
 
324
                $jobDescriptionMapper = JobDescriptionMapper::getInstance($this->adapter);
324
                $jobDescriptionMapper = JobDescriptionMapper::getInstance($this->adapter);
325
                $jobDescription = $jobDescriptionMapper->fetchOneByUuid($dataPost['job_description_id']);
325
                $jobDescription = $jobDescriptionMapper->fetchOneByUuid($dataPost['job_description_id']);
326
                $recruitmentCandidate->job_description_id = $jobDescription->id;
-
 
327
                $industry = $industryMapper->fetchAllActives($company->industry_id);
-
 
328
                $jobCategoryMapper = JobCategoryMapper::getInstance($this->adapter);
-
 
Línea 329... Línea 326...
329
                $jobCategory = $jobCategoryMapper->fetchAllActives( $dataPost['job_category_id']);
326
                $recruitmentCandidate->job_description_id = $jobDescription->id;
Línea 330... Línea 327...
330
 
327