Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 15461 Rev 15462
Línea 504... Línea 504...
504
                
504
                
505
                $this->logger->info('Se borro la entrevista : '  . $user->first_name . ' ' . $user->last_name . ' (' . $user->email . ')', ['user_id' => $currentUser->id, 'ip' => Functions::getUserIP()]);
505
                $this->logger->info('Se borro la entrevista : '  . $user->first_name . ' ' . $user->last_name . ' (' . $user->email . ')', ['user_id' => $currentUser->id, 'ip' => Functions::getUserIP()]);
506
                $data = [
506
                $data = [
507
                    'success'   => true,
507
                    'success'   => true,
508
                    'data'   => [
508
                    'data'   => [
509
                        'message' => 'LABEL_RECORD_DELETE',
509
                        'message' => 'LABEL_RECORD_DELETED',
510
                        'interviews' => $this->renderInterview($vacancy, $application)
510
                        'interviews' => $this->renderInterview($vacancy, $application)
511
                    ],
511
                    ],
Línea 512... Línea 512...
512
                ];
512
                ];
Línea 517... Línea 517...
517
                    'data'      => $interviewMapper->getError()
517
                    'data'      => $interviewMapper->getError()
518
                ];
518
                ];
Línea 519... Línea 519...
519
                
519
                
Línea -... Línea 520...
-
 
520
            }
-
 
521
            
Línea 520... Línea 522...
520
            }
522
            
521
            
523
            return new JsonModel($data);
522
           
524
           
Línea 557... Línea 559...
557
                    $status = 'LABEL_ACCEPTED';
559
                    $status = 'LABEL_ACCEPTED';
558
                    $link_report = $this->url()->fromRoute('recruitment-and-selection/applications/interviews/report', ['vacancy_id' => $vacancy->uuid, 'application_id' => $application->uuid, 'id' => $record->uuid]);
560
                    $link_report = $this->url()->fromRoute('recruitment-and-selection/applications/interviews/report', ['vacancy_id' => $vacancy->uuid, 'application_id' => $application->uuid, 'id' => $record->uuid]);
559
                    break;
561
                    break;
Línea 560... Línea 562...
560
                    
562
                    
561
                case RecruitmentSelectionInterview::STATUS_PENDING :
563
                case RecruitmentSelectionInterview::STATUS_PENDING :
562
                    $link_view = '';
564
                    $status = 'LABEL_PENDING';
563
                    $link_report = 'LABEL_PENDING';
565
                    $link_report = '';
Línea 564... Línea 566...
564
                    break;
566
                    break;
-
 
567
                    
565
                    
568
                case RecruitmentSelectionInterview::STATUS_REJECTED :
566
                case RecruitmentSelectionInterview::STATUS_REJECTED :
-
 
567
                    $link_view = $this->url()->fromRoute('recruitment-and-selection/applications/interviews/report', ['vacancy_id' => $vacancy->uuid, 'application_id' => $application->uuid, 'id' => $record->uuid]);
569
                    $status  = 'LABEL_REJECTED';
Línea 568... Línea 570...
568
                    $link_report = 'LABEL_REJECTED';
570
                    $link_report = $this->url()->fromRoute('recruitment-and-selection/applications/interviews/report', ['vacancy_id' => $vacancy->uuid, 'application_id' => $application->uuid, 'id' => $record->uuid]);
569
                    break;
-
 
570
                    
571
                                      break;
-
 
572
                    
-
 
573
                default :
571
                default :
574
                    $status = 'LABEL_UNKNOWN';
Línea 572... Línea 575...
572
                    $link_report = '';
575
                    $link_report = '';
Línea 573... Línea 576...
573
                    $status = 'LABEL_UNKNOWN';
576