Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 4090 Rev 4157
Línea 53... Línea 53...
53
$this->headLink()->appendStylesheet($this->basePath('plugins/select2-bootstrap4-theme/select2-bootstrap4.css'));
53
$this->headLink()->appendStylesheet($this->basePath('plugins/select2-bootstrap4-theme/select2-bootstrap4.css'));
Línea 54... Línea 54...
54
 
54
 
55
// JsRender //
55
// JsRender //
Línea -... Línea 56...
-
 
56
$this->inlineScript()->appendFile($this->basePath('plugins/jsrender/jsrender.min.js'));
-
 
57
 
Línea 56... Línea 58...
56
$this->inlineScript()->appendFile($this->basePath('plugins/jsrender/jsrender.min.js'));
58
$status_acepted = \LeadersLinked\Model\RecruitmentSelectionInterview::STATUS_ACcEPTED;
57
 
59
$status_rejected = \LeadersLinked\Model\RecruitmentSelectionInterview::STATUS_REJECTED;
58
 
60
 
59
$points_0 = \LeadersLinked\Model\RecruitmentSelectionInterview::POINTS_0;
61
$points_0 = \LeadersLinked\Model\RecruitmentSelectionInterview::POINTS_0;
Línea 347... Línea 349...
347
            'url': $(this).data('url'),
349
            'url': $(this).data('url'),
348
        }).done(function(response) {
350
        }).done(function(response) {
349
            if (response['success']) {
351
            if (response['success']) {
350
                var data = response.data
352
                var data = response.data
351
                $("#interview #comment").val('');
353
                $("#interview #comment").val('');
352
                $('#interview #status').val('');
354
                $('#interview #status').val('$status_acepted');
353
                $("#interview #points").val('$points_0');
355
                $("#interview #points").val('$points_0');
354
                $("#content").hide();
356
                $("#content").hide();
355
                $("#main").show()
357
                $("#main").show()
356
            } else {
358
            } else {
357
                $.fn.showError(response['data']);
359
                $.fn.showError(response['data']);
Línea 467... Línea 469...
467
        e.preventDefault();
469
        e.preventDefault();
468
        $('#interview #form-continue').val('0')
470
        $('#interview #form-continue').val('0')
469
        $("#content").show();
471
        $("#content").show();
470
        $("#main").hide();
472
        $("#main").hide();
471
        $('#form-interview').submit();
473
        $('#form-interview').submit();
-
 
474
        gridTable.api().ajax.reload(null, false);
472
    });
475
    });
Línea 473... Línea 476...
473
 
476
 
474
    $('#vacancy_uuid').on('change', function (event) {
477
    $('#vacancy_uuid').on('change', function (event) {