Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 7174 Rev 7300
Línea 202... Línea 202...
202
                            
202
                            
203
                            $recruitmentSelectionCandidate = $recruitmentSelectionCandidateMapper->fetchOne($recruitmentSelectionInterview->candidate_id);
203
                            $recruitmentSelectionCandidate = $recruitmentSelectionCandidateMapper->fetchOne($recruitmentSelectionInterview->candidate_id);
204
                            if($recruitmentSelectionVacancy && $recruitmentSelectionCandidate) {
204
                            if($recruitmentSelectionVacancy && $recruitmentSelectionCandidate) {
205
                                $jobDescription = $jobDescriptionMapper->fetchOne($recruitmentSelectionVacancy->job_description_id);
205
                                $jobDescription = $jobDescriptionMapper->fetchOne($recruitmentSelectionVacancy->job_description_id);
-
 
206
                                if($jobDescription) {
206
                                if($jobDescription) {
207
                                    $url = '';
Línea -... Línea 208...
-
 
208
                                    $hasLink = !empty($companyUsers[$recruitmentSelectionInterview->company_id]);
-
 
209
                                    
207
                                    $hasLink = !empty($companyUsers[$recruitmentSelectionInterview->company_id]);
210
                                    
Línea 208... Línea 211...
208
                                    
211
                                    
209
                                    if($hasLink) {
212
                                    if($hasLink) {
Línea 215... Línea 218...
215
                                        } else {
218
                                        } else {
216
                                            $company = $companies[ $recruitmentSelectionInterview->company_id ];
219
                                            $company = $companies[ $recruitmentSelectionInterview->company_id ];
217
                                        }
220
                                        }
Línea 218... Línea 221...
218
                                        
221
                                        
219
                                        
222
                                        
220
                                        $href = $this->url()->fromRoute('backend/signin-company', [
223
                                        $url = $this->url()->fromRoute('backend/signin-company', [
221
                                            'id' => $company->uuid,
224
                                            'id' => $company->uuid,
222
                                            'relational' => $recruitmentSelectionInterview->uuid,
225
                                            'relational' => $recruitmentSelectionInterview->uuid,
223
                                            'type' => CalendarEvent::TYPE_RECRUITMENT_SELECTION_INTERVIEW
-
 
224
                                        ]);
-
 
225
                                        
-
 
226
                                        
-
 
227
                                        $agenda = '<a href="'.$href.'" class="goto-backend"><br>';
-
 
228
                                    } else {
226
                                            'type' => CalendarEvent::TYPE_RECRUITMENT_SELECTION_INTERVIEW
Línea 229... Línea 227...
229
                                        $agenda = '';
227
                                        ]);
230
                                    }
228
                                    }
231
   
229
   
232
                                    $agenda .= " LABEL_RECRUITMENT_SELECTION_JOB_DESCRIPTION : " . $jobDescription->name . "<br>";
230
                                    $agenda = " LABEL_RECRUITMENT_SELECTION_JOB_DESCRIPTION : " . $jobDescription->name . "<br>";
233
                                    switch($recruitmentSelectionInterview->type)
231
                                    switch($recruitmentSelectionInterview->type)
234
                                    {
232
                                    {
Línea 246... Línea 244...
246
                                    
244
                                    
247
                                    
245
                                    
Línea 248... Línea -...
248
                                    $dtStart = \DateTime::createFromFormat('Y-m-d', $recruitmentSelectionInterview->last_date);
-
 
249
                                    $agenda .= " LABEL_PERFORMANCE_EVALUATION_LAST_DATE : " . $dtStart->format('Y-m-d') . "<br>" ;
-
 
250
                                    
-
 
251
                                    if($hasLink) {
-
 
252
                                        $agenda .= "</a><br>";
-
 
253
                                    }
-
 
Línea 254... Línea 246...
254
                                    
246
                                    $dtStart = \DateTime::createFromFormat('Y-m-d', $recruitmentSelectionInterview->last_date);
255
                                    
247
                                    $agenda .= " LABEL_PERFORMANCE_EVALUATION_LAST_DATE : " . $dtStart->format('Y-m-d') . "<br>" ;
256
                                    
248
                                    
257
                                    
249
                                    
-
 
250
                                    array_push($events, [
258
                                    array_push($events, [
251
                                        'id'                => $recruitmentSelectionInterview->uuid,
259
                                        'id'                => $recruitmentSelectionInterview->uuid,
252
                                        'title'             => $recruitmentSelectionVacancy->name,
260
                                        'title'             => $recruitmentSelectionVacancy->name,
253
                                        'agenda'            => $agenda,
261
                                        'agenda'            => $agenda,
254
                                        'url'               => $url,
262
                                        'start'             => $dtStart->format('Y-m-d'),
255
                                        'start'             => $dtStart->format('Y-m-d'),
Línea 287... Línea 280...
287
                            
280
                            
288
                            $performanceEvaluationForm = $performanceEvaluationFormMapper->fetchOne($performanceEvaluationTest->form_id);
281
                            $performanceEvaluationForm = $performanceEvaluationFormMapper->fetchOne($performanceEvaluationTest->form_id);
289
                            if($performanceEvaluationForm) {
282
                            if($performanceEvaluationForm) {
290
                                $jobDescription = $jobDescriptionMapper->fetchOne($performanceEvaluationForm->job_description_id);
283
                                $jobDescription = $jobDescriptionMapper->fetchOne($performanceEvaluationForm->job_description_id);
-
 
284
                                if($jobDescription) {
291
                                if($jobDescription) {
285
                                    $url = '';
292
                                    if($performanceEvaluationTest->supervisor_id) {
286
                                    if($performanceEvaluationTest->supervisor_id) {
293
                                        $supervisor = $userMapper->fetchOne($performanceEvaluationTest->supervisor_id);
287
                                        $supervisor = $userMapper->fetchOne($performanceEvaluationTest->supervisor_id);
294
                                    } else {
288
                                    } else {
295
                                        $supervisor = '';
289
                                        $supervisor = '';
Línea 335... Línea 329...
335
                                        } else {
329
                                        } else {
336
                                            $company = $companies[ $performanceEvaluationTest->company_id ];
330
                                            $company = $companies[ $performanceEvaluationTest->company_id ];
337
                                        }
331
                                        }
Línea 338... Línea 332...
338
                                            
332
                                            
339
                                        
333
                                        
340
                                        $href = $this->url()->fromRoute('backend/signin-company', [
334
                                        $url = $this->url()->fromRoute('backend/signin-company', [
341
                                            'id' => $company->uuid, 
335
                                            'id' => $company->uuid, 
342
                                            'relational' => $performanceEvaluationTest->uuid, 
336
                                            'relational' => $performanceEvaluationTest->uuid, 
Línea 343... Línea -...
343
                                            'type' => CalendarEvent::TYPE_PERFORMANCE_EVALUATION
-
 
344
                                        ]);
-
 
345
                                        
-
 
-
 
337
                                            'type' => CalendarEvent::TYPE_PERFORMANCE_EVALUATION
346
                                        
338
                                        ]);
Línea 347... Línea 339...
347
                                        $agenda = '<a href="'.$href.'" class="goto-backend"><br>'; 
339
                                        
348
                                    } else {
340
                                        
Línea 349... Línea 341...
349
                                        $agenda = '';
341
                                      
350
                                    }
342
                                    } 
351
                                        
343
                                        
Línea 378... Línea 370...
378
                                        
370
                                        
Línea 379... Línea 371...
379
                                    }
371
                                    }
380
                                    
372
                                    
381
                                    $dtStart = \DateTime::createFromFormat('Y-m-d', $performanceEvaluationTest->last_date);
373
                                    $dtStart = \DateTime::createFromFormat('Y-m-d', $performanceEvaluationTest->last_date);
382
                                    $agenda .= " LABEL_PERFORMANCE_EVALUATION_LAST_DATE : " . $dtStart->format('Y-m-d') . "<br>" ;
-
 
383
                                    
-
 
384
                                    if($hasLink) {
-
 
385
                                        $agenda .= "</a><br>";
-
 
386
                                    }
-
 
Línea 387... Línea 374...
387
                                    
374
                                    $agenda .= " LABEL_PERFORMANCE_EVALUATION_LAST_DATE : " . $dtStart->format('Y-m-d') . "<br>" ;
388
                      
375
 
389
                         
376
                         
390
                                    
377
                                    
391
                                    array_push($events, [
378
                                    array_push($events, [
392
                                        'id'                => $performanceEvaluationTest->uuid,
379
                                        'id'                => $performanceEvaluationTest->uuid,
393
                                        'title'             =>  $performanceEvaluationForm->name,
380
                                        'title'             =>  $performanceEvaluationForm->name,
394
                                        'agenda'            => $agenda,
381
                                        'agenda'            => $agenda,
395
                                        'start'             => $dtStart->format('Y-m-d'),
382
                                        'start'             => $dtStart->format('Y-m-d'),
396
                                        'url'               => '',
383
                                        'url'               => $url,
397
                                        'backgroundColor'   => $backgroundColor,
384
                                        'backgroundColor'   => $backgroundColor,