Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 3430 Rev 3435
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', ['vacancy_uuid' => 'UUID_PLACEHOLDER']);
7
$routeAdd = $this->url('recruitment-and-selection/interview/form/add');
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 448... Línea -...
448
 
-
 
449
       
448
 
450
 
-
 
451
        var uuid = event.target.value;
-
 
452
        
449
       
453
        $("#add-button").data('url', String('$routeAdd').replaceAll('UUID_PLACEHOLDER', uuid))
450
 
454
    
451
      
455
        $.ajax({
452
        $.ajax({
456
            'dataType': 'json',
453
            'dataType': 'json',