Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 4364 Rev 4365
Línea 4... Línea 4...
4
$roleName       = $currentUser->getUserTypeId();
4
$roleName       = $currentUser->getUserTypeId();
Línea 5... Línea 5...
5
 
5
 
6
$routeIndex = $this->url('recruitment-and-selection/interview/form');
6
$routeIndex = $this->url('recruitment-and-selection/interview/form');
7
$routeAdd = $this->url('recruitment-and-selection/interview/form/add');
7
$routeAdd = $this->url('recruitment-and-selection/interview/form/add');
-
 
8
$routeVacancy = $this->url('recruitment-and-selection/interview/vacancy', ['vacancy_uuid' => 'UUID_PLACEHOLDER']);
Línea 8... Línea 9...
8
$routeVacancy = $this->url('recruitment-and-selection/interview/vacancy', ['vacancy_uuid' => 'UUID_PLACEHOLDER']);
9
$routeInterview = $this->url('recruitment-and-selection/interview/interview', ['candidate_uuid' => 'UUID_PLACEHOLDER']);
9
 
10
 
10
$allowAdd = $acl->isAllowed($roleName, 'recruitment-and-selection/interview/form/add') ? 1 : 0;
11
$allowAdd = $acl->isAllowed($roleName, 'recruitment-and-selection/interview/form/add') ? 1 : 0;
11
$allowEdit = $acl->isAllowed($roleName, 'recruitment-and-selection/interview/form/edit') ? 1 : 0;
12
$allowEdit = $acl->isAllowed($roleName, 'recruitment-and-selection/interview/form/edit') ? 1 : 0;
Línea 510... Línea 511...
510
                $('#candidate_uuid').append(option);
511
                $('#candidate_uuid').append(option);
511
            });
512
            });
512
        })
513
        })
513
    });
514
    });
Línea -... Línea 515...
-
 
515
 
-
 
516
    $('#candidate_uuid').on('change', function(event){
-
 
517
 
-
 
518
        var uuid = event.target.value;
-
 
519
 
-
 
520
        $.ajax({
-
 
521
            'dataType' : 'json',
-
 
522
            'accept' : 'aplication/json',
-
 
523
            'method' : 'get',
-
 
524
            'url': String('$routeInterview').replaceAll('UUID_PLACEHOLDER', uuid),
-
 
525
        }).done(function (reponse) {
-
 
526
            
-
 
527
            $('#interview').html(response.label);
-
 
528
 
-
 
529
        })
-
 
530
    })
514
 
531
 
515
   $('#vacancy_uuid').change();
532
   $('#vacancy_uuid').change();
Línea 516... Línea 533...
516
   $('#filter_vacancy_uuid').change();
533
   $('#filter_vacancy_uuid').change();
517
 
534
 
Línea 627... Línea 644...
627
                                    </div>
644
                                    </div>
Línea 628... Línea 645...
628
 
645
 
Línea 629... Línea 646...
629
                                </div>
646
                                </div>
630
 
-
 
-
 
647
 
631
                                <div class="row p-2">
648
                                <div class="row p-2">
632
                                                
649
                                        <h5 id="interview"></h5>       
633
                                        <div id="job-description"></div>
650
                                        <div id="job-description"></div>
634
                                    </div>
651
                                    </div>
635
                                </div>
652
                                </div>