| 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']);
|
8 |
$routeVacancy = $this->url('recruitment-and-selection/interview/vacancy', ['vacancy_uuid' => 'UUID_PLACEHOLDER']);
|
| Línea 9... |
Línea 9... |
| 9 |
$routeInterview = $this->url('recruitment-and-selection/interview/interview', ['candidate_uuid' => 'UUID_PLACEHOLDER']);
|
9 |
$routeType = $this->url('recruitment-and-selection/interview/type', ['candidate_uuid' => 'UUID_PLACEHOLDER']);
|
| 10 |
|
10 |
|
| 11 |
$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;
|
| 12 |
$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 519... |
Línea 519... |
| 519 |
|
519 |
|
| 520 |
$.ajax({
|
520 |
$.ajax({
|
| 521 |
'dataType' : 'json',
|
521 |
'dataType' : 'json',
|
| 522 |
'accept' : 'aplication/json',
|
522 |
'accept' : 'aplication/json',
|
| 523 |
'method' : 'get',
|
523 |
'method' : 'get',
|
| 524 |
'url': String('$routeInterview').replaceAll('UUID_PLACEHOLDER', uuid),
|
524 |
'url': String('$routeType').replaceAll('UUID_PLACEHOLDER', uuid),
|
| Línea 525... |
Línea 525... |
| 525 |
}).done(function (reponse) {
|
525 |
}).done(function (reponse) {
|
| Línea 526... |
Línea 526... |
| 526 |
|
526 |
|