Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 3435 Rev 3436
Línea 2... Línea 2...
2
$acl            = $this->viewModel()->getRoot()->getVariable('acl');
2
$acl            = $this->viewModel()->getRoot()->getVariable('acl');
3
$currentUser    = $this->currentUserHelper();
3
$currentUser    = $this->currentUserHelper();
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');
Línea 7... Línea 7...
7
$routeAdd = $this->url('recruitment-and-selection/interview/form/add');
7
$routeAdd = $this->url('recruitment-and-selection/interview/form/add', ['vacancy_uuid' => 'UUID_PLACEHOLDER']);
8
 
8
 
9
$allowAdd = $acl->isAllowed($roleName, 'recruitment-and-selection/interview/form/add') ? 1 : 0;
9
$allowAdd = $acl->isAllowed($roleName, 'recruitment-and-selection/interview/form/add') ? 1 : 0;
Línea 446... Línea 446...
446
    $('#vacancy_uuid').on('change', function (event) {
446
    $('#vacancy_uuid').on('change', function (event) {
447
        $('#candidate_uuid').html('');
447
        $('#candidate_uuid').html('');
Línea -... Línea 448...
-
 
448
 
448
 
449
       
-
 
450
 
-
 
451
        var uuid = event.target.value;
449
       
452
        
450
 
453
        $("#add-button").data('url', String('$routeAdd').replaceAll('UUID_PLACEHOLDER', uuid))
451
      
454
    
452
        $.ajax({
455
        $.ajax({
453
            'dataType': 'json',
456
            'dataType': 'json',