var/cache/dev/twig/a0/a04daf993e07df38136a711da9733c14.php line 55

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* ReservistaProceso/show.html.twig */
  14. class __TwigTemplate_04742a714dd1e8c8f726c56ff0994c32 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'jquery' => [$this'block_jquery'],
  24.             'principal_heading' => [$this'block_principal_heading'],
  25.             'showdata' => [$this'block_showdata'],
  26.             'prev_acuartelamiento' => [$this'block_prev_acuartelamiento'],
  27.             'more_acuartelamiento' => [$this'block_more_acuartelamiento'],
  28.             'more_seccion' => [$this'block_more_seccion'],
  29.             'actions' => [$this'block_actions'],
  30.             'action_retorno' => [$this'block_action_retorno'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context)
  34.     {
  35.         // line 1
  36.         return "@crud\\crud\\show.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ReservistaProceso/show.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ReservistaProceso/show.html.twig"));
  45.         $this->parent $this->loadTemplate("@crud\\crud\\show.html.twig""ReservistaProceso/show.html.twig"1);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 3
  53.     public function block_jquery($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""jquery"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""jquery"));
  60.         // line 4
  61.         echo "    ";
  62.         $this->displayParentBlock("jquery"$context$blocks);
  63.         echo "
  64.     <script type=\"text/javascript\">
  65.         var inputEmail; 
  66.         
  67.         \$(function()
  68.         {
  69.             \$(\"#botonTerminar\").click(function(e){
  70.                 e.preventDefault();
  71.                 var ok=true;
  72.                 var msg='';
  73.                 if (\$('#resultadoIdoneo').prop('checked'))
  74.                 {
  75.                     if (!\$('#form_unidad').val())
  76.                     {
  77.                         ok=false;
  78.                         msg = 'Debe asignar la unidad militar';
  79.                     }
  80.                 }
  81.                 else
  82.                 {
  83.                     if (\$('#resultadoNoIdoneo').prop('checked'))
  84.                     {
  85.                         if (!(\$('#causaPsicologica').prop('checked') || \$('#causaMedica').prop('checked') || \$('#causaLaboratorios').prop('checked')))
  86.                         {
  87.                             ok=false;
  88.                             msg = 'Debe asignar la causa de rechazo';
  89.                         }
  90.                         else
  91.                         {
  92.                             if (!\$('#observaciones').val())
  93.                             {
  94.                                 ok=false;
  95.                                 msg = 'Debe indicar las observaciones acerca del rechazo';
  96.                             }
  97.                             else
  98.                             {
  99.                                 if (!(\$('#volverEste').prop('checked') || \$('#volverProximo').prop('checked') || \$('#volverNunca').prop('checked')))
  100.                                 {
  101.                                     ok=false;
  102.                                     msg = 'Debe indicar cuando el aspirante puede volver a presentarse';
  103.                                 }
  104.                             }
  105.                         }
  106.                     }
  107.                     else
  108.                     {
  109.                         ok=false;
  110.                         msg = 'Debe indicar un resultado del proceso';
  111.                     }
  112.                 }
  113.                 if (ok)
  114.                 {
  115.                     \$('#divResultado').mask('&nbsp;&nbsp;&nbsp;&nbsp;Terminando proceso...');
  116.                     \$('#form_resultados').ajaxSubmit({
  117.                         type: \$('#form_resultados').attr('method'),
  118.                         url: \$('#form_resultados').attr('action'),
  119.                         dataType: 'json',
  120.                         data: { _xml_http_request: true },
  121.                         success: function(data) {
  122.                             if (data.ok)
  123.                             {  
  124.                                 if (data.fullMasculino || data.fullFemenino)
  125.                                 {
  126.                                     var genero='';
  127.                                     if (data.fullMasculino)
  128.                                         genero = 'masculino';
  129.                                     else
  130.                                         genero = 'femenino';
  131.                                     jConfirm('Asignación exitosa. Con esta asignación se ha alcanzado el cupo '+genero+' de la unidad. ¿Desea ver la nómina de los asignados a la unidad?', 'Alerta', 
  132.                                         function(r) {
  133.                                             if (r) {
  134.                                                 var url = '";
  135.         // line 76
  136.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ajax_nominaPDF", ["proceso" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'76$this->source); })()), "procesoRegistro", [], "any"falsefalsefalse76), "id", [], "any"falsefalsefalse76), "unidad" => "__UNIDAD__"]), "html"nulltrue);
  137.         echo "';
  138.                                                 url = url.replace('__UNIDAD__', data.unidadId);
  139.                                                 \$.ajax({
  140.                                                    type: \"GET\",                              
  141.                                                    url:  url,
  142.                                                    //dataType: 'html',
  143.                                                    //data: { _xml_http_request: true },
  144.                                                    success: function(data){
  145.                                                         var mio=0;
  146.                                                         window.open('";
  147.         // line 85
  148.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("exportar_reporte_PDF", ["routeClassName" => "listaasignacionunidad"]);
  149.         echo "', '_blank');
  150.                                                         document.location.reload();
  151.                                                    }
  152.                                     });
  153.                                 }
  154.                                     });
  155.                                 }
  156.                                 else
  157.                                     document.location.reload();
  158.                             }
  159.                             else
  160.                             {
  161.                                 \$('#divResultado').unmask();
  162.                                 showError(bootbox, data.msg);
  163.                             }
  164.                         }
  165.                     })
  166.                 }
  167.                 else
  168.                 {
  169.                     showError(bootbox, msg);
  170.                 }
  171.             }); 
  172.             \$( \"#dialog-verify-email\" ).dialog({
  173.                 autoOpen: false,
  174.                 height: 310,
  175.                 width: 400,
  176.                 modal: true,
  177.                 resizable: false,
  178.                 title_html: true,
  179.                 title: '<div id=\"texto\" class=\"widget-header widget-header-small\"><h4 class=\"smaller red\"><i class=\"fas fa-globe\"></i>&nbsp;Verificar correo electrónico</h4></div>',
  180.                 buttons: {
  181.                     Aceptar: function() {
  182.                         \$('#dialog-verify-email').parent().mask('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Verificando código...');
  183.                         \$('#form_verify_email_code').ajaxSubmit({
  184.                             type: \$('#form_verify_email_code').attr('method'),
  185.                             url: \$('#form_verify_email_code').attr('action'),
  186.                             dataType: 'json',
  187.                             data: { _xml_http_request: true },
  188.                             success: function(data) {
  189.                                 \$('#dialog-verify-email').parent().unmask();
  190.                                 if (data.ok)
  191.                                 {  
  192.                                     \$( \"#dialog-verify-email\" ).dialog( \"close\" );
  193.                                      quickUpdate(inputEmail);
  194.                                 }
  195.                                 else
  196.                                 {
  197.                                     showError(bootbox, data.msg);
  198.                                 }
  199.                             }
  200.                         });
  201.                     },
  202.                     Cancelar: function() {
  203.                         \$( \"#dialog-verify-email\" ).dialog( \"close\" );
  204.                     }
  205.                 }
  206.             });
  207.         
  208.             \$( \"#dialog-change-canton\" ).dialog({
  209.                 autoOpen: false,
  210.                 height: 310,
  211.                 width: 400,
  212.                 modal: true,
  213.                 resizable: false,
  214.                 title_html: true,
  215.                 title: '<div id=\"texto\" class=\"widget-header widget-header-small\"><h4 class=\"smaller red\"><i class=\"fas fa-globe\"></i>&nbsp;Modificar lugar de residencia</h4></div>',
  216.                 buttons: {
  217.                     Aceptar: function() {
  218.                         \$('#dialog-change-canton').parent().mask('&nbsp;&nbsp;&nbsp;&nbsp;Guardando...');
  219.                         \$('#quick_form_association_class').val('NmclDominioLocalizacion');
  220.                         \$('#quick_form_class').val('ReservistaProceso');
  221.                         \$('#quick_form_id').val('";
  222.         // line 161
  223.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'161$this->source); })()), "id", [], "any"falsefalsefalse161), "html"nulltrue);
  224.         echo "');
  225.                         \$('#quick_form_field').val('lugarResidencia');
  226.                         \$('#quick_input_valor').val(\$( \"#form_parroquia\" ).val());                        
  227.                         
  228.                         quickUpdateCanton();
  229.                     },
  230.                     Cancelar: function() {
  231.                         \$(\"#dialog-change-canton\").dialog(\"close\");
  232.                     }
  233.                 }
  234.             });
  235.             
  236.             \$('.quick_update_input').keyup(function(){
  237.                 var td = \$(this).parent();
  238.                 var input = td.find('input');
  239.                 var newValue = input.val();
  240.                 var actualValue = input.attr('actualvalue');
  241.                 if (newValue !== actualValue)
  242.                 {
  243.                     td.find('button').removeClass('hide');
  244.                 }
  245.                 else
  246.                 {
  247.                     td.find('button').addClass('hide');
  248.                 }
  249.             });
  250.             
  251.             \$('.quick_update_input_cancel').click(function(){
  252.                 var td = \$(this).parent();
  253.                 var input = td.find('input');
  254.                 var actualValue = input.attr('actualvalue');
  255.                 input.val(actualValue);
  256.                 td.find('button').addClass('hide');
  257.             });
  258.             
  259.             \$('.quick_update_input_save').click(function(){
  260.                 var td = \$(this).parent();
  261.                 var input = td.find('input');
  262.                 
  263.                 \$('#quick_form_association_class').val('');
  264.                 \$('#quick_form_class').val(input.attr('classname'));
  265.                 \$('#quick_form_id').val(input.attr('entityid'));
  266.                 \$('#quick_form_field').val(input.attr('field'));
  267.                 \$('#quick_input_valor').val(input.val());
  268.                 if (\$('#quick_form_field').val()==='email')
  269.                 {
  270.                     if (validEmail(input.val()))
  271.                     {
  272.                         inputEmail = input;
  273.                         verificaEmail(input.val());
  274.                     }
  275.                     else
  276.                     {
  277.                         showError(bootbox, 'Formato de correo electrónico incorrecto');
  278.                     }
  279.                 }
  280.                 else
  281.                 {
  282.                     quickUpdate(input);
  283.                 }
  284.             });
  285.             
  286.             \$('.quick_update_select').change(function(){
  287.                 var td = \$(this).parent();
  288.                 var input = td.find('select');
  289.                 var newValue = input.val();
  290.                 var actualValue = input.attr('actualvalue');
  291.                 if (newValue !== actualValue)
  292.                 {
  293.                     td.find('button').removeClass('hide');
  294.                 }
  295.                 else
  296.                 {
  297.                     td.find('button').addClass('hide');
  298.                 }
  299.             });
  300.         
  301.             \$('.quick_update_select_cancel').click(function(){
  302.                 var td = \$(this).parent();
  303.                 var input = td.find('select');
  304.                 var actualValue = input.attr('actualvalue');
  305.                 input.val(actualValue);
  306.                 td.find('button').addClass('hide');
  307.             });
  308.             
  309.             \$('.quick_update_select_save').click(function(){
  310.                 var td = \$(this).parent();
  311.                 var input = td.find('select');
  312.                 
  313.                 \$('#quick_form_association_class').val(input.attr('association'));
  314.                 \$('#quick_form_class').val(input.attr('classname'));
  315.                 \$('#quick_form_id').val(input.attr('entityid'));
  316.                 \$('#quick_form_field').val(input.attr('field'));
  317.                 \$('#quick_input_valor').val(input.val());
  318.                 quickUpdate(input);
  319.             });
  320.             
  321.             \$('#quick_update_canton').click(function(){
  322.                 \$('#form_region').val(\$('#inforegion').attr('regionid'));
  323.                 \$('#form_provincia').val(\$('#infoprovincia').attr('provinciaid'));
  324.                 \$('#form_canton').val(\$('#infocanton').attr('cantonid'));
  325.                 \$('#form_parroquia').val(\$('#infolugarResidencia').attr('parroquiaid'));
  326.                 \$('#dialog-change-canton').dialog ('open');
  327.             });
  328.             \$('#addDestreza').click(function(){
  329.                 
  330.                 if (\$('option.option_destreza:not(.hide)').length>0)
  331.                 {
  332.                     var tr = \$('#tablaDestrezas').find('thead').find('tr.patron');
  333.                     tr='<tr>'+tr.html()+'</tr>';
  334.                     \$('#tablaDestrezas').find('tbody').prepend(tr);
  335.                     tr = \$('#tablaDestrezas').find('tbody').find('tr').first();
  336.                     tr.find('.select-destreza').change();
  337.                 }
  338.             });
  339.             
  340.             \$('#addEstudio').click(function(){
  341.                 
  342.                 var tr = \$('#tablaEstudios').find('thead').find('tr.patron');
  343.                 tr='<tr>'+tr.html()+'</tr>';
  344.                 \$('#tablaEstudios').find('tbody').prepend(tr);
  345.                 
  346.                 tr = \$('#tablaEstudios').find('tbody').find('tr').first();
  347.                 tr.find('.date-picker').addClass('unset');
  348.                 setDatePicker();
  349.             });
  350.             
  351.             \$('#btn_verificar_estudios').click(function(e){
  352.                 e.preventDefault();
  353.                 \$('#table_estudios').parent().parent().mask('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Verificando estudios...');
  354.                 var url = '";
  355.         // line 294
  356.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("reservista_verifica_estudios", ["identificacion" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'294$this->source); })()), "reservista", [], "any"falsefalsefalse294), "identificacion", [], "any"falsefalsefalse294)]), "html"nulltrue);
  357.         echo "';
  358.                 \$.getJSON(url , function(result){
  359.                     \$('#table_estudios').parent().parent().unmask();
  360.                     if (result.ok)
  361.                     {
  362.                         \$('#table_estudios tbody').html('');
  363.                         var flen = result.estudios.length;
  364.                         if (flen>0)
  365.                         {
  366.                             var i;
  367.                             for (i=0; i<flen; i++)
  368.                             {
  369.                                 \$('#table_estudios tbody').append('<tr><td>'+result.estudios[i].institucion+'</td><td>'+result.estudios[i].titulo+'</td></tr>');
  370.                             }
  371.                         }
  372.                         else
  373.                         {
  374.                             \$('#table_estudios tbody').append('<tr><td colspan=\"3\" style=\"text-align: center\">No hay estudios registrados</td></tr>');
  375.                         }
  376.                     }
  377.                 });
  378.             });
  379.             
  380.             cleanDestrezasOptions();
  381.             
  382.             setDatePicker();
  383.         });
  384.         
  385.         function setDatePicker()
  386.         {
  387.             \$('.date-picker.unset').each(function(){
  388.                 \$(this).datepicker({
  389.                     autoclose: true,
  390.                     todayHighlight: true,
  391.                     language: 'es'
  392.                 })
  393.                 .next().on(ace.click_event, function(){
  394.                     \$(this).prev().focus();
  395.                 });
  396.                 \$(this).removeClass('unset');
  397.             });
  398.         }
  399.         
  400.         function destrezaCancel(elem)
  401.         {
  402.             var tr = \$(elem).parent().parent();
  403.             var select = tr.find('select');
  404.             var input = tr.find('input');
  405.             var textarea = tr.find('textarea');
  406.             if (select.val() !== select.attr('actualvalue'))
  407.             {
  408.                 select.val(select.attr('actualvalue'));
  409.                 select.change();
  410.             }
  411.             if (input.val() !== input.attr('actualvalue'))
  412.             {
  413.                 input.val(input.attr('actualvalue'));
  414.             }
  415.             if (textarea.val() !== textarea.attr('actualvalue'))
  416.             {
  417.                 textarea.val(textarea.attr('actualvalue'));
  418.             }
  419.             tr.find('.button').addClass('hide');
  420.         };
  421.             
  422.         function destrezaDelete(elem)
  423.         {
  424.             if (confirm('Está seguro que va a eliminar la destreza'))
  425.             {
  426.                 var tr = \$(elem).parent().parent();
  427.                 var id = tr.attr('destrezaid');
  428.                 if (id)
  429.                 {
  430.                     var url=\"";
  431.         // line 369
  432.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("crud_quick_delete", ["id" => "__ID__""className" => "ReservistaDestreza"]), "html"nulltrue);
  433.         echo "\";
  434.                     url = url.replace('__ID__', id);
  435.                     tr.mask('&nbsp;&nbsp;&nbsp;&nbsp;Eliminando...');
  436.                     \$.getJSON(url , function(result){
  437.                         if (result.ok)
  438.                         {
  439.                             tr.remove();
  440.                             cleanDestrezasOptions();
  441.                         }
  442.                         else
  443.                         {
  444.                             tr.unmask();
  445.                             showError(bootbox, result.msg);
  446.                         }
  447.                     });
  448.                 }
  449.                 else
  450.                 {
  451.                     tr.remove();
  452.                     cleanDestrezasOptions();
  453.                 }
  454.             }
  455.         }
  456.         
  457.         function destrezaSave(elem)
  458.         {
  459.             var tr = \$(elem).parent().parent();
  460.             var select = tr.find('select');
  461.             var input = tr.find('input');
  462.             var textarea = tr.find('textarea');
  463.             
  464.             \$('#quick_form_destreza').val(select.val());
  465.             \$('#quick_form_tiempo').val(input.val());
  466.             \$('#quick_form_detalle').val(textarea.val());
  467.             
  468.             tr.mask('&nbsp;&nbsp;&nbsp;&nbsp;Guardando...');
  469.             \$('#formDestrezaSave').ajaxSubmit({
  470.                 type: \$('#formDestrezaSave').attr('method'),
  471.                 url: \$('#formDestrezaSave').attr('action'),
  472.                 dataType: 'json',
  473.                 data: { _xml_http_request: true },
  474.                 success: function(data) {
  475.                     tr.unmask();
  476.                     if (data.ok)
  477.                     {
  478.                         tr.attr('destrezaid',data.id);
  479.                         select.attr('actualvalue', select.val());
  480.                         select.prop('disabled', true);
  481.                         input.attr('actualvalue', input.val());
  482.                         textarea.attr('actualvalue', textarea.val());
  483.                         tr.find('.button').addClass('hide');
  484.                     }
  485.                     else
  486.                     {
  487.                         showError(bootbox, data.msg);
  488.                     }
  489.                 }
  490.             });
  491.         }
  492.         
  493.         function cleanDestrezasOptions()
  494.         {
  495.             \$('option.option_destreza').removeClass('hide');
  496.             \$('#tablaDestrezas').children('tbody').find('.select-destreza').each(function(){
  497.                 var value = \$(this).val();
  498.                 if (value)
  499.                 {
  500.                     \$('option.destreza_'+value).addClass('hide');
  501.                 }
  502.             });
  503.             
  504.         }
  505.         
  506.         function estudioCancel(elem)
  507.         {
  508.             var tr = \$(elem).parent().parent();
  509.             var titulo = tr.find('input.estudio_titulo');
  510.             var institucion = tr.find('input.estudio_institucion');
  511.             var nivel = tr.find('select.estudio_nivel');
  512.             var cursando = tr.find('select.estudio_cursando');
  513.             var fecha = tr.find('input.estudio_fecha');
  514.             titulo.val(titulo.attr('actualvalue'));
  515.             institucion.val(institucion.attr('actualvalue'));
  516.             nivel.val(nivel.attr('actualvalue'));
  517.             cursando.val(cursando.attr('actualvalue'));
  518.             fecha.val(fecha.attr('actualvalue'));
  519.             if (cursando.val()==='YES')
  520.             {
  521.                 fecha.parent().addClass('hide');
  522.             }
  523.             else
  524.             {
  525.                 fecha.parent().removeClass('hide');
  526.             }
  527.             tr.find('.button').addClass('hide');
  528.         };
  529.             
  530.         function estudioDelete(elem)
  531.         {
  532.             if (confirm('Está seguro que va a eliminar el estudio'))
  533.             {
  534.                 var tr = \$(elem).parent().parent();
  535.                 var id = tr.attr('estudioid');
  536.                 if (id)
  537.                 {
  538.                     var url=\"";
  539.         // line 474
  540.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("crud_quick_delete", ["id" => "__ID__""className" => "ReservistaEstudio"]), "html"nulltrue);
  541.         echo "\";
  542.                     url = url.replace('__ID__', id);
  543.                     tr.mask('&nbsp;&nbsp;&nbsp;&nbsp;Eliminando...');
  544.                     \$.getJSON(url , function(result){
  545.                         if (result.ok)
  546.                         {
  547.                             tr.remove();
  548.                         }
  549.                         else
  550.                         {
  551.                             tr.unmask();
  552.                             showError(bootbox, result.msg);
  553.                         }
  554.                     });
  555.                 }
  556.                 else
  557.                 {
  558.                     tr.remove();
  559.                 }
  560.             }
  561.         }
  562.         
  563.         function estudioSave(elem)
  564.         {
  565.             var tr = \$(elem).parent().parent();
  566.             var id = tr.attr('estudioid');
  567.             if (id)
  568.             {
  569.                 \$('#quick_form_habilidad_id').val(id);
  570.             }
  571.             else
  572.             {
  573.                 \$('#quick_form_habilidad_id').val('');
  574.             }                
  575.             var titulo = tr.find('input.estudio_titulo');
  576.             var institucion = tr.find('input.estudio_institucion');
  577.             var nivel = tr.find('select.estudio_nivel');
  578.             var cursando = tr.find('select.estudio_cursando');
  579.             var fecha = tr.find('input.estudio_fecha');
  580.             
  581.             if (!titulo.val() || !institucion.val() || !nivel.val() ||  !cursando.val() || (cursando.val()=='NO' && !fecha.val()))
  582.             {
  583.                 showError(bootbox, 'Debe indicar toda la información sobre el estudio cursado');
  584.                 return;
  585.             }
  586.             \$('#quick_form_habilidad_titulo').val(titulo.val());
  587.             \$('#quick_form_habilidad_institucion').val(institucion.val());
  588.             \$('#quick_form_habilidad_nivel').val(nivel.val());
  589.             \$('#quick_form_habilidad_cursando').val(cursando.val());
  590.             \$('#quick_form_habilidad_fecha').val(fecha.val());
  591.                
  592.             tr.mask('&nbsp;&nbsp;&nbsp;&nbsp;Guardando...');
  593.             \$('#formEstudioSave').ajaxSubmit({
  594.                 type: \$('#formEstudioSave').attr('method'),
  595.                 url: \$('#formEstudioSave').attr('action'),
  596.                 dataType: 'json',
  597.                 data: { _xml_http_request: true },
  598.                 success: function(data) {
  599.                     tr.unmask();
  600.                     if (data.ok)
  601.                     {
  602.                         tr.attr('estudioid',data.id);     
  603.                         titulo.attr('actualvalue', titulo.val());
  604.                         institucion.attr('actualvalue', institucion.val());
  605.                         nivel.attr('actualvalue', nivel.val());
  606.                         cursando.attr('actualvalue', cursando.val());
  607.                         fecha.attr('actualvalue', fecha.val());
  608.                         tr.find('.button').addClass('hide');
  609.                     }
  610.                     else
  611.                     {
  612.                         showError(bootbox, data.msg);
  613.                     }
  614.                 }
  615.             });
  616.         }
  617.         function validEmail(email)
  618.         {
  619.             var filter = /^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9_\\.\\-])+\\.)+([a-zA-Z0-9]{2,4})+\$/;
  620.              return filter.test(email);
  621.         }
  622.         
  623.         function verificaEmail(email)
  624.         {
  625.             inputEmail.parent().mask('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Verificando correo electrónico...');
  626.             \$('#verify_email').val(email);
  627.             \$('#text_email').html(email);
  628.             \$('#form_verify_email').ajaxSubmit({
  629.                 type: \$('#form_verify_email').attr('method'),
  630.                 url: \$('#form_verify_email').attr('action'),
  631.                 dataType: 'json',
  632.                 data: { _xml_http_request: true },
  633.                 success: function(data) {
  634.                     inputEmail.parent().unmask();
  635.                     if (data.ok)
  636.                     {  
  637.                         \$('#dialog-verify-email').dialog('open');
  638.                     }
  639.                     else
  640.                     {
  641.                         showError(bootbox, data.msg);
  642.                     }
  643.                 }
  644.             });
  645.         }
  646.         
  647.         function quickUpdate(input)
  648.         {
  649.             input.parent().mask('&nbsp;&nbsp;&nbsp;&nbsp;Guardando...');
  650.             var newValue = input.val();
  651.             var actualValue = input.attr('actualvalue');
  652.             \$('#formQuickUpdate').ajaxSubmit({
  653.                 type: \$('#formQuickUpdate').attr('method'),
  654.                 url: \$('#formQuickUpdate').attr('action'),
  655.                 dataType: 'json',
  656.                 data: { _xml_http_request: true },
  657.                 success: function(data) {
  658.                     input.parent().unmask();
  659.                     if (data.ok)
  660.                     {
  661.                         if (\$('#quick_form_field').val()=='paisResidencia' && (actualValue.toLowerCase()=='ecuador' || newValue.toLowerCase()=='ecuador'))
  662.                         {
  663.                             \$('.ecuador').toggleClass('hide'); 
  664.                         }
  665.                         input.attr('actualvalue', newValue);
  666.                         input.parent().find('button').addClass('hide');
  667.                     }
  668.                     else
  669.                     {
  670.                         showError(bootbox, data.msg);
  671.                     }
  672.                 }
  673.             });
  674.         }
  675.                        
  676.         function quickUpdateCanton()
  677.         {
  678.             \$('#formQuickUpdate').ajaxSubmit({
  679.                 type: \$('#formQuickUpdate').attr('method'),
  680.                 url: \$('#formQuickUpdate').attr('action'),
  681.                 dataType: 'json',
  682.                 data: { _xml_http_request: true },
  683.                 success: function(data) {
  684.                     \$('#dialog-change-canton').parent().mask('&nbsp;&nbsp;&nbsp;&nbsp;Guardando...');
  685.                     if (data.ok)
  686.                     {
  687.                         \$('#inforegion').html(\$( \"#form_region option:selected\" ).text());
  688.                         \$('#inforegion').attr('regionid', \$( \"#form_region\" ).val());
  689.                         \$('#infoprovincia').html(\$( \"#form_provincia option:selected\" ).text());
  690.                         \$('#infoprovincia').attr('provinciaid', \$( \"#form_provincia\" ).val());
  691.                         \$('#infocanton').html(\$( \"#form_canton option:selected\" ).text());
  692.                         \$('#infocanton').attr('cantonid', \$( \"#form_canton\" ).val());
  693.                         \$('#infolugarResidencia').html(\$( \"#form_parroquia option:selected\" ).text());
  694.                         \$('#infolugarResidencia').attr('parroquiaid', \$( \"#form_parroquia\" ).val());
  695.                         \$( \"#dialog-change-canton\" ).dialog(\"close\");
  696.                     }
  697.                     else
  698.                     {
  699.                         showError(bootbox, data.msg);
  700.                     }
  701.                 }
  702.             });
  703.         }
  704.                                               
  705.         function selectDestrezaChange(select)
  706.         {
  707.             var lastValue=\$(select).attr('lastValue');
  708.             var value = \$(select).val();
  709.             if (!value && lastValue)
  710.             {
  711.                 \$(select).val(lastValue);
  712.             }
  713.             else
  714.             if (value)
  715.             {
  716.                 \$('option.destreza_'+lastValue).removeClass('hide');
  717.                 \$(select).attr('lastValue', value);
  718.                 \$('option.destreza_'+value).addClass('hide');
  719.             }
  720.             destrezaChange(select)
  721.         }
  722.         
  723.         function destrezaChange(elem)
  724.         {
  725.             var tr = \$(elem).parent().parent();
  726.             var select = tr.find('select');
  727.             var input = tr.find('input');
  728.             var textarea = tr.find('textarea');
  729.             if (select.val() !== select.attr('actualvalue') ||
  730.                 input.val() !== input.attr('actualvalue') ||
  731.                 textarea.val() !== textarea.attr('actualvalue'))
  732.             {
  733.                 tr.find('.button').removeClass('hide');
  734.             }
  735.             else
  736.             {
  737.                 tr.find('.button').addClass('hide');
  738.             }
  739.             
  740.         }
  741.                                                 
  742.         function estudioChange(elem)
  743.         {
  744.             var tr = \$(elem).parent().parent();
  745.             if (\$(elem).hasClass('estudio_fecha'))
  746.             {
  747.                 tr = tr.parent();
  748.             }
  749.             var titulo = tr.find('input.estudio_titulo');
  750.             var institucion = tr.find('input.estudio_institucion');
  751.             var nivel = tr.find('select.estudio_nivel');
  752.             var cursando = tr.find('select.estudio_cursando');
  753.             var fecha = tr.find('input.estudio_fecha');
  754.             if (\$(elem).hasClass('estudio_cursando'))
  755.             {
  756.                 if (cursando.val()==='YES')
  757.                 {
  758.                     fecha.parent().addClass('hide');
  759.                 }
  760.                 else
  761.                 {
  762.                     fecha.parent().removeClass('hide');
  763.                 }
  764.                 fecha.val(fecha.attr('actualvalue'));
  765.             }
  766.             if (titulo.val() !== titulo.attr('actualvalue') ||
  767.                 institucion.val() !== institucion.attr('actualvalue') ||
  768.                 nivel.val() !== nivel.attr('actualvalue') ||
  769.                 cursando.val() !== cursando.attr('actualvalue') ||
  770.                 fecha.val() !== fecha.attr('actualvalue'))
  771.             {
  772.                 tr.find('.button').removeClass('hide');
  773.             }
  774.             else
  775.             {
  776.                 tr.find('.button').addClass('hide');
  777.             }
  778.         }
  779.                                                                     
  780.         ";
  781.         // line 715
  782.         $this->loadTemplate("RegionProvinciaCantonParroquia\\jquery_functions.html.twig""ReservistaProceso/show.html.twig"715)->display(twig_array_merge($context, ["distintivo" => """parroquiaField" => "parroquia"]));
  783.         // line 716
  784.         echo "    </script>    
  785.         
  786. ";
  787.         
  788.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  789.         
  790.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  791.     }
  792.     // line 721
  793.     public function block_principal_heading($context, array $blocks = [])
  794.     {
  795.         $macros $this->macros;
  796.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  797.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""principal_heading"));
  798.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  799.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""principal_heading"));
  800.         // line 722
  801.         echo "    <div class=\"widget-header widget-header-flat\">
  802.         <h4 class=\"widget-title lighter\">
  803.             <i class=\"fas fa-search orange\"></i>
  804.             Visualización del reservista
  805.         </h4>
  806.     <!--div class=\"widget-toolbar\">
  807.         <a href=\"#\" data-action=\"collapse\">
  808.             <i class=\"fas fa-chevron-up\"></i>
  809.         </a>
  810.     </div-->
  811.     </div>
  812. ";
  813.         
  814.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  815.         
  816.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  817.     }
  818.     // line 736
  819.     public function block_showdata($context, array $blocks = [])
  820.     {
  821.         $macros $this->macros;
  822.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  823.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showdata"));
  824.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  825.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""showdata"));
  826.         // line 737
  827.         echo "    ";
  828.         $this->displayBlock('prev_acuartelamiento'$context$blocks);
  829.         // line 738
  830.         echo 
  831.                         
  832.     ";
  833.         // line 740
  834.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Crud\\Controller\\crudPlainController::showAction", ["rol" => (isset($context["rol"]) || array_key_exists("rol"$context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.'740$this->source); })()), "routeClassName" => "reservista""id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'740$this->source); })()), "reservista", [], "any"falsefalsefalse740), "id", [], "any"falsefalsefalse740), "parentRouteClassName" => (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'740$this->source); })())]));
  835.         echo "
  836.     
  837.     <div class=\"panel panel-default\">
  838.         <div class=\"panel-heading\">
  839.             <h4 class=\"panel-title green\">
  840.                 <a id=\"atab-1\" aria-expanded=\"true\" class=\"accordion-toggle\" data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#datosDisponibilidad\">
  841.                     <i class=\"bigger-160 ace-icon fa fa-check-square\" data-icon-hide=\"ace-icon fa fa-angle-down\" data-icon-show=\"ace-icon fa fa-angle-right\"></i>
  842.                     &nbsp;Disponibilidad
  843.                 </a>
  844.             </h4>
  845.         </div>
  846.         <div style=\"\" aria-expanded=\"true\" class=\"panel-collapse collapse in \" id=\"datosDisponibilidad\">
  847.             <div class=\"panel-body\" style=\"border-width: 1px; border-color: red\">
  848.                 <div class=\"row\">
  849.                     <div class=\"col-xs-12 col-sm-6\">
  850.                         <table class=\"table table-striped table-bordered table-hover\">
  851.                             <tr>
  852.                                 <th style=\"width: ";
  853.         // line 758
  854.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'758$this->source); })()), "html"nulltrue);
  855.         echo "\">
  856.                                     <label>
  857.                                         Actividad actual
  858.                                     </label>
  859.                                 </th>
  860.                                 <td>
  861.                                     ";
  862.         // line 764
  863.         if ((((isset($context["rol"]) || array_key_exists("rol"$context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.'764$this->source); })()) == "reservista") && ( !array_key_exists("tab"$context) || ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'764$this->source); })()) != "registro")))) {
  864.             // line 765
  865.             echo "                                        <select style=\"width: 100%\" class=\"chosen-select quick_update_select\" classname=\"ReservistaProceso\" entityid=\"";
  866.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'765$this->source); })()), "id", [], "any"falsefalsefalse765), "html"nulltrue);
  867.             echo "\" field=\"disponibilidad\" association=\"\" actualvalue=\"";
  868.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'765$this->source); })()), "disponibilidad", [], "any"falsefalsefalse765), "html"nulltrue);
  869.             echo "\">
  870.                                             <option value=\"\">--- Seleccione ---</option>
  871.                                             ";
  872.             // line 767
  873.             $context['_parent'] = $context;
  874.             $context['_seq'] = twig_ensure_traversable((isset($context["actividades"]) || array_key_exists("actividades"$context) ? $context["actividades"] : (function () { throw new RuntimeError('Variable "actividades" does not exist.'767$this->source); })()));
  875.             foreach ($context['_seq'] as $context["key"] => $context["actividad"]) {
  876.                 // line 768
  877.                 echo "                                                <option value=\"";
  878.                 echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  879.                 echo "\" ";
  880.                 if (($context["key"] == twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'768$this->source); })()), "disponibilidad", [], "any"falsefalsefalse768))) {
  881.                     echo "selected=\"true\"";
  882.                 }
  883.                 echo ">";
  884.                 echo twig_escape_filter($this->env$context["actividad"], "html"nulltrue);
  885.                 echo "</option>
  886.                                             ";
  887.             }
  888.             $_parent $context['_parent'];
  889.             unset($context['_seq'], $context['_iterated'], $context['key'], $context['actividad'], $context['_parent'], $context['loop']);
  890.             $context array_intersect_key($context$_parent) + $_parent;
  891.             // line 770
  892.             echo "                                        </select>
  893.                                         <button class=\"hide quick_update_select_save\"><i class=\"fas fa-save\"></i></button>
  894.                                         <button class=\"hide quick_update_select_cancel\"><i class=\"fas fa-ban red\"></i></button>
  895.                                     ";
  896.         } else {
  897.             // line 774
  898.             echo "                                        ";
  899.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'774$this->source); })()), "actividad", [], "any"falsefalsefalse774), "html"nulltrue);
  900.             echo "
  901.                                     ";
  902.         }
  903.         // line 776
  904.         echo "                                </td>                
  905.                             </tr>
  906.                         </table>
  907.                     </div>
  908.                     <div class=\"col-xs-12 col-sm-6\">
  909.                         <table class=\"table table-striped table-bordered table-hover\">
  910.                             <tr>
  911.                                 <th style=\"width: ";
  912.         // line 783
  913.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'783$this->source); })()), "html"nulltrue);
  914.         echo "\">
  915.                                     <label>
  916.                                         En caso de emergencia puede estar disponible en
  917.                                     </label>
  918.                                 </th>
  919.                                 <td>
  920.                                     ";
  921.         // line 789
  922.         if ((((isset($context["rol"]) || array_key_exists("rol"$context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.'789$this->source); })()) == "reservista") && ( !array_key_exists("tab"$context) || ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'789$this->source); })()) != "registro")))) {
  923.             // line 790
  924.             echo "                                        <select style=\"width: 100%\" class=\"chosen-select quick_update_select\" classname=\"ReservistaProceso\" entityid=\"";
  925.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'790$this->source); })()), "id", [], "any"falsefalsefalse790), "html"nulltrue);
  926.             echo "\" field=\"disponibilidad\" association=\"\" actualvalue=\"";
  927.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'790$this->source); })()), "disponibilidad", [], "any"falsefalsefalse790), "html"nulltrue);
  928.             echo "\">
  929.                                             <option value=\"\">--- Seleccione ---</option>
  930.                                             ";
  931.             // line 792
  932.             $context['_parent'] = $context;
  933.             $context['_seq'] = twig_ensure_traversable((isset($context["disponibilidades"]) || array_key_exists("disponibilidades"$context) ? $context["disponibilidades"] : (function () { throw new RuntimeError('Variable "disponibilidades" does not exist.'792$this->source); })()));
  934.             foreach ($context['_seq'] as $context["key"] => $context["disponibilidad"]) {
  935.                 // line 793
  936.                 echo "                                                <option value=\"";
  937.                 echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  938.                 echo "\" ";
  939.                 if (($context["key"] == twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'793$this->source); })()), "disponibilidad", [], "any"falsefalsefalse793))) {
  940.                     echo "selected=\"true\"";
  941.                 }
  942.                 echo ">";
  943.                 echo twig_escape_filter($this->env$context["disponibilidad"], "html"nulltrue);
  944.                 echo "</option>
  945.                                             ";
  946.             }
  947.             $_parent $context['_parent'];
  948.             unset($context['_seq'], $context['_iterated'], $context['key'], $context['disponibilidad'], $context['_parent'], $context['loop']);
  949.             $context array_intersect_key($context$_parent) + $_parent;
  950.             // line 795
  951.             echo "                                        </select>
  952.                                         <button class=\"hide quick_update_select_save\"><i class=\"fas fa-save\"></i></button>
  953.                                         <button class=\"hide quick_update_select_cancel\"><i class=\"fas fa-ban red\"></i></button>
  954.                                     ";
  955.         } else {
  956.             // line 799
  957.             echo "                                        ";
  958.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'799$this->source); })()), "disponibilidad", [], "any"falsefalsefalse799), "html"nulltrue);
  959.             echo "
  960.                                     ";
  961.         }
  962.         // line 801
  963.         echo "                                </td>                
  964.                             </tr>            
  965.                         </table>
  966.                     </div> 
  967.                 </div> 
  968.             </div> 
  969.        </div>
  970.    </div>
  971.                 
  972.     <div class=\"panel panel-default\">
  973.         <div class=\"panel-heading\">
  974.             <h4 class=\"panel-title green\">
  975.                 <a id=\"atab-1\" aria-expanded=\"true\" class=\"accordion-toggle\" data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#datosCentro\">
  976.                     <i class=\"bigger-160 ace-icon fa fa-calendar\" data-icon-hide=\"ace-icon fa fa-angle-down\" data-icon-show=\"ace-icon fa fa-angle-right\"></i>
  977.                     &nbsp;";
  978.         // line 815
  979.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("registroenlinea.fields.centroMovilizacionTitle", [], "crud");
  980.         // line 816
  981.         echo "                </a>
  982.             </h4>
  983.         </div>
  984.         <div style=\"\" aria-expanded=\"true\" class=\"panel-collapse collapse in \" id=\"datosCentro\">
  985.             <div class=\"panel-body\" style=\"border-width: 1px; border-color: red\">
  986.                 <table width=\"100%\" class=\"table table-striped table-bordered table-hover pdffont\">
  987.                     <tr>
  988.                         <th style=\"width: ";
  989.         // line 823
  990.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'823$this->source); })()), "html"nulltrue);
  991.         echo "\">
  992.                             <label>
  993.                                 ";
  994.         // line 825
  995.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("registroenlinea.fields.centroMovilizacionPresentarse", [], "crud");
  996.         // line 826
  997.         echo "                            </label>
  998.                         </th>
  999.                         <td>
  1000.                             ";
  1001.         // line 829
  1002.         if ((((isset($context["rol"]) || array_key_exists("rol"$context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.'829$this->source); })()) == "reservista") && ( !array_key_exists("tab"$context) || ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'829$this->source); })()) != "registro")))) {
  1003.             // line 830
  1004.             echo "                                <select id='quick_form_centro' style=\"width: 100%\" class=\"chosen-select quick_update_select\" classname=\"ReservistaProceso\" entityid=\"";
  1005.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'830$this->source); })()), "id", [], "any"falsefalsefalse830), "html"nulltrue);
  1006.             echo "\" field=\"centroMovilizacion\" association=\"CentroMovilizacion\" actualvalue=\"";
  1007.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'830$this->source); })()), "centroMovilizacion", [], "any"falsefalsefalse830), "id", [], "any"falsefalsefalse830), "html"nulltrue);
  1008.             echo "\">
  1009.                                     ";
  1010.             // line 831
  1011.             $context['_parent'] = $context;
  1012.             $context['_seq'] = twig_ensure_traversable((isset($context["centros"]) || array_key_exists("centros"$context) ? $context["centros"] : (function () { throw new RuntimeError('Variable "centros" does not exist.'831$this->source); })()));
  1013.             foreach ($context['_seq'] as $context["_key"] => $context["centro"]) {
  1014.                 // line 832
  1015.                 echo "                                        <option value=\"";
  1016.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["centro"], "id", [], "any"falsefalsefalse832), "html"nulltrue);
  1017.                 echo "\" ";
  1018.                 if ((twig_get_attribute($this->env$this->source$context["centro"], "id", [], "any"falsefalsefalse832) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'832$this->source); })()), "centroMovilizacion", [], "any"falsefalsefalse832), "id", [], "any"falsefalsefalse832))) {
  1019.                     echo "selected=\"true\"";
  1020.                 }
  1021.                 echo ">";
  1022.                 echo twig_escape_filter($this->env$context["centro"], "html"nulltrue);
  1023.                 echo "</option>
  1024.                                     ";
  1025.             }
  1026.             $_parent $context['_parent'];
  1027.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['centro'], $context['_parent'], $context['loop']);
  1028.             $context array_intersect_key($context$_parent) + $_parent;
  1029.             // line 834
  1030.             echo "                                </select>
  1031.                                 <button class=\"hide quick_update_select_save\"><i class=\"fas fa-save\"></i></button>
  1032.                                 <button class=\"hide quick_update_select_cancel\"><i class=\"fas fa-ban red\"></i></button>
  1033.                             ";
  1034.         } else {
  1035.             // line 838
  1036.             echo "                                ";
  1037.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'838$this->source); })()), "centroMovilizacion", [], "any"falsefalsefalse838), "id", [], "any"falsefalsefalse838), "html"nulltrue);
  1038.             echo "
  1039.                             ";
  1040.         }
  1041.         // line 840
  1042.         echo "                        </td>                
  1043.                     </tr>            
  1044.                 </table>
  1045.             </div> 
  1046.        </div>
  1047.    </div>
  1048.                 
  1049.     <div class=\"panel panel-default\">
  1050.         <div class=\"panel-heading\">
  1051.             <h4 class=\"panel-title green\">
  1052.                 <a id=\"atab-1\" aria-expanded=\"true\" class=\"accordion-toggle\" data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#datosResidencia\">
  1053.                     <i class=\"bigger-160 ace-icon fa fa-home \" data-icon-hide=\"ace-icon fa fa-angle-down\" data-icon-show=\"ace-icon fa fa-angle-right\"></i>
  1054.                     &nbsp;Lugar de residencia
  1055.                 </a>
  1056.             </h4>
  1057.         </div>
  1058.         <div style=\"\" aria-expanded=\"true\" class=\"panel-collapse collapse in \" id=\"datosResidencia\">
  1059.             <div class=\"panel-body\" style=\"border-width: 1px; border-color: red\">
  1060.                 <div class=\"row\">
  1061.                     <div class=\"col-xs-12 col-sm-6\">
  1062.                         <table class=\"table table-striped table-bordered table-hover\">
  1063.                             <tr>
  1064.                                 <th style=\"width: ";
  1065.         // line 862
  1066.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'862$this->source); })()), "html"nulltrue);
  1067.         echo "\">
  1068.                                     <label>
  1069.                                         ";
  1070.         // line 864
  1071.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.paisResidencia", [], "crud");
  1072.         // line 865
  1073.         echo "                                    </label>
  1074.                                 </th>
  1075.                                 <td>
  1076.                                     ";
  1077.         // line 868
  1078.         if ((((isset($context["rol"]) || array_key_exists("rol"$context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.'868$this->source); })()) == "reservista") && ( !array_key_exists("tab"$context) || ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'868$this->source); })()) != "registro")))) {
  1079.             // line 869
  1080.             echo "                                        <input type=\"text\" style=\"width:100%\" class=\"quick_update_input\" classname=\"ReservistaProceso\" entityid=\"";
  1081.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'869$this->source); })()), "id", [], "any"falsefalsefalse869), "html"nulltrue);
  1082.             echo "\" field=\"paisResidencia\" value=\"";
  1083.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'869$this->source); })()), "paisResidencia", [], "any"falsefalsefalse869), "html"nulltrue);
  1084.             echo "\" actualvalue=\"";
  1085.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'869$this->source); })()), "paisResidencia", [], "any"falsefalsefalse869), "html"nulltrue);
  1086.             echo "\">
  1087.                                         <button class=\"hide quick_update_input_save\"><i class=\"fas fa-save\"></i></button>
  1088.                                         <button class=\"hide quick_update_input_cancel\"><i class=\"fas fa-ban red\"></i></button>
  1089.                                     ";
  1090.         } else {
  1091.             // line 873
  1092.             echo "                                        ";
  1093.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'873$this->source); })()), "paisResidencia", [], "any"falsefalsefalse873), "html"nulltrue);
  1094.             echo "
  1095.                                     ";
  1096.         }
  1097.         // line 875
  1098.         echo "                                </td>
  1099.                             </tr>
  1100.                             <tr class=\"ecuador ";
  1101.         // line 877
  1102.         if ((twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'877$this->source); })()), "paisResidencia", [], "any"falsefalsefalse877) != "Ecuador")) {
  1103.             echo "hide";
  1104.         }
  1105.         echo "\">
  1106.                                 <th style=\"width: ";
  1107.         // line 878
  1108.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'878$this->source); })()), "html"nulltrue);
  1109.         echo "\">
  1110.                                     <label>
  1111.                                     ";
  1112.         // line 880
  1113.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.region", [], "crud");
  1114.         // line 881
  1115.         echo "                                    </label>
  1116.                                 </th>
  1117.                                 <td>
  1118.                                     <span id=\"inforegion\" regionid=\"";
  1119.         // line 884
  1120.         if (twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'884$this->source); })()), "region", [], "any"falsefalsefalse884)) {
  1121.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'884$this->source); })()), "region", [], "any"falsefalsefalse884), "id", [], "any"falsefalsefalse884), "html"nulltrue);
  1122.         }
  1123.         echo "\">";
  1124.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'884$this->source); })()), "region", [], "any"falsefalsefalse884), "html"nulltrue);
  1125.         echo "</span>
  1126.                                 </td>
  1127.                             </tr>
  1128.                             <tr class=\"ecuador ";
  1129.         // line 887
  1130.         if ((twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'887$this->source); })()), "paisResidencia", [], "any"falsefalsefalse887) != "Ecuador")) {
  1131.             echo "hide";
  1132.         }
  1133.         echo "\">
  1134.                                 <th style=\"width: ";
  1135.         // line 888
  1136.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'888$this->source); })()), "html"nulltrue);
  1137.         echo "\">
  1138.                                     <label>
  1139.                                     ";
  1140.         // line 890
  1141.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.provincia", [], "crud");
  1142.         // line 891
  1143.         echo "                                    </label>
  1144.                                 </th>
  1145.                                 <td>
  1146.                                     <span id=\"infoprovincia\" provinciaid=\"";
  1147.         // line 894
  1148.         if (twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'894$this->source); })()), "provincia", [], "any"falsefalsefalse894)) {
  1149.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'894$this->source); })()), "provincia", [], "any"falsefalsefalse894), "id", [], "any"falsefalsefalse894), "html"nulltrue);
  1150.         }
  1151.         echo "\">";
  1152.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'894$this->source); })()), "provincia", [], "any"falsefalsefalse894), "html"nulltrue);
  1153.         echo "</span>
  1154.                                 </td>
  1155.                             </tr>
  1156.                             <tr class=\"ecuador ";
  1157.         // line 897
  1158.         if ((twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'897$this->source); })()), "paisResidencia", [], "any"falsefalsefalse897) != "Ecuador")) {
  1159.             echo "hide";
  1160.         }
  1161.         echo "\">
  1162.                                 <th style=\"width: ";
  1163.         // line 898
  1164.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'898$this->source); })()), "html"nulltrue);
  1165.         echo "\">
  1166.                                     <label>
  1167.                                     ";
  1168.         // line 900
  1169.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.canton", [], "crud");
  1170.         // line 901
  1171.         echo "                                    </label>
  1172.                                 </th>
  1173.                                 <td>
  1174.                                     <span id=\"infocanton\" cantonid=\"";
  1175.         // line 904
  1176.         if (twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'904$this->source); })()), "canton", [], "any"falsefalsefalse904)) {
  1177.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'904$this->source); })()), "canton", [], "any"falsefalsefalse904), "id", [], "any"falsefalsefalse904), "html"nulltrue);
  1178.         }
  1179.         echo "\">";
  1180.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'904$this->source); })()), "canton", [], "any"falsefalsefalse904), "html"nulltrue);
  1181.         echo "</span>
  1182.                                 </td>
  1183.                             </tr>
  1184.                             <tr class=\"ecuador ";
  1185.         // line 907
  1186.         if ((twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'907$this->source); })()), "paisResidencia", [], "any"falsefalsefalse907) != "Ecuador")) {
  1187.             echo "hide";
  1188.         }
  1189.         echo "\">
  1190.                                 <th style=\"width: ";
  1191.         // line 908
  1192.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'908$this->source); })()), "html"nulltrue);
  1193.         echo "\">
  1194.                                     <label>
  1195.                                     ";
  1196.         // line 910
  1197.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.lugarResidencia", [], "crud");
  1198.         // line 911
  1199.         echo "                                    </label>
  1200.                                 </th>
  1201.                                 <td>
  1202.                                     <span id=\"infolugarResidencia\" parroquiaid=\"";
  1203.         // line 914
  1204.         if (twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'914$this->source); })()), "lugarResidencia", [], "any"falsefalsefalse914)) {
  1205.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'914$this->source); })()), "lugarResidencia", [], "any"falsefalsefalse914), "id", [], "any"falsefalsefalse914), "html"nulltrue);
  1206.         }
  1207.         echo "\">";
  1208.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'914$this->source); })()), "lugarResidencia", [], "any"falsefalsefalse914), "html"nulltrue);
  1209.         echo "</span>&nbsp;&nbsp;
  1210.                                     ";
  1211.         // line 915
  1212.         if ((((isset($context["rol"]) || array_key_exists("rol"$context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.'915$this->source); })()) == "reservista") && ( !array_key_exists("tab"$context) || ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'915$this->source); })()) != "registro")))) {
  1213.             // line 916
  1214.             echo "                                        <button id=\"quick_update_canton\" classname=\"ReservistaProceso\" entityid=\"";
  1215.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'916$this->source); })()), "id", [], "any"falsefalsefalse916), "html"nulltrue);
  1216.             echo "\" field=\"lugarResidencia\" info=\"infolugarResidencia\"><i class=\"fas fa-pen-alt\"></i></button>
  1217.                                     ";
  1218.         }
  1219.         // line 918
  1220.         echo "                                </td>
  1221.                             </tr>
  1222.                         </table>
  1223.                     </div>
  1224.                     <div class=\"col-xs-12 col-sm-6\">
  1225.                         <table class=\"table table-striped table-bordered table-hover\">
  1226.                                 <tr class=\"ecuador ";
  1227.         // line 924
  1228.         if ((twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'924$this->source); })()), "paisResidencia", [], "any"falsefalsefalse924) != "Ecuador")) {
  1229.             echo "hide";
  1230.         }
  1231.         echo "\">
  1232.                                     <th style=\"width: ";
  1233.         // line 925
  1234.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'925$this->source); })()), "html"nulltrue);
  1235.         echo "\">
  1236.                                         <label>
  1237.                                         ";
  1238.         // line 927
  1239.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.callePrincipalResidencia", [], "crud");
  1240.         // line 928
  1241.         echo "                                        </label>
  1242.                                     </th>
  1243.                                     <td>
  1244.                                         ";
  1245.         // line 931
  1246.         if ((((isset($context["rol"]) || array_key_exists("rol"$context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.'931$this->source); })()) == "reservista") && ( !array_key_exists("tab"$context) || ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'931$this->source); })()) != "registro")))) {
  1247.             // line 932
  1248.             echo "                                            <input type=\"text\" style=\"width:100%\" class=\"quick_update_input\" classname=\"ReservistaProceso\" entityid=\"";
  1249.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'932$this->source); })()), "id", [], "any"falsefalsefalse932), "html"nulltrue);
  1250.             echo "\" field=\"callePrincipalResidencia\" value=\"";
  1251.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'932$this->source); })()), "callePrincipalResidencia", [], "any"falsefalsefalse932), "html"nulltrue);
  1252.             echo "\" actualvalue=\"";
  1253.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'932$this->source); })()), "callePrincipalResidencia", [], "any"falsefalsefalse932), "html"nulltrue);
  1254.             echo "\">
  1255.                                             <button class=\"hide quick_update_input_save\"><i class=\"fas fa-save\"></i></button>
  1256.                                             <button class=\"hide quick_update_input_cancel\"><i class=\"fas fa-ban red\"></i></button>
  1257.                                         ";
  1258.         } else {
  1259.             // line 936
  1260.             echo "                                            ";
  1261.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'936$this->source); })()), "callePrincipalResidencia", [], "any"falsefalsefalse936), "html"nulltrue);
  1262.             echo "
  1263.                                         ";
  1264.         }
  1265.         // line 938
  1266.         echo "                                    </td>
  1267.                                 </tr>
  1268.                                 <tr class=\"ecuador ";
  1269.         // line 940
  1270.         if ((twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'940$this->source); })()), "paisResidencia", [], "any"falsefalsefalse940) != "Ecuador")) {
  1271.             echo "hide";
  1272.         }
  1273.         echo "\">
  1274.                                     <th style=\"width: ";
  1275.         // line 941
  1276.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'941$this->source); })()), "html"nulltrue);
  1277.         echo "\">
  1278.                                         <label>
  1279.                                         ";
  1280.         // line 943
  1281.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.calleSecundariaResidencia", [], "crud");
  1282.         // line 944
  1283.         echo "                                        </label>
  1284.                                     </th>
  1285.                                     <td>
  1286.                                         ";
  1287.         // line 947
  1288.         if ((((isset($context["rol"]) || array_key_exists("rol"$context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.'947$this->source); })()) == "reservista") && ( !array_key_exists("tab"$context) || ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'947$this->source); })()) != "registro")))) {
  1289.             // line 948
  1290.             echo "                                            <input type=\"text\" style=\"width:100%\" class=\"quick_update_input\" classname=\"ReservistaProceso\" entityid=\"";
  1291.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'948$this->source); })()), "id", [], "any"falsefalsefalse948), "html"nulltrue);
  1292.             echo "\" field=\"calleSecundariaResidencia\" value=\"";
  1293.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'948$this->source); })()), "calleSecundariaResidencia", [], "any"falsefalsefalse948), "html"nulltrue);
  1294.             echo "\" actualvalue=\"";
  1295.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'948$this->source); })()), "calleSecundariaResidencia", [], "any"falsefalsefalse948), "html"nulltrue);
  1296.             echo "\">
  1297.                                             <button class=\"hide quick_update_input_save\"><i class=\"fas fa-save\"></i></button>
  1298.                                             <button class=\"hide quick_update_input_cancel\"><i class=\"fas fa-ban red\"></i></button>
  1299.                                         ";
  1300.         } else {
  1301.             // line 952
  1302.             echo "                                            ";
  1303.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'952$this->source); })()), "calleSecundariaResidencia", [], "any"falsefalsefalse952), "html"nulltrue);
  1304.             echo "
  1305.                                         ";
  1306.         }
  1307.         // line 954
  1308.         echo "                                    </td>
  1309.                                 </tr>
  1310.                                 <tr class=\"ecuador ";
  1311.         // line 956
  1312.         if ((twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'956$this->source); })()), "paisResidencia", [], "any"falsefalsefalse956) != "Ecuador")) {
  1313.             echo "hide";
  1314.         }
  1315.         echo "\">
  1316.                                     <th style=\"width: ";
  1317.         // line 957
  1318.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'957$this->source); })()), "html"nulltrue);
  1319.         echo "\">
  1320.                                         <label>
  1321.                                         ";
  1322.         // line 959
  1323.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.numeroCasa", [], "crud");
  1324.         // line 960
  1325.         echo "                                        </label>
  1326.                                     </th>
  1327.                                     <td>
  1328.                                         ";
  1329.         // line 963
  1330.         if ((((isset($context["rol"]) || array_key_exists("rol"$context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.'963$this->source); })()) == "reservista") && ( !array_key_exists("tab"$context) || ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'963$this->source); })()) != "registro")))) {
  1331.             // line 964
  1332.             echo "                                            <input type=\"text\" style=\"width:100%\" class=\"quick_update_input\" classname=\"ReservistaProceso\" entityid=\"";
  1333.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'964$this->source); })()), "id", [], "any"falsefalsefalse964), "html"nulltrue);
  1334.             echo "\" field=\"numeroCasa\" value=\"";
  1335.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'964$this->source); })()), "numeroCasa", [], "any"falsefalsefalse964), "html"nulltrue);
  1336.             echo "\" actualvalue=\"";
  1337.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'964$this->source); })()), "numeroCasa", [], "any"falsefalsefalse964), "html"nulltrue);
  1338.             echo "\">
  1339.                                             <button class=\"hide quick_update_input_save\"><i class=\"fas fa-save\"></i></button>
  1340.                                             <button class=\"hide quick_update_input_cancel\"><i class=\"fas fa-ban red\"></i></button>
  1341.                                         ";
  1342.         } else {
  1343.             // line 968
  1344.             echo "                                            ";
  1345.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'968$this->source); })()), "numeroCasa", [], "any"falsefalsefalse968), "html"nulltrue);
  1346.             echo "
  1347.                                         ";
  1348.         }
  1349.         // line 970
  1350.         echo "                                    </td>
  1351.                                 </tr>
  1352.                                 <tr class=\"ecuador ";
  1353.         // line 972
  1354.         if ((twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'972$this->source); })()), "paisResidencia", [], "any"falsefalsefalse972) != "Ecuador")) {
  1355.             echo "hide";
  1356.         }
  1357.         echo "\">
  1358.                                     <th style=\"width: ";
  1359.         // line 973
  1360.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'973$this->source); })()), "html"nulltrue);
  1361.         echo "\">
  1362.                                         <label>
  1363.                                         ";
  1364.         // line 975
  1365.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.referencias", [], "crud");
  1366.         // line 976
  1367.         echo "                                        </label>
  1368.                                     </th>
  1369.                                     <td>
  1370.                                         ";
  1371.         // line 979
  1372.         if ((((isset($context["rol"]) || array_key_exists("rol"$context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.'979$this->source); })()) == "reservista") && ( !array_key_exists("tab"$context) || ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'979$this->source); })()) != "registro")))) {
  1373.             // line 980
  1374.             echo "                                            <input type=\"text\" style=\"width:100%\" class=\"quick_update_input\" classname=\"ReservistaProceso\" entityid=\"";
  1375.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'980$this->source); })()), "id", [], "any"falsefalsefalse980), "html"nulltrue);
  1376.             echo "\" field=\"referencias\" value=\"";
  1377.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'980$this->source); })()), "referencias", [], "any"falsefalsefalse980), "html"nulltrue);
  1378.             echo "\" actualvalue=\"";
  1379.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'980$this->source); })()), "referencias", [], "any"falsefalsefalse980), "html"nulltrue);
  1380.             echo "\">
  1381.                                             <button class=\"hide quick_update_input_save\"><i class=\"fas fa-save\"></i></button>
  1382.                                             <button class=\"hide quick_update_input_cancel\"><i class=\"fas fa-ban red\"></i></button>
  1383.                                         ";
  1384.         } else {
  1385.             // line 984
  1386.             echo "                                            ";
  1387.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'984$this->source); })()), "referencias", [], "any"falsefalsefalse984), "html"nulltrue);
  1388.             echo "
  1389.                                         ";
  1390.         }
  1391.         // line 986
  1392.         echo "                                    </td>
  1393.                                 </tr>
  1394.                                 <tr class=\"ecuador ";
  1395.         // line 988
  1396.         if ((twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'988$this->source); })()), "paisResidencia", [], "any"falsefalsefalse988) == "Ecuador")) {
  1397.             echo "hide";
  1398.         }
  1399.         echo "\">
  1400.                                     <th style=\"width: ";
  1401.         // line 989
  1402.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'989$this->source); })()), "html"nulltrue);
  1403.         echo "\">
  1404.                                         <label>
  1405.                                         ";
  1406.         // line 991
  1407.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.direccion", [], "crud");
  1408.         // line 992
  1409.         echo "                                        </label>
  1410.                                     </th>
  1411.                                     <td>
  1412.                                         ";
  1413.         // line 995
  1414.         if ((((isset($context["rol"]) || array_key_exists("rol"$context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.'995$this->source); })()) == "reservista") && ( !array_key_exists("tab"$context) || ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'995$this->source); })()) != "registro")))) {
  1415.             // line 996
  1416.             echo "                                            <input type=\"text\" style=\"width:100%\" class=\"quick_update_input\" classname=\"ReservistaProceso\" entityid=\"";
  1417.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'996$this->source); })()), "id", [], "any"falsefalsefalse996), "html"nulltrue);
  1418.             echo "\" field=\"referencias\" value=\"";
  1419.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'996$this->source); })()), "referencias", [], "any"falsefalsefalse996), "html"nulltrue);
  1420.             echo "\" actualvalue=\"";
  1421.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'996$this->source); })()), "referencias", [], "any"falsefalsefalse996), "html"nulltrue);
  1422.             echo "\">
  1423.                                             <button class=\"hide quick_update_input_save\"><i class=\"fas fa-save\"></i></button>
  1424.                                             <button class=\"hide quick_update_input_cancel\"><i class=\"fas fa-ban red\"></i></button>
  1425.                                         ";
  1426.         } else {
  1427.             // line 1000
  1428.             echo "                                            ";
  1429.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1000$this->source); })()), "referencias", [], "any"falsefalsefalse1000), "html"nulltrue);
  1430.             echo "
  1431.                                         ";
  1432.         }
  1433.         // line 1002
  1434.         echo "                                    </td>
  1435.                                 </tr>
  1436.                         </table>
  1437.                     </div>
  1438.                 </div>
  1439.             </div>
  1440.         </div>
  1441.     </div>
  1442.     <div class=\"panel panel-default\">
  1443.         <div class=\"panel-heading\">
  1444.             <h4 class=\"panel-title green\">
  1445.                 <a id=\"atab-1\" aria-expanded=\"true\" class=\"accordion-toggle\" data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#datosAntecedentes\">
  1446.                     <i class=\"bigger-160 ace-icon fa fa-star-of-life \" data-icon-hide=\"ace-icon fa fa-angle-down\" data-icon-show=\"ace-icon fa fa-angle-right\"></i>
  1447.                     &nbsp;Antecedentes
  1448.                 </a>
  1449.             </h4>
  1450.         </div>
  1451.         <div style=\"\" aria-expanded=\"true\" class=\"panel-collapse collapse in \" id=\"datosAntecedentes\">
  1452.             <div class=\"panel-body\" style=\"border-width: 1px; border-color: red\">
  1453.                 <div class=\"row\">
  1454.                     <div class=\"col-xs-12\">
  1455.                         <table id=\"tabla_acuartelamiento\" class=\"table table-striped table-bordered table-hover\">
  1456.                             <tr>
  1457.                                 <th style=\"width: ";
  1458.         // line 1026
  1459.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'1026$this->source); })()), "html"nulltrue);
  1460.         echo "\">
  1461.                                     <label>
  1462.                                         ";
  1463.         // line 1028
  1464.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.resultadosAntecedentes", [], "crud");
  1465.         // line 1029
  1466.         echo "                                    </label>
  1467.                                 </th>
  1468.                                 <td>
  1469.                                     <p><input type='radio' id='antecedentes_1' ";
  1470.         // line 1032
  1471.         if ((twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1032$this->source); })()), "resultadosAntecedentes", [], "any"falsefalsefalse1032) == 1)) {
  1472.             echo "checked='true'";
  1473.         }
  1474.         echo " disabled='true'>&nbsp;Antecedentes penales</p>   
  1475.                                     <p><input type='radio' id='antecedentes_2' ";
  1476.         // line 1033
  1477.         if ((twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1033$this->source); })()), "resultadosAntecedentes", [], "any"falsefalsefalse1033) == 2)) {
  1478.             echo "checked='true'";
  1479.         }
  1480.         echo " disabled='true'>&nbsp;Impedimento de salida del país</p>   
  1481.                                     <p><input type='radio' id='antecedentes_3' ";
  1482.         // line 1034
  1483.         if ((twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1034$this->source); })()), "resultadosAntecedentes", [], "any"falsefalsefalse1034) == 3)) {
  1484.             echo "checked='true'";
  1485.         }
  1486.         echo " disabled='true'>&nbsp;Alerta migratoria</p>   
  1487.                                     <p><input type='radio' id='antecedentes_4' ";
  1488.         // line 1035
  1489.         if ((twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1035$this->source); })()), "resultadosAntecedentes", [], "any"falsefalsefalse1035) == 4)) {
  1490.             echo "checked='true'";
  1491.         }
  1492.         echo " disabled='true'>&nbsp;Orden de Captura</p>   
  1493.                                 </td>   
  1494.                             </tr>
  1495.                         </table>
  1496.                     </div>
  1497.                 </div>
  1498.             </div>
  1499.         </div>
  1500.     </div>
  1501.     <div class=\"panel panel-default\">
  1502.         <div class=\"panel-heading\">
  1503.             <h4 class=\"panel-title green\">
  1504.                 <a id=\"atab-1\" aria-expanded=\"true\" class=\"accordion-toggle\" data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#datosEstudios\">
  1505.                     <i class=\"bigger-160 ace-icon fa fa-graduation-cap  \" data-icon-hide=\"ace-icon fa fa-angle-down\" data-icon-show=\"ace-icon fa fa-angle-right\"></i>
  1506.                     &nbsp;Estudios
  1507.                 </a>
  1508.             </h4>
  1509.         </div>
  1510.         <div style=\"\" aria-expanded=\"true\" class=\"panel-collapse collapse in \" id=\"datosEstudios\">
  1511.             <div class=\"panel-body\" style=\"border-width: 1px; border-color: red\">
  1512.                 <div class=\"row\">
  1513.                     <div class=\"col-xs-12\">
  1514.                         <table id=\"tabla_acuartelamiento\" class=\"table table-striped table-bordered table-hover\">
  1515.                             <tr>
  1516.                                 <th style=\"width: ";
  1517.         // line 1060
  1518.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'1060$this->source); })()), "html"nulltrue);
  1519.         echo "\">
  1520.                                     <label>
  1521.                                         ";
  1522.         // line 1062
  1523.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.nivelInstruccion", [], "crud");
  1524.         echo ":
  1525.                                         <br><button id=\"btn_verificar_estudios\" title=\"Consultar servicio\"><i class=\"fas fa-recycle green\"></i></button>
  1526.                                     </label>
  1527.                                     
  1528.                                 </th>
  1529.                                 <td>
  1530.                                     <table id=\"table_estudios\" class=\"table\">
  1531.                                         <thead>
  1532.                                             <tr>
  1533.                                                 <th>";
  1534.         // line 1071
  1535.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.estudioInstitucion", [], "crud");
  1536.         echo "</th>
  1537.                                                 <th>";
  1538.         // line 1072
  1539.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.estudioTitulo", [], "crud");
  1540.         echo "</th>
  1541.                                             </tr>
  1542.                                         </thead>
  1543.                                         <tbody>
  1544.                                             ";
  1545.         // line 1076
  1546.         $context['_parent'] = $context;
  1547.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1076$this->source); })()), "resultadosEstudios", [], "any"falsefalsefalse1076));
  1548.         foreach ($context['_seq'] as $context["_key"] => $context["estudio"]) {
  1549.             // line 1077
  1550.             echo "                                                <tr>                                               
  1551.                                                     <td>";
  1552.             // line 1078
  1553.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["estudio"], "institucion", [], "any"falsefalsefalse1078), "html"nulltrue);
  1554.             echo "</td>
  1555.                                                     <td>";
  1556.             // line 1079
  1557.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["estudio"], "titulo", [], "any"falsefalsefalse1079), "html"nulltrue);
  1558.             echo "</td>
  1559.                                                 </tr>
  1560.                                             ";
  1561.         }
  1562.         $_parent $context['_parent'];
  1563.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['estudio'], $context['_parent'], $context['loop']);
  1564.         $context array_intersect_key($context$_parent) + $_parent;
  1565.         // line 1082
  1566.         echo "                                        </tbody>
  1567.                                     </table>
  1568.                                 </td>
  1569.                             </tr>
  1570.                             <tr>
  1571.                                 <th style=\"width: ";
  1572.         // line 1087
  1573.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'1087$this->source); })()), "html"nulltrue);
  1574.         echo "\">
  1575.                                     <label>
  1576.                                         Otros no registrados en SENESCYT:
  1577.                                     </label>
  1578.                                 </th>
  1579.                                 <td>
  1580.                                     <table id=\"tablaEstudios\" class=\"table\">
  1581.                                         <thead>
  1582.                                             <tr>
  1583.                                                 <th>Título o Certificación obtenida</th>
  1584.                                                 <th>Institución que emite</th>
  1585.                                                 <th>Nivel</th>
  1586.                                                 <th>En curso</th>
  1587.                                                 <th>Fecha emisión</th>
  1588.                                                 <th style=\"width: 100px\">";
  1589.         // line 1101
  1590.         if ((((isset($context["rol"]) || array_key_exists("rol"$context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.'1101$this->source); })()) == "reservista") && ( !array_key_exists("tab"$context) || ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'1101$this->source); })()) != "registro")))) {
  1591.             echo "<button title=\"Adicionar estudio\" id=\"addEstudio\"><i class=\"fas fa-plus-circle green\"></i></button>";
  1592.         }
  1593.         echo "</th>
  1594.                                             </tr>
  1595.                                             <tr class=\"patron hide\">                                               
  1596.                                                 <td>
  1597.                                                     <input class=\"estudio_titulo\" type=\"text\" style=\"width: 100%\" onkeyup='javascript:estudioChange(this);' actualvalue=\"\">
  1598.                                                 </td>
  1599.                                                 <td>
  1600.                                                     <input class=\"estudio_institucion\" type=\"text\" style=\"width: 100%\" onkeyup='javascript:estudioChange(this);' actualvalue=\"\">
  1601.                                                 </td>
  1602.                                                 <td>
  1603.                                                     <select style=\"width: 100%\" class=\"chosen-select estudio_nivel\" onchange=\"javascript:estudioChange(this);\" actualvalue=\"\">
  1604.                                                         <option value=\"\">-- Seleccione --</option>
  1605.                                                         ";
  1606.         // line 1113
  1607.         $context['_parent'] = $context;
  1608.         $context['_seq'] = twig_ensure_traversable((isset($context["niveles"]) || array_key_exists("niveles"$context) ? $context["niveles"] : (function () { throw new RuntimeError('Variable "niveles" does not exist.'1113$this->source); })()));
  1609.         foreach ($context['_seq'] as $context["_key"] => $context["nivel"]) {
  1610.             // line 1114
  1611.             echo "                                                            <option value=\"";
  1612.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["nivel"], "id", [], "any"falsefalsefalse1114), "html"nulltrue);
  1613.             echo "\">";
  1614.             echo twig_escape_filter($this->env$context["nivel"], "html"nulltrue);
  1615.             echo "</option>
  1616.                                                         ";
  1617.         }
  1618.         $_parent $context['_parent'];
  1619.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['nivel'], $context['_parent'], $context['loop']);
  1620.         $context array_intersect_key($context$_parent) + $_parent;
  1621.         // line 1116
  1622.         echo "                                                    </select>
  1623.                                                 </td>
  1624.                                                 <td>
  1625.                                                     <select style=\"width: 100%\" class=\"estudio_cursando\" onchange=\"javascript:estudioChange(this);\" actualvalue=\"\">
  1626.                                                         <option value=\"\">-- Seleccione --</option>
  1627.                                                         <option value=\"YES\">En curso</option>
  1628.                                                         <option value=\"NO\">Finalizado</option>
  1629.                                                     </select>
  1630.                                                 </td>
  1631.                                                 <td>
  1632.                                                     <div class=\"input-group\">
  1633.                                                         <input type=\"text\" style=\"width: 100%\" class=\"estudio_fecha form-control date-picker\" data-date-format=\"dd-mm-yyyy\" onchange=\"javascript:estudioChange(this);\" actualvalue=\"\">
  1634.                                                         <span class=\"input-group-addon\"><i class=\"fas fa-calendar bigger-110\"></i></span>
  1635.                                                     </div>
  1636.                                                 </td>
  1637.                                                 <th>
  1638.                                                     <button title=\"Guardar cambios\" class=\"hide button quick_destreza_save\" onclick=\"javascript:estudioSave(this);\"><i class=\"fas fa-save\"></i></button>
  1639.                                                     <button title=\"Deshacer cambios\" class=\"hide button quick_destreza_cancel\" onclick=\"javascript:estudioCancel(this);\"><i class=\"fas fa-ban red\"></i></button>
  1640.                                                     <button title=\"Eliminar\" class='quick_destreza_delete' onclick=\"javascript:estudioDelete(this);\"><i class=\"fas fa-trash-alt red\"></i></button>
  1641.                                                 </th>
  1642.                                             </tr>
  1643.                                         </thead>
  1644.                                         <tbody>
  1645.                                             ";
  1646.         // line 1139
  1647.         $context['_parent'] = $context;
  1648.         $context['_seq'] = twig_ensure_traversable((isset($context["estudios"]) || array_key_exists("estudios"$context) ? $context["estudios"] : (function () { throw new RuntimeError('Variable "estudios" does not exist.'1139$this->source); })()));
  1649.         foreach ($context['_seq'] as $context["_key"] => $context["estudio"]) {
  1650.             // line 1140
  1651.             echo "                                                <tr estudioid=\"";
  1652.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["estudio"], "id", [], "any"falsefalsefalse1140), "html"nulltrue);
  1653.             echo "\">                                               
  1654.                                                     <td>
  1655.                                                         <input class=\"estudio_titulo\" type=\"text\" style=\"width: 100%\" onkeyup='javascript:estudioChange(this);' value=\"";
  1656.             // line 1142
  1657.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["estudio"], "titulo", [], "any"falsefalsefalse1142), "html"nulltrue);
  1658.             echo "\" actualvalue=\"";
  1659.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["estudio"], "titulo", [], "any"falsefalsefalse1142), "html"nulltrue);
  1660.             echo "\">
  1661.                                                     </td>
  1662.                                                     <td>
  1663.                                                         <input class=\"estudio_institucion\" type=\"text\" style=\"width: 100%\" onkeyup='javascript:estudioChange(this);' value=\"";
  1664.             // line 1145
  1665.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["estudio"], "institucion", [], "any"falsefalsefalse1145), "html"nulltrue);
  1666.             echo "\" actualvalue=\"";
  1667.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["estudio"], "institucion", [], "any"falsefalsefalse1145), "html"nulltrue);
  1668.             echo "\">
  1669.                                                     </td>
  1670.                                                     <td>
  1671.                                                         <select style=\"width: 100%\" class=\"estudio_nivel chosen-select\" onchange=\"javascript:estudioChange(this);\" actualvalue=\"";
  1672.             // line 1148
  1673.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["estudio"], "nivel", [], "any"falsefalsefalse1148), "id", [], "any"falsefalsefalse1148), "html"nulltrue);
  1674.             echo "\">
  1675.                                                             <option value=\"\">-- Seleccione --</option>
  1676.                                                             ";
  1677.             // line 1150
  1678.             $context['_parent'] = $context;
  1679.             $context['_seq'] = twig_ensure_traversable((isset($context["niveles"]) || array_key_exists("niveles"$context) ? $context["niveles"] : (function () { throw new RuntimeError('Variable "niveles" does not exist.'1150$this->source); })()));
  1680.             foreach ($context['_seq'] as $context["_key"] => $context["nivel"]) {
  1681.                 // line 1151
  1682.                 echo "                                                                <option value=\"";
  1683.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["nivel"], "id", [], "any"falsefalsefalse1151), "html"nulltrue);
  1684.                 echo "\" ";
  1685.                 if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["estudio"], "nivel", [], "any"falsefalsefalse1151), "id", [], "any"falsefalsefalse1151) == twig_get_attribute($this->env$this->source$context["nivel"], "id", [], "any"falsefalsefalse1151))) {
  1686.                     echo "selected=\"true\"";
  1687.                 }
  1688.                 echo ">";
  1689.                 echo twig_escape_filter($this->env$context["nivel"], "html"nulltrue);
  1690.                 echo "</option>
  1691.                                                             ";
  1692.             }
  1693.             $_parent $context['_parent'];
  1694.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['nivel'], $context['_parent'], $context['loop']);
  1695.             $context array_intersect_key($context$_parent) + $_parent;
  1696.             // line 1153
  1697.             echo "                                                        </select>
  1698.                                                     </td>
  1699.                                                     <td>
  1700.                                                         <select style=\"width: 100%\" class=\"estudio_cursando\" onchange=\"javascript:estudioChange(this);\" actualvalue=\"";
  1701.             // line 1156
  1702.             if (twig_get_attribute($this->env$this->source$context["estudio"], "cursando", [], "any"falsefalsefalse1156)) {
  1703.                 echo "YES";
  1704.             } else {
  1705.                 echo "NO";
  1706.             }
  1707.             echo "\">
  1708.                                                             <option value=\"\">-- Seleccione --</option>
  1709.                                                             <option value=\"YES\" ";
  1710.             // line 1158
  1711.             if (twig_get_attribute($this->env$this->source$context["estudio"], "cursando", [], "any"falsefalsefalse1158)) {
  1712.                 echo "selected=\"true\"";
  1713.             }
  1714.             echo ">En curso</option>
  1715.                                                             <option value=\"NO\" ";
  1716.             // line 1159
  1717.             if ( !twig_get_attribute($this->env$this->source$context["estudio"], "cursando", [], "any"falsefalsefalse1159)) {
  1718.                 echo "selected=\"true\"";
  1719.             }
  1720.             echo ">Finalizado</option>
  1721.                                                         </select>
  1722.                                                     </td>
  1723.                                                     <td>
  1724.                                                         <div class=\"input-group ";
  1725.             // line 1163
  1726.             if (twig_get_attribute($this->env$this->source$context["estudio"], "cursando", [], "any"falsefalsefalse1163)) {
  1727.                 echo "hide";
  1728.             }
  1729.             echo "\">
  1730.                                                             <input type=\"text\" style=\"width: 100%\" class=\"estudio_fecha form-control date-picker unset\" data-date-format=\"dd-mm-yyyy\" onchange=\"javascript:estudioChange(this);\" value=\"";
  1731.             // line 1164
  1732.             echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["estudio"], "fechaEmision", [], "any"falsefalsefalse1164), "d/m/Y"), "html"nulltrue);
  1733.             echo "\" actualvalue=\"";
  1734.             echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["estudio"], "fechaEmision", [], "any"falsefalsefalse1164), "d/m/Y"), "html"nulltrue);
  1735.             echo "\">
  1736.                                                             <span class=\"input-group-addon\"><i class=\"fas fa-calendar bigger-110\"></i></span>
  1737.                                                         </div>
  1738.                                                     </td>
  1739.                                                     <th>
  1740.                                                         <button title=\"Guardar cambios\" class=\"hide button quick_estudio_save\" onclick=\"javascript:estudioSave(this);\"><i class=\"fas fa-save\"></i></button>
  1741.                                                         <button title=\"Deshacer cambios\" class=\"hide button quick_estudio_cancel\" onclick=\"javascript:estudioCancel(this);\"><i class=\"fas fa-ban red\"></i></button>
  1742.                                                         <button title=\"Eliminar\" class='quick_estudio_delete' onclick=\"javascript:estudioDelete(this);\"><i class=\"fas fa-trash-alt red\"></i></button>
  1743.                                                     </th>
  1744.                                                 </tr>
  1745.                                             ";
  1746.         }
  1747.         $_parent $context['_parent'];
  1748.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['estudio'], $context['_parent'], $context['loop']);
  1749.         $context array_intersect_key($context$_parent) + $_parent;
  1750.         // line 1175
  1751.         echo "                                        </tbody>
  1752.                                     </table>
  1753.                                 </td>
  1754.                             </tr>
  1755.                             <tr>
  1756.                                 <th style=\"width: ";
  1757.         // line 1180
  1758.         echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'1180$this->source); })()), "html"nulltrue);
  1759.         echo "\">
  1760.                                     <label>
  1761.                                         Otras habilidades:
  1762.                                     </label>
  1763.                                 </th>
  1764.                                 <td>
  1765.                                     <table id=\"tablaDestrezas\" class=\"table\">
  1766.                                         <thead>
  1767.                                             <tr>
  1768.                                                 <th style=\"width: 280px\">Destreza/Habilidad</th>
  1769.                                                 <th style=\"width: 165px\">Tiempo de experiencia</th>
  1770.                                                 <th>Detalles</th>
  1771.                                                 <th style=\"width: 100px\">";
  1772.         // line 1192
  1773.         if ((((isset($context["rol"]) || array_key_exists("rol"$context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.'1192$this->source); })()) == "reservista") && ( !array_key_exists("tab"$context) || ((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'1192$this->source); })()) != "registro")))) {
  1774.             echo "<button title=\"Adicionar habilidad\" id=\"addDestreza\"><i class=\"fas fa-plus-circle green\"></i></button>";
  1775.         }
  1776.         echo "</th>
  1777.                                             </tr>
  1778.                                             <tr class=\"patron hide\">                                               
  1779.                                                 <td>
  1780.                                                     <select style=\"width: 100%\" class=\"chosen-select select-destreza\" onchange=\"javascript:selectDestrezaChange(this);\" actualvalue=\"\" lastValue=\"\">
  1781.                                                         <option class=\"option_destreza_empty\" value=\"\">-- Seleccione --</option>
  1782.                                                         ";
  1783.         // line 1198
  1784.         $context['_parent'] = $context;
  1785.         $context['_seq'] = twig_ensure_traversable((isset($context["destrezas"]) || array_key_exists("destrezas"$context) ? $context["destrezas"] : (function () { throw new RuntimeError('Variable "destrezas" does not exist.'1198$this->source); })()));
  1786.         foreach ($context['_seq'] as $context["_key"] => $context["destreza"]) {
  1787.             // line 1199
  1788.             echo "                                                            <option class=\"option_destreza destreza_";
  1789.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["destreza"], "id", [], "any"falsefalsefalse1199), "html"nulltrue);
  1790.             echo "\" value=\"";
  1791.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["destreza"], "id", [], "any"falsefalsefalse1199), "html"nulltrue);
  1792.             echo "\">";
  1793.             echo twig_escape_filter($this->env$context["destreza"], "html"nulltrue);
  1794.             echo "</option>
  1795.                                                         ";
  1796.         }
  1797.         $_parent $context['_parent'];
  1798.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['destreza'], $context['_parent'], $context['loop']);
  1799.         $context array_intersect_key($context$_parent) + $_parent;
  1800.         // line 1201
  1801.         echo "                                                    </select>
  1802.                                                 </td>
  1803.                                                 <td><input type=\"text\" style=\"width: 100%\" onkeyup='javascript:destrezaChange(this);' actualvalue=\"\"></td>
  1804.                                                 <td><textarea style=\"width: 100%\" onkeyup='javascript:destrezaChange(this);' actualvalue=\"\"></textarea></td>
  1805.                                                 <th>
  1806.                                                     <button title=\"Guardar cambios\" class=\"hide button quick_destreza_save\" onclick=\"javascript:destrezaSave(this);\"><i class=\"fas fa-save\"></i></button>
  1807.                                                     <button title=\"Deshacer cambios\" class=\"hide button quick_destreza_cancel\" onclick=\"javascript:destrezaCancel(this);\"><i class=\"fas fa-ban red\"></i></button>
  1808.                                                     <button title=\"Eliminar\" class='quick_destreza_delete' onclick=\"javascript:destrezaDelete(this);\"><i class=\"fas fa-trash-alt red\"></i></button>
  1809.                                                 </th>
  1810.                                             </tr>
  1811.                                         </thead>
  1812.                                         <tbody>
  1813.                                             ";
  1814.         // line 1213
  1815.         $context['_parent'] = $context;
  1816.         $context['_seq'] = twig_ensure_traversable((isset($context["habilidades"]) || array_key_exists("habilidades"$context) ? $context["habilidades"] : (function () { throw new RuntimeError('Variable "habilidades" does not exist.'1213$this->source); })()));
  1817.         foreach ($context['_seq'] as $context["_key"] => $context["habilidad"]) {
  1818.             // line 1214
  1819.             echo "                                                <tr destrezaid=\"";
  1820.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["habilidad"], "id", [], "any"falsefalsefalse1214), "html"nulltrue);
  1821.             echo "\">                                               
  1822.                                                     <td>
  1823.                                                         <select style=\"width: 100%\" class=\"chosen-select select-destreza\" onchange=\"javascript:selectDestrezaChange(this)\" actualvalue=\"";
  1824.             // line 1216
  1825.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["habilidad"], "destreza", [], "any"falsefalsefalse1216), "id", [], "any"falsefalsefalse1216), "html"nulltrue);
  1826.             echo "\" lastValue=\"";
  1827.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["habilidad"], "destreza", [], "any"falsefalsefalse1216), "id", [], "any"falsefalsefalse1216), "html"nulltrue);
  1828.             echo "\" disabled=\"true\">
  1829.                                                             <option class=\"option_destreza_empty\" value=\"\">-- Seleccione --</option>
  1830.                                                             ";
  1831.             // line 1218
  1832.             $context['_parent'] = $context;
  1833.             $context['_seq'] = twig_ensure_traversable((isset($context["destrezas"]) || array_key_exists("destrezas"$context) ? $context["destrezas"] : (function () { throw new RuntimeError('Variable "destrezas" does not exist.'1218$this->source); })()));
  1834.             foreach ($context['_seq'] as $context["_key"] => $context["destreza"]) {
  1835.                 // line 1219
  1836.                 echo "                                                                <option class=\"option_destreza destreza_";
  1837.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["destreza"], "id", [], "any"falsefalsefalse1219), "html"nulltrue);
  1838.                 echo "\" value=\"";
  1839.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["destreza"], "id", [], "any"falsefalsefalse1219), "html"nulltrue);
  1840.                 echo "\" ";
  1841.                 if ((twig_get_attribute($this->env$this->source$context["destreza"], "id", [], "any"falsefalsefalse1219) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["habilidad"], "destreza", [], "any"falsefalsefalse1219), "id", [], "any"falsefalsefalse1219))) {
  1842.                     echo "selected=\"true\"";
  1843.                 }
  1844.                 echo ">";
  1845.                 echo twig_escape_filter($this->env$context["destreza"], "html"nulltrue);
  1846.                 echo "</option>
  1847.                                                             ";
  1848.             }
  1849.             $_parent $context['_parent'];
  1850.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['destreza'], $context['_parent'], $context['loop']);
  1851.             $context array_intersect_key($context$_parent) + $_parent;
  1852.             // line 1221
  1853.             echo "                                                        </select>
  1854.                                                     </td>
  1855.                                                     <td><input type=\"text\" style=\"width: 100%\" onkeyup='javascript:destrezaChange(this)' value=\"";
  1856.             // line 1223
  1857.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["habilidad"], "tiempo", [], "any"falsefalsefalse1223), "html"nulltrue);
  1858.             echo "\" actualvalue=\"";
  1859.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["habilidad"], "tiempo", [], "any"falsefalsefalse1223), "html"nulltrue);
  1860.             echo "\"></td>
  1861.                                                     <td><textarea style=\"width: 100%\" onkeyup='javascript:destrezaChange(this)' actualvalue=\"";
  1862.             // line 1224
  1863.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["habilidad"], "detalles", [], "any"falsefalsefalse1224), "html"nulltrue);
  1864.             echo "\">";
  1865.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["habilidad"], "detalles", [], "any"falsefalsefalse1224), "html"nulltrue);
  1866.             echo "</textarea></td>
  1867.                                                     <th>
  1868.                                                         <button title=\"Guardar cambios\" class=\"hide button quick_destreza_save\" onclick=\"javascript:destrezaSave(this)\"><i class=\"fas fa-save\"></i></button>
  1869.                                                         <button title=\"Deshacer cambios\" class=\"hide button quick_destreza_cancel\" onclick=\"javascript:destrezaCancel(this)\"><i class=\"fas fa-ban red\"></i></button>
  1870.                                                         <button title=\"Eliminar\" class='quick_destreza_delete' onclick=\"javascript:destrezaDelete(this)\"><i class=\"fas fa-trash-alt red\"></i></button>
  1871.                                                     </th>
  1872.                                                 </tr>
  1873.                                             ";
  1874.         }
  1875.         $_parent $context['_parent'];
  1876.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['habilidad'], $context['_parent'], $context['loop']);
  1877.         $context array_intersect_key($context$_parent) + $_parent;
  1878.         // line 1232
  1879.         echo "                                        </tbody>
  1880.                                     </table>
  1881.                                 </td>
  1882.                             </tr>
  1883.                         </table>
  1884.                         ";
  1885.         // line 1237
  1886.         $this->displayBlock('more_acuartelamiento'$context$blocks);
  1887.         // line 1238
  1888.         echo "        
  1889.                     </div>
  1890.                 </div>
  1891.             </div>
  1892.         </div>
  1893.     </div>
  1894.     ";
  1895.         // line 1245
  1896.         $this->displayBlock('more_seccion'$context$blocks);
  1897.         // line 1424
  1898.         echo "        
  1899.         <form id=\"formQuickUpdate\" action=\"";
  1900.         // line 1426
  1901.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("crud_quick_update");
  1902.         echo "\" method=\"POST\" class=\"hide\">
  1903.             <input type=\"hidden\" id=\"quick_form_class\" name=\"quick[class]\">
  1904.             <input type=\"hidden\" id=\"quick_form_id\" name=\"quick[id]\">
  1905.             <input type=\"hidden\" id=\"quick_form_field\" name=\"quick[field]\">
  1906.             <input type=\"hidden\" id=\"quick_form_association_class\" name=\"quick[association]\">
  1907.             <input type=\"text\" id=\"quick_input_valor\" name=\"quick[valor]\" style=\"width: 100%\">
  1908.         </form>
  1909.         <form id=\"formDestrezaSave\" action=\"";
  1910.         // line 1433
  1911.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("reservista_update_habilidad");
  1912.         echo "\" method=\"POST\" class=\"hide\">
  1913.             <input type=\"hidden\" id=\"quick_form_reservista\" name=\"quick[reservista]\" value=\"";
  1914.         // line 1434
  1915.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1434$this->source); })()), "reservista", [], "any"falsefalsefalse1434), "id", [], "any"falsefalsefalse1434), "html"nulltrue);
  1916.         echo "\">
  1917.             <input type=\"hidden\" id=\"quick_form_destreza\" name=\"quick[destreza]\">
  1918.             <input type=\"hidden\" id=\"quick_form_tiempo\" name=\"quick[tiempo]\">
  1919.             <input type=\"hidden\" id=\"quick_form_detalle\" name=\"quick[detalle]\">
  1920.         </form>
  1921.         <form id=\"formEstudioSave\" action=\"";
  1922.         // line 1439
  1923.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("reservista_update_estudio");
  1924.         echo "\" method=\"POST\" class=\"hide\">
  1925.             <input type=\"hidden\" id=\"quick_form_habilidad_id\" name=\"quick[id]\">
  1926.             <input type=\"hidden\" id=\"quick_form_habilidad_reservista\" name=\"quick[reservista]\" value=\"";
  1927.         // line 1441
  1928.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1441$this->source); })()), "reservista", [], "any"falsefalsefalse1441), "id", [], "any"falsefalsefalse1441), "html"nulltrue);
  1929.         echo "\">
  1930.             <input type=\"hidden\" id=\"quick_form_habilidad_titulo\" name=\"quick[titulo]\">
  1931.             <input type=\"hidden\" id=\"quick_form_habilidad_institucion\" name=\"quick[institucion]\">
  1932.             <input type=\"hidden\" id=\"quick_form_habilidad_nivel\" name=\"quick[nivel]\">
  1933.             <input type=\"hidden\" id=\"quick_form_habilidad_cursando\" name=\"quick[cursando]\">
  1934.             <input type=\"hidden\" id=\"quick_form_habilidad_fecha\" name=\"quick[fecha]\">
  1935.         </form>
  1936.         
  1937.     <div id=\"dialog-verify-email\" title=\"Verificar correo electrónico\">
  1938.         <form id=\"form_verify_email\" action=\"";
  1939.         // line 1450
  1940.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("verifica_email");
  1941.         echo "\" method=\"POST\">
  1942.             <input type=\"hidden\" id=\"verify_email\" name=\"verify_email\">
  1943.         </form>
  1944.         <form id=\"form_verify_email_code\" action=\"";
  1945.         // line 1453
  1946.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("verifica_email_code");
  1947.         echo "\" method=\"POST\">
  1948.             <p>Se ha enviado un correo electrónico a su dirección: <span id=\"text_email\"></span>.</p>
  1949.             <p>Revise su correo e introduzca el código de verificación envíado.</p>
  1950.             <p>Código de verificación: <input type=\"text\" name=\"verify_email_code\"></p>
  1951.         </form>
  1952.     </div>    
  1953.             
  1954.     <div id=\"dialog-change-canton\">
  1955.         <table class=\"table table-striped table-bordered table-hover\">
  1956.             <tr class=\"reside_ecuador\">
  1957.                 <th style=\"width: 20%\">
  1958.                     <label id=\"label_form_medico\">
  1959.                         ";
  1960.         // line 1465
  1961.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.region", [], "crud");
  1962.         echo ":
  1963.                     </label>
  1964.                 </th>
  1965.                 <td style=\"vertical-align: middle\">
  1966.                     <select id='form_region' style=\"width: 100%\" class=\"chosen-select\" onchange='javascript:regionChange()'>
  1967.                         <option value=''>-- Seleccione --</option>
  1968.                         ";
  1969.         // line 1471
  1970.         $context['_parent'] = $context;
  1971.         $context['_seq'] = twig_ensure_traversable((isset($context["regiones"]) || array_key_exists("regiones"$context) ? $context["regiones"] : (function () { throw new RuntimeError('Variable "regiones" does not exist.'1471$this->source); })()));
  1972.         foreach ($context['_seq'] as $context["_key"] => $context["region"]) {
  1973.             // line 1472
  1974.             echo "                            <option value='";
  1975.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["region"], "id", [], "any"falsefalsefalse1472), "html"nulltrue);
  1976.             echo "'>";
  1977.             echo twig_escape_filter($this->env$context["region"], "html"nulltrue);
  1978.             echo "</option>
  1979.                         ";
  1980.         }
  1981.         $_parent $context['_parent'];
  1982.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['region'], $context['_parent'], $context['loop']);
  1983.         $context array_intersect_key($context$_parent) + $_parent;
  1984.         // line 1474
  1985.         echo "                    </select>
  1986.                 </td>    
  1987.             </tr>    
  1988.             <tr class=\"reside_ecuador\">
  1989.                 <th style=\"width: 20%\">
  1990.                     <label id=\"label_form_medico\">
  1991.                         ";
  1992.         // line 1480
  1993.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.provincia", [], "crud");
  1994.         echo ":
  1995.                     </label>
  1996.                 </th>
  1997.                 <td style=\"vertical-align: middle\">
  1998.                     <select id='form_provincia' style=\"width: 100%\" class=\"chosen-select\" onchange='javascripts:provinciaChange()'>
  1999.                         <option value=''>-- Seleccione --</option>
  2000.                         ";
  2001.         // line 1486
  2002.         $context['_parent'] = $context;
  2003.         $context['_seq'] = twig_ensure_traversable((isset($context["provincias"]) || array_key_exists("provincias"$context) ? $context["provincias"] : (function () { throw new RuntimeError('Variable "provincias" does not exist.'1486$this->source); })()));
  2004.         foreach ($context['_seq'] as $context["_key"] => $context["provincia"]) {
  2005.             // line 1487
  2006.             echo "                            <option value='";
  2007.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["provincia"], "id", [], "any"falsefalsefalse1487), "html"nulltrue);
  2008.             echo "'>";
  2009.             echo twig_escape_filter($this->env$context["provincia"], "html"nulltrue);
  2010.             echo "</option>
  2011.                         ";
  2012.         }
  2013.         $_parent $context['_parent'];
  2014.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['provincia'], $context['_parent'], $context['loop']);
  2015.         $context array_intersect_key($context$_parent) + $_parent;
  2016.         // line 1489
  2017.         echo "                    </select>
  2018.                 </td>    
  2019.             </tr>    
  2020.             <tr class=\"reside_ecuador\">
  2021.                 <th style=\"width: 20%\">
  2022.                     <label id=\"label_form_medico\">
  2023.                         ";
  2024.         // line 1495
  2025.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.canton", [], "crud");
  2026.         echo ":
  2027.                     </label>
  2028.                 </th>
  2029.                 <td style=\"vertical-align: middle\">
  2030.                     <select id='form_canton' style=\"width: 100%\" class=\"chosen-select\" onchange='javascripts:cantonChange()'>
  2031.                         <option value=''>-- Seleccione --</option>
  2032.                         ";
  2033.         // line 1501
  2034.         $context['_parent'] = $context;
  2035.         $context['_seq'] = twig_ensure_traversable((isset($context["cantones"]) || array_key_exists("cantones"$context) ? $context["cantones"] : (function () { throw new RuntimeError('Variable "cantones" does not exist.'1501$this->source); })()));
  2036.         foreach ($context['_seq'] as $context["_key"] => $context["canton"]) {
  2037.             // line 1502
  2038.             echo "                            <option value='";
  2039.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["canton"], "id", [], "any"falsefalsefalse1502), "html"nulltrue);
  2040.             echo "'>";
  2041.             echo twig_escape_filter($this->env$context["canton"], "html"nulltrue);
  2042.             echo "</option>
  2043.                         ";
  2044.         }
  2045.         $_parent $context['_parent'];
  2046.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['canton'], $context['_parent'], $context['loop']);
  2047.         $context array_intersect_key($context$_parent) + $_parent;
  2048.         // line 1504
  2049.         echo "                    </select>
  2050.                 </td>    
  2051.             </tr>    
  2052.             <tr class=\"reside_ecuador\">
  2053.                 <th style=\"width: 20%\">
  2054.                     <label class=\"required\">
  2055.                         ";
  2056.         // line 1510
  2057.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("reclutaproceso.fields.lugarResidencia", [], "crud");
  2058.         echo ":
  2059.                     </label>
  2060.                 </th>
  2061.                 <td style=\"vertical-align: middle\">
  2062.                     <select id='form_parroquia' name=\"form[parroquiaResidencia]\" style=\"width: 100%\" class=\"chosen-select\">
  2063.                         <option value=''>-- Seleccione --</option>
  2064.                         ";
  2065.         // line 1516
  2066.         $context['_parent'] = $context;
  2067.         $context['_seq'] = twig_ensure_traversable((isset($context["parroquias"]) || array_key_exists("parroquias"$context) ? $context["parroquias"] : (function () { throw new RuntimeError('Variable "parroquias" does not exist.'1516$this->source); })()));
  2068.         foreach ($context['_seq'] as $context["_key"] => $context["parroquia"]) {
  2069.             // line 1517
  2070.             echo "                            <option value='";
  2071.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["parroquia"], "id", [], "any"falsefalsefalse1517), "html"nulltrue);
  2072.             echo "'>";
  2073.             echo twig_escape_filter($this->env$context["parroquia"], "html"nulltrue);
  2074.             echo "</option>
  2075.                         ";
  2076.         }
  2077.         $_parent $context['_parent'];
  2078.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['parroquia'], $context['_parent'], $context['loop']);
  2079.         $context array_intersect_key($context$_parent) + $_parent;
  2080.         // line 1519
  2081.         echo "                    </select>
  2082.                 </td>    
  2083.             </tr>   
  2084.         </table>
  2085.     </div>            
  2086.             
  2087.             
  2088.             
  2089.         
  2090. ";
  2091.         
  2092.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2093.         
  2094.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2095.     }
  2096.     // line 737
  2097.     public function block_prev_acuartelamiento($context, array $blocks = [])
  2098.     {
  2099.         $macros $this->macros;
  2100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""prev_acuartelamiento"));
  2102.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""prev_acuartelamiento"));
  2104.         echo "        
  2105.     ";
  2106.         
  2107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2108.         
  2109.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2110.     }
  2111.     // line 1237
  2112.     public function block_more_acuartelamiento($context, array $blocks = [])
  2113.     {
  2114.         $macros $this->macros;
  2115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2116.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""more_acuartelamiento"));
  2117.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2118.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""more_acuartelamiento"));
  2119.         echo "        
  2120.                         ";
  2121.         
  2122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2123.         
  2124.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2125.     }
  2126.     // line 1245
  2127.     public function block_more_seccion($context, array $blocks = [])
  2128.     {
  2129.         $macros $this->macros;
  2130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""more_seccion"));
  2132.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2133.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""more_seccion"));
  2134.         echo "        
  2135.         <div class=\"panel panel-default\">
  2136.             <div class=\"panel-heading\">
  2137.                 <h4 class=\"panel-title green\">
  2138.                     <a id=\"atab-1\" aria-expanded=\"true\" class=\"accordion-toggle\" data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#datosPersonales\">
  2139.                         <i class=\"bigger-160 ace-icon fa fa-home \" data-icon-hide=\"ace-icon fa fa-angle-down\" data-icon-show=\"ace-icon fa fa-angle-right\"></i>
  2140.                         &nbsp;Resultados del proceso
  2141.                     </a>
  2142.                 </h4>
  2143.             </div>
  2144.             <div style=\"\" aria-expanded=\"true\" class=\"panel-collapse collapse in \" id=\"datosPersonales\">
  2145.                 ";
  2146.         // line 1256
  2147.         if ( !twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1256$this->source); })()), "certificadoVacunacionOk", [], "any"falsefalsefalse1256)) {
  2148.             // line 1257
  2149.             echo "                    <div id='no_cupo' class='hide'>
  2150.                         <i class=\"fas fa-ban red bigger-300\"></i>
  2151.                         <span id=\"span_no_idoneo\" style=\"color: red; font-weight: bold; font-size: 20px\">
  2152.                             NO PUEDE REGISTRARSE RESULTADO PORQUE NO SE HA VALIDADO EL CERTIFICADO DE VACUNACIÓN
  2153.                         </span>
  2154.                     </div>           
  2155.                 ";
  2156.         } else {
  2157.             // line 1264
  2158.             echo "                    <div id=\"divResultado\" class=\"panel-body\" style=\"border-width: 1px; border-color: red\">
  2159.                         <div class=\"row\">
  2160.                             <div class=\"col-xs-12\">
  2161.                                 ";
  2162.             // line 1267
  2163.             if (twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1267$this->source); })()), "fechaResultado", [], "any"falsefalsefalse1267)) {
  2164.                 // line 1268
  2165.                 echo "                                    ";
  2166.                 if (twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1268$this->source); })()), "idoneo", [], "any"falsefalsefalse1268)) {
  2167.                     // line 1269
  2168.                     echo "                                        <p color='green'>IDÓNEO</p>
  2169.                                         <table class=\"table table-striped table-bordered table-hover\">
  2170.                                             <tr>
  2171.                                                 <th style=\"width: ";
  2172.                     // line 1272
  2173.                     echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'1272$this->source); })()), "html"nulltrue);
  2174.                     echo "\">
  2175.                                                     <label>
  2176.                                                         Unidad asignada:
  2177.                                                     </label>
  2178.                                                 </th>
  2179.                                                 <td>
  2180.                                                     ";
  2181.                     // line 1278
  2182.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1278$this->source); })()), "unidadMilitar", [], "any"falsefalsefalse1278), "html"nulltrue);
  2183.                     echo "
  2184.                                                 </td>
  2185.                                                 <th style=\"width: ";
  2186.                     // line 1280
  2187.                     echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'1280$this->source); })()), "html"nulltrue);
  2188.                     echo "\">
  2189.                                                     <label>
  2190.                                                         Centro instrucción:
  2191.                                                     </label>
  2192.                                                 </th>
  2193.                                                 <td>
  2194.                                                     ";
  2195.                     // line 1286
  2196.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1286$this->source); })()), "unidadMilitar", [], "any"falsefalsefalse1286), "centroInstruccion", [], "any"falsefalsefalse1286), "html"nulltrue);
  2197.                     echo "
  2198.                                                 </td>
  2199.                                             </tr>
  2200.                                         </table>
  2201.                                     ";
  2202.                 } else {
  2203.                     // line 1291
  2204.                     echo "                                        <p color='red'>NO IDÓNEO</p>
  2205.                                         <table class=\"table table-striped table-bordered table-hover\">
  2206.                                             <tr>
  2207.                                                 <th style=\"width: ";
  2208.                     // line 1294
  2209.                     echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'1294$this->source); })()), "html"nulltrue);
  2210.                     echo "\">
  2211.                                                     <label>
  2212.                                                         Causa rechazo:
  2213.                                                     </label>
  2214.                                                 </th>
  2215.                                                 <td>
  2216.                                                     ";
  2217.                     // line 1300
  2218.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1300$this->source); })()), "causaRechazo", [], "any"falsefalsefalse1300), "html"nulltrue);
  2219.                     echo "
  2220.                                                 </td>
  2221.                                             </tr>
  2222.                                             <tr>
  2223.                                                 <th style=\"width: ";
  2224.                     // line 1304
  2225.                     echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'1304$this->source); })()), "html"nulltrue);
  2226.                     echo "\">
  2227.                                                     <label>
  2228.                                                         Observaciones:
  2229.                                                     </label>
  2230.                                                 </th>
  2231.                                                 <td>
  2232.                                                     ";
  2233.                     // line 1310
  2234.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1310$this->source); })()), "observaciones", [], "any"falsefalsefalse1310), "html"nulltrue);
  2235.                     echo "
  2236.                                                 </td>
  2237.                                             </tr>
  2238.                                             <tr>
  2239.                                                 <th style=\"width: ";
  2240.                     // line 1314
  2241.                     echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'1314$this->source); })()), "html"nulltrue);
  2242.                     echo "\">
  2243.                                                     <label>
  2244.                                                         Volver a presentarse:
  2245.                                                     </label>
  2246.                                                 </th>
  2247.                                                 <td>
  2248.                                                     ";
  2249.                     // line 1320
  2250.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1320$this->source); })()), "volverPresentarse", [], "any"falsefalsefalse1320), "html"nulltrue);
  2251.                     echo "
  2252.                                                 </td>
  2253.                                             </tr>
  2254.                                         </table>
  2255.                                     ";
  2256.                 }
  2257.                 // line 1325
  2258.                 echo "                                ";
  2259.             }
  2260.             // line 1326
  2261.             echo "                                    ";
  2262.             if (( !twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1326$this->source); })()), "fechaResultado", [], "any"falsefalsefalse1326) || ( !twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1326$this->source); })()), "idoneo", [], "any"falsefalsefalse1326) && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1326$this->source); })()), "volverPresentarse", [], "any"falsefalsefalse1326), "getValue", [], "method"falsefalsefalse1326) == "MISMO")))) {
  2263.                 // line 1327
  2264.                 echo "                                        <form id='form_resultados' method='post' action='";
  2265.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("aspirante_salvar_resultado");
  2266.                 echo "'>
  2267.                                             <input type='hidden' name='resultado[reclutaProceso]' value='";
  2268.                 // line 1328
  2269.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1328$this->source); })()), "id", [], "any"falsefalsefalse1328), "html"nulltrue);
  2270.                 echo "'>
  2271.                                             <table class=\"table table-striped table-bordered table-hover\">
  2272.                                                 <tr>
  2273.                                                     <th style=\"width: ";
  2274.                 // line 1331
  2275.                 echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'1331$this->source); })()), "html"nulltrue);
  2276.                 echo "\">
  2277.                                                         <label>
  2278.                                                             Resultado:
  2279.                                                         </label>
  2280.                                                     </th>
  2281.                                                     <td colspan='3'>
  2282.                                                         <input type='radio' class='resultado' id='resultadoIdoneo' name='resultado[resultado]' value='idoneo'>&nbsp;&nbsp;Idóneo
  2283.                                                         &nbsp;&nbsp;&nbsp;&nbsp;
  2284.                                                         <input type='radio' class='resultado' id='resultadoNoIdoneo' name='resultado[resultado]' value='noidoneo'>&nbsp;&nbsp;No Idóneo
  2285.                                                     </td>
  2286.                                                 </tr>
  2287.                                                 <tr id='trUnidadAsignar' class='hide'>
  2288.                                                     <th style=\"width: ";
  2289.                 // line 1343
  2290.                 echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'1343$this->source); })()), "html"nulltrue);
  2291.                 echo "\">
  2292.                                                         <label>
  2293.                                                             Unidad asignada:
  2294.                                                         </label>
  2295.                                                     </th>
  2296.                                                     <td colspan='3'>
  2297.                                                         <a id=\"botonAsignar\" class=\"btn btn-white btn-inverse btn-bold btn-round\" href=\"";
  2298.                 // line 1349
  2299.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("aspirante_asignar_unidad", ["reclutaProceso" => twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1349$this->source); })()), "id", [], "any"falsefalsefalse1349)]), "html"nulltrue);
  2300.                 echo "\">
  2301.                                                             Asignar Unidad
  2302.                                                         </a>
  2303.                                                     </td>
  2304.                                                 </tr>
  2305.                                                 <tr id='trUnidad' class='hide'>
  2306.                                                     <th style=\"width: ";
  2307.                 // line 1355
  2308.                 echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'1355$this->source); })()), "html"nulltrue);
  2309.                 echo "\">
  2310.                                                         <label>
  2311.                                                             Unidad asignada:
  2312.                                                         </label>
  2313.                                                     </th>
  2314.                                                     <td>
  2315.                                                         <span id='span_unidad'></span>
  2316.                                                         <input type='hidden' id='form_unidad' name='resultado[unidad]'>
  2317.                                                     </td>
  2318.                                                     <th style=\"width: ";
  2319.                 // line 1364
  2320.                 echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'1364$this->source); })()), "html"nulltrue);
  2321.                 echo "\">
  2322.                                                         <label>
  2323.                                                             Centro instrucción:
  2324.                                                         </label>
  2325.                                                     </th>
  2326.                                                     <td>
  2327.                                                         <span id='span_centro'></span>
  2328.                                                     </td>
  2329.                                                 </tr>
  2330.                                                 <tr id='trCausaRechazo' class='hide'>
  2331.                                                     <th style=\"width: ";
  2332.                 // line 1374
  2333.                 echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'1374$this->source); })()), "html"nulltrue);
  2334.                 echo "\">
  2335.                                                         <label>
  2336.                                                             Causa rechazo:
  2337.                                                         </label>
  2338.                                                     </th>
  2339.                                                     <td>
  2340.                                                         <input type='radio' id='causaPsicologica' name='resultado[causa]' value='PSICOLOGICA'>&nbsp;&nbsp;Psicológica
  2341.                                                     </td>
  2342.                                                     <td>
  2343.                                                         <input type='radio' id='causaMedica' name='resultado[causa]' value='MEDICA'>&nbsp;&nbsp;Médica
  2344.                                                     </td>
  2345.                                                     <td>
  2346.                                                         <input type='radio' id='causaLaboratorios' name='resultado[causa]' value='LABORATORIO'>&nbsp;&nbsp;Laboratorio
  2347.                                                     </td>
  2348.                                                 </tr>
  2349.                                                 <tr id='trObservaciones' class='hide'>
  2350.                                                     <th style=\"width: ";
  2351.                 // line 1390
  2352.                 echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'1390$this->source); })()), "html"nulltrue);
  2353.                 echo "\">
  2354.                                                         <label>
  2355.                                                             Observaciones:
  2356.                                                         </label>
  2357.                                                     </th>
  2358.                                                     <td colspan='3'>
  2359.                                                         <textarea id='observaciones' name='resultado[observaciones]' style='width: 100%'></textarea>
  2360.                                                     </td>
  2361.                                                 </tr>
  2362.                                                 <tr id='trVolver' class='hide'>
  2363.                                                     <th style=\"width: ";
  2364.                 // line 1400
  2365.                 echo twig_escape_filter($this->env, (isset($context["widthLabel"]) || array_key_exists("widthLabel"$context) ? $context["widthLabel"] : (function () { throw new RuntimeError('Variable "widthLabel" does not exist.'1400$this->source); })()), "html"nulltrue);
  2366.                 echo "\">
  2367.                                                         <label>
  2368.                                                             Volver a presentarse:
  2369.                                                         </label>
  2370.                                                     </th>
  2371.                                                     <td>
  2372.                                                         <input type='radio' id='volverEste' name='resultado[volver]' value='MISMO'>&nbsp;&nbsp;En este proceso
  2373.                                                     </td>
  2374.                                                     <td>
  2375.                                                         <input type='radio' id='volverProximo' name='resultado[volver]' value='PROXIMO'>&nbsp;&nbsp;Próximo proceso
  2376.                                                     </td>
  2377.                                                     <td>
  2378.                                                         <input type='radio' id='volverNunca' name='resultado[volver]' value='NUNCA'>&nbsp;&nbsp;Nunca
  2379.                                                     </td>
  2380.                                                 </tr>
  2381.                                             </table>
  2382.                                         </form>
  2383.                                     ";
  2384.             }
  2385.             // line 1418
  2386.             echo "                            </div>
  2387.                         </div>
  2388.                     </div>
  2389.                 ";
  2390.         }
  2391.         // line 1422
  2392.         echo "            </div>
  2393.         </div>
  2394.     ";
  2395.         
  2396.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2397.         
  2398.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2399.     }
  2400.     // line 1530
  2401.     public function block_actions($context, array $blocks = [])
  2402.     {
  2403.         $macros $this->macros;
  2404.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2405.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""actions"));
  2406.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2407.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""actions"));
  2408.         // line 1531
  2409.         echo "    <div class=\"row\">
  2410.         <div class=\"col-xs-6\">
  2411.             <center>
  2412.                 ";
  2413.         // line 1534
  2414.         $this->displayBlock('action_retorno'$context$blocks);
  2415.         // line 1539
  2416.         echo 
  2417.             </center>
  2418.         </div>   
  2419.         ";
  2420.         // line 1542
  2421.         if ( !twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1542$this->source); })()), "fechaResultado", [], "any"falsefalsefalse1542)) {
  2422.             // line 1543
  2423.             echo "            ";
  2424.             if (twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1543$this->source); })()), "certificadoVacunacionOk", [], "any"falsefalsefalse1543)) {
  2425.                 // line 1544
  2426.                 echo "                <div class=\"col-xs-6 forChanges\">
  2427.                     <center>
  2428.                         <a id=\"botonTerminar\" class=\"btn btn-white btn-inverse btn-bold btn-round\" href=\"\">Terminar proceso</a>
  2429.                     </center>
  2430.                 </div>    
  2431.             ";
  2432.             }
  2433.             // line 1549
  2434.             echo "            
  2435.         ";
  2436.         } else {
  2437.             // line 1550
  2438.             echo "            
  2439.             <div class=\"col-xs-6 forChanges\">
  2440.                 <center>
  2441.                     <a id=\"botonImprimir\"  target=\"_blank\" class=\"btn btn-white btn-inverse btn-bold btn-round\" href=\"";
  2442.             // line 1553
  2443.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("imprimirFichaProceso", ["idReclutaProceso" => twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1553$this->source); })()), "id", [], "any"falsefalsefalse1553)]), "html"nulltrue);
  2444.             echo "\">Imprimir resultado</a>
  2445.                 </center>
  2446.             </div>    
  2447.         ";
  2448.         }
  2449.         // line 1556
  2450.         echo "            
  2451.     </div>
  2452. ";
  2453.         
  2454.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2455.         
  2456.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2457.     }
  2458.     // line 1534
  2459.     public function block_action_retorno($context, array $blocks = [])
  2460.     {
  2461.         $macros $this->macros;
  2462.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2463.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""action_retorno"));
  2464.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2465.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""action_retorno"));
  2466.         // line 1535
  2467.         echo "                    ";
  2468.         // line 1536
  2469.         echo "                    <a class=\"btn btn-white btn-inverse btn-bold btn-round\" href=\"";
  2470.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("crud_plain_back_to_list", ["routeClassName" => (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'1536$this->source); })()), "id" => twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'1536$this->source); })()), "id", [], "any"falsefalsefalse1536), "from" => "show"]), "html"nulltrue);
  2471.         echo "\">
  2472.                         ";
  2473.         // line 1537
  2474.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.regresar", [], "crud");
  2475.         // line 1538
  2476.         echo "                    </a>
  2477.                 ";
  2478.         
  2479.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2480.         
  2481.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2482.     }
  2483.     public function getTemplateName()
  2484.     {
  2485.         return "ReservistaProceso/show.html.twig";
  2486.     }
  2487.     public function isTraitable()
  2488.     {
  2489.         return false;
  2490.     }
  2491.     public function getDebugInfo()
  2492.     {
  2493.         return array (  2544 => 1538,  2542 => 1537,  2537 => 1536,  2535 => 1535,  2525 => 1534,  2513 => 1556,  2506 => 1553,  2501 => 1550,  2497 => 1549,  2489 => 1544,  2486 => 1543,  2484 => 1542,  2479 => 1539,  2477 => 1534,  2472 => 1531,  2462 => 1530,  2450 => 1422,  2444 => 1418,  2423 => 1400,  2410 => 1390,  2391 => 1374,  2378 => 1364,  2366 => 1355,  2357 => 1349,  2348 => 1343,  2333 => 1331,  2327 => 1328,  2322 => 1327,  2319 => 1326,  2316 => 1325,  2308 => 1320,  2299 => 1314,  2292 => 1310,  2283 => 1304,  2276 => 1300,  2267 => 1294,  2262 => 1291,  2254 => 1286,  2245 => 1280,  2240 => 1278,  2231 => 1272,  2226 => 1269,  2223 => 1268,  2221 => 1267,  2216 => 1264,  2207 => 1257,  2205 => 1256,  2183 => 1245,  2163 => 1237,  2143 => 737,  2124 => 1519,  2113 => 1517,  2109 => 1516,  2100 => 1510,  2092 => 1504,  2081 => 1502,  2077 => 1501,  2068 => 1495,  2060 => 1489,  2049 => 1487,  2045 => 1486,  2036 => 1480,  2028 => 1474,  2017 => 1472,  2013 => 1471,  2004 => 1465,  1989 => 1453,  1983 => 1450,  1971 => 1441,  1966 => 1439,  1958 => 1434,  1954 => 1433,  1944 => 1426,  1940 => 1424,  1938 => 1245,  1929 => 1238,  1927 => 1237,  1920 => 1232,  1904 => 1224,  1898 => 1223,  1894 => 1221,  1877 => 1219,  1873 => 1218,  1866 => 1216,  1860 => 1214,  1856 => 1213,  1842 => 1201,  1829 => 1199,  1825 => 1198,  1814 => 1192,  1799 => 1180,  1792 => 1175,  1773 => 1164,  1767 => 1163,  1758 => 1159,  1752 => 1158,  1743 => 1156,  1738 => 1153,  1723 => 1151,  1719 => 1150,  1714 => 1148,  1706 => 1145,  1698 => 1142,  1692 => 1140,  1688 => 1139,  1663 => 1116,  1652 => 1114,  1648 => 1113,  1631 => 1101,  1614 => 1087,  1607 => 1082,  1598 => 1079,  1594 => 1078,  1591 => 1077,  1587 => 1076,  1580 => 1072,  1576 => 1071,  1564 => 1062,  1559 => 1060,  1529 => 1035,  1523 => 1034,  1517 => 1033,  1511 => 1032,  1506 => 1029,  1504 => 1028,  1499 => 1026,  1473 => 1002,  1467 => 1000,  1455 => 996,  1453 => 995,  1448 => 992,  1446 => 991,  1441 => 989,  1435 => 988,  1431 => 986,  1425 => 984,  1413 => 980,  1411 => 979,  1406 => 976,  1404 => 975,  1399 => 973,  1393 => 972,  1389 => 970,  1383 => 968,  1371 => 964,  1369 => 963,  1364 => 960,  1362 => 959,  1357 => 957,  1351 => 956,  1347 => 954,  1341 => 952,  1329 => 948,  1327 => 947,  1322 => 944,  1320 => 943,  1315 => 941,  1309 => 940,  1305 => 938,  1299 => 936,  1287 => 932,  1285 => 931,  1280 => 928,  1278 => 927,  1273 => 925,  1267 => 924,  1259 => 918,  1253 => 916,  1251 => 915,  1243 => 914,  1238 => 911,  1236 => 910,  1231 => 908,  1225 => 907,  1215 => 904,  1210 => 901,  1208 => 900,  1203 => 898,  1197 => 897,  1187 => 894,  1182 => 891,  1180 => 890,  1175 => 888,  1169 => 887,  1159 => 884,  1154 => 881,  1152 => 880,  1147 => 878,  1141 => 877,  1137 => 875,  1131 => 873,  1119 => 869,  1117 => 868,  1112 => 865,  1110 => 864,  1105 => 862,  1081 => 840,  1075 => 838,  1069 => 834,  1054 => 832,  1050 => 831,  1043 => 830,  1041 => 829,  1036 => 826,  1034 => 825,  1029 => 823,  1020 => 816,  1018 => 815,  1002 => 801,  996 => 799,  990 => 795,  975 => 793,  971 => 792,  963 => 790,  961 => 789,  952 => 783,  943 => 776,  937 => 774,  931 => 770,  916 => 768,  912 => 767,  904 => 765,  902 => 764,  893 => 758,  872 => 740,  868 => 738,  865 => 737,  855 => 736,  833 => 722,  823 => 721,  810 => 716,  808 => 715,  564 => 474,  456 => 369,  378 => 294,  242 => 161,  163 => 85,  151 => 76,  75 => 4,  65 => 3,  42 => 1,);
  2494.     }
  2495.     public function getSourceContext()
  2496.     {
  2497.         return new Source("{% extends \"@crud\\\\crud\\\\show.html.twig\" %}
  2498. {% block jquery %}
  2499.     {{ parent() }}
  2500.     <script type=\"text/javascript\">
  2501.         var inputEmail; 
  2502.         
  2503.         \$(function()
  2504.         {
  2505.             \$(\"#botonTerminar\").click(function(e){
  2506.                 e.preventDefault();
  2507.                 var ok=true;
  2508.                 var msg='';
  2509.                 if (\$('#resultadoIdoneo').prop('checked'))
  2510.                 {
  2511.                     if (!\$('#form_unidad').val())
  2512.                     {
  2513.                         ok=false;
  2514.                         msg = 'Debe asignar la unidad militar';
  2515.                     }
  2516.                 }
  2517.                 else
  2518.                 {
  2519.                     if (\$('#resultadoNoIdoneo').prop('checked'))
  2520.                     {
  2521.                         if (!(\$('#causaPsicologica').prop('checked') || \$('#causaMedica').prop('checked') || \$('#causaLaboratorios').prop('checked')))
  2522.                         {
  2523.                             ok=false;
  2524.                             msg = 'Debe asignar la causa de rechazo';
  2525.                         }
  2526.                         else
  2527.                         {
  2528.                             if (!\$('#observaciones').val())
  2529.                             {
  2530.                                 ok=false;
  2531.                                 msg = 'Debe indicar las observaciones acerca del rechazo';
  2532.                             }
  2533.                             else
  2534.                             {
  2535.                                 if (!(\$('#volverEste').prop('checked') || \$('#volverProximo').prop('checked') || \$('#volverNunca').prop('checked')))
  2536.                                 {
  2537.                                     ok=false;
  2538.                                     msg = 'Debe indicar cuando el aspirante puede volver a presentarse';
  2539.                                 }
  2540.                             }
  2541.                         }
  2542.                     }
  2543.                     else
  2544.                     {
  2545.                         ok=false;
  2546.                         msg = 'Debe indicar un resultado del proceso';
  2547.                     }
  2548.                 }
  2549.                 if (ok)
  2550.                 {
  2551.                     \$('#divResultado').mask('&nbsp;&nbsp;&nbsp;&nbsp;Terminando proceso...');
  2552.                     \$('#form_resultados').ajaxSubmit({
  2553.                         type: \$('#form_resultados').attr('method'),
  2554.                         url: \$('#form_resultados').attr('action'),
  2555.                         dataType: 'json',
  2556.                         data: { _xml_http_request: true },
  2557.                         success: function(data) {
  2558.                             if (data.ok)
  2559.                             {  
  2560.                                 if (data.fullMasculino || data.fullFemenino)
  2561.                                 {
  2562.                                     var genero='';
  2563.                                     if (data.fullMasculino)
  2564.                                         genero = 'masculino';
  2565.                                     else
  2566.                                         genero = 'femenino';
  2567.                                     jConfirm('Asignación exitosa. Con esta asignación se ha alcanzado el cupo '+genero+' de la unidad. ¿Desea ver la nómina de los asignados a la unidad?', 'Alerta', 
  2568.                                         function(r) {
  2569.                                             if (r) {
  2570.                                                 var url = '{{ path('ajax_nominaPDF', {'proceso': entity.procesoRegistro.id, 'unidad':'__UNIDAD__'}) }}';
  2571.                                                 url = url.replace('__UNIDAD__', data.unidadId);
  2572.                                                 \$.ajax({
  2573.                                                    type: \"GET\",                              
  2574.                                                    url:  url,
  2575.                                                    //dataType: 'html',
  2576.                                                    //data: { _xml_http_request: true },
  2577.                                                    success: function(data){
  2578.                                                         var mio=0;
  2579.                                                         window.open('{{ path('exportar_reporte_PDF', {'routeClassName': 'listaasignacionunidad'}) }}', '_blank');
  2580.                                                         document.location.reload();
  2581.                                                    }
  2582.                                     });
  2583.                                 }
  2584.                                     });
  2585.                                 }
  2586.                                 else
  2587.                                     document.location.reload();
  2588.                             }
  2589.                             else
  2590.                             {
  2591.                                 \$('#divResultado').unmask();
  2592.                                 showError(bootbox, data.msg);
  2593.                             }
  2594.                         }
  2595.                     })
  2596.                 }
  2597.                 else
  2598.                 {
  2599.                     showError(bootbox, msg);
  2600.                 }
  2601.             }); 
  2602.             \$( \"#dialog-verify-email\" ).dialog({
  2603.                 autoOpen: false,
  2604.                 height: 310,
  2605.                 width: 400,
  2606.                 modal: true,
  2607.                 resizable: false,
  2608.                 title_html: true,
  2609.                 title: '<div id=\"texto\" class=\"widget-header widget-header-small\"><h4 class=\"smaller red\"><i class=\"fas fa-globe\"></i>&nbsp;Verificar correo electrónico</h4></div>',
  2610.                 buttons: {
  2611.                     Aceptar: function() {
  2612.                         \$('#dialog-verify-email').parent().mask('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Verificando código...');
  2613.                         \$('#form_verify_email_code').ajaxSubmit({
  2614.                             type: \$('#form_verify_email_code').attr('method'),
  2615.                             url: \$('#form_verify_email_code').attr('action'),
  2616.                             dataType: 'json',
  2617.                             data: { _xml_http_request: true },
  2618.                             success: function(data) {
  2619.                                 \$('#dialog-verify-email').parent().unmask();
  2620.                                 if (data.ok)
  2621.                                 {  
  2622.                                     \$( \"#dialog-verify-email\" ).dialog( \"close\" );
  2623.                                      quickUpdate(inputEmail);
  2624.                                 }
  2625.                                 else
  2626.                                 {
  2627.                                     showError(bootbox, data.msg);
  2628.                                 }
  2629.                             }
  2630.                         });
  2631.                     },
  2632.                     Cancelar: function() {
  2633.                         \$( \"#dialog-verify-email\" ).dialog( \"close\" );
  2634.                     }
  2635.                 }
  2636.             });
  2637.         
  2638.             \$( \"#dialog-change-canton\" ).dialog({
  2639.                 autoOpen: false,
  2640.                 height: 310,
  2641.                 width: 400,
  2642.                 modal: true,
  2643.                 resizable: false,
  2644.                 title_html: true,
  2645.                 title: '<div id=\"texto\" class=\"widget-header widget-header-small\"><h4 class=\"smaller red\"><i class=\"fas fa-globe\"></i>&nbsp;Modificar lugar de residencia</h4></div>',
  2646.                 buttons: {
  2647.                     Aceptar: function() {
  2648.                         \$('#dialog-change-canton').parent().mask('&nbsp;&nbsp;&nbsp;&nbsp;Guardando...');
  2649.                         \$('#quick_form_association_class').val('NmclDominioLocalizacion');
  2650.                         \$('#quick_form_class').val('ReservistaProceso');
  2651.                         \$('#quick_form_id').val('{{ entity.id }}');
  2652.                         \$('#quick_form_field').val('lugarResidencia');
  2653.                         \$('#quick_input_valor').val(\$( \"#form_parroquia\" ).val());                        
  2654.                         
  2655.                         quickUpdateCanton();
  2656.                     },
  2657.                     Cancelar: function() {
  2658.                         \$(\"#dialog-change-canton\").dialog(\"close\");
  2659.                     }
  2660.                 }
  2661.             });
  2662.             
  2663.             \$('.quick_update_input').keyup(function(){
  2664.                 var td = \$(this).parent();
  2665.                 var input = td.find('input');
  2666.                 var newValue = input.val();
  2667.                 var actualValue = input.attr('actualvalue');
  2668.                 if (newValue !== actualValue)
  2669.                 {
  2670.                     td.find('button').removeClass('hide');
  2671.                 }
  2672.                 else
  2673.                 {
  2674.                     td.find('button').addClass('hide');
  2675.                 }
  2676.             });
  2677.             
  2678.             \$('.quick_update_input_cancel').click(function(){
  2679.                 var td = \$(this).parent();
  2680.                 var input = td.find('input');
  2681.                 var actualValue = input.attr('actualvalue');
  2682.                 input.val(actualValue);
  2683.                 td.find('button').addClass('hide');
  2684.             });
  2685.             
  2686.             \$('.quick_update_input_save').click(function(){
  2687.                 var td = \$(this).parent();
  2688.                 var input = td.find('input');
  2689.                 
  2690.                 \$('#quick_form_association_class').val('');
  2691.                 \$('#quick_form_class').val(input.attr('classname'));
  2692.                 \$('#quick_form_id').val(input.attr('entityid'));
  2693.                 \$('#quick_form_field').val(input.attr('field'));
  2694.                 \$('#quick_input_valor').val(input.val());
  2695.                 if (\$('#quick_form_field').val()==='email')
  2696.                 {
  2697.                     if (validEmail(input.val()))
  2698.                     {
  2699.                         inputEmail = input;
  2700.                         verificaEmail(input.val());
  2701.                     }
  2702.                     else
  2703.                     {
  2704.                         showError(bootbox, 'Formato de correo electrónico incorrecto');
  2705.                     }
  2706.                 }
  2707.                 else
  2708.                 {
  2709.                     quickUpdate(input);
  2710.                 }
  2711.             });
  2712.             
  2713.             \$('.quick_update_select').change(function(){
  2714.                 var td = \$(this).parent();
  2715.                 var input = td.find('select');
  2716.                 var newValue = input.val();
  2717.                 var actualValue = input.attr('actualvalue');
  2718.                 if (newValue !== actualValue)
  2719.                 {
  2720.                     td.find('button').removeClass('hide');
  2721.                 }
  2722.                 else
  2723.                 {
  2724.                     td.find('button').addClass('hide');
  2725.                 }
  2726.             });
  2727.         
  2728.             \$('.quick_update_select_cancel').click(function(){
  2729.                 var td = \$(this).parent();
  2730.                 var input = td.find('select');
  2731.                 var actualValue = input.attr('actualvalue');
  2732.                 input.val(actualValue);
  2733.                 td.find('button').addClass('hide');
  2734.             });
  2735.             
  2736.             \$('.quick_update_select_save').click(function(){
  2737.                 var td = \$(this).parent();
  2738.                 var input = td.find('select');
  2739.                 
  2740.                 \$('#quick_form_association_class').val(input.attr('association'));
  2741.                 \$('#quick_form_class').val(input.attr('classname'));
  2742.                 \$('#quick_form_id').val(input.attr('entityid'));
  2743.                 \$('#quick_form_field').val(input.attr('field'));
  2744.                 \$('#quick_input_valor').val(input.val());
  2745.                 quickUpdate(input);
  2746.             });
  2747.             
  2748.             \$('#quick_update_canton').click(function(){
  2749.                 \$('#form_region').val(\$('#inforegion').attr('regionid'));
  2750.                 \$('#form_provincia').val(\$('#infoprovincia').attr('provinciaid'));
  2751.                 \$('#form_canton').val(\$('#infocanton').attr('cantonid'));
  2752.                 \$('#form_parroquia').val(\$('#infolugarResidencia').attr('parroquiaid'));
  2753.                 \$('#dialog-change-canton').dialog ('open');
  2754.             });
  2755.             \$('#addDestreza').click(function(){
  2756.                 
  2757.                 if (\$('option.option_destreza:not(.hide)').length>0)
  2758.                 {
  2759.                     var tr = \$('#tablaDestrezas').find('thead').find('tr.patron');
  2760.                     tr='<tr>'+tr.html()+'</tr>';
  2761.                     \$('#tablaDestrezas').find('tbody').prepend(tr);
  2762.                     tr = \$('#tablaDestrezas').find('tbody').find('tr').first();
  2763.                     tr.find('.select-destreza').change();
  2764.                 }
  2765.             });
  2766.             
  2767.             \$('#addEstudio').click(function(){
  2768.                 
  2769.                 var tr = \$('#tablaEstudios').find('thead').find('tr.patron');
  2770.                 tr='<tr>'+tr.html()+'</tr>';
  2771.                 \$('#tablaEstudios').find('tbody').prepend(tr);
  2772.                 
  2773.                 tr = \$('#tablaEstudios').find('tbody').find('tr').first();
  2774.                 tr.find('.date-picker').addClass('unset');
  2775.                 setDatePicker();
  2776.             });
  2777.             
  2778.             \$('#btn_verificar_estudios').click(function(e){
  2779.                 e.preventDefault();
  2780.                 \$('#table_estudios').parent().parent().mask('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Verificando estudios...');
  2781.                 var url = '{{ path('reservista_verifica_estudios', {'identificacion': entity.reservista.identificacion }) }}';
  2782.                 \$.getJSON(url , function(result){
  2783.                     \$('#table_estudios').parent().parent().unmask();
  2784.                     if (result.ok)
  2785.                     {
  2786.                         \$('#table_estudios tbody').html('');
  2787.                         var flen = result.estudios.length;
  2788.                         if (flen>0)
  2789.                         {
  2790.                             var i;
  2791.                             for (i=0; i<flen; i++)
  2792.                             {
  2793.                                 \$('#table_estudios tbody').append('<tr><td>'+result.estudios[i].institucion+'</td><td>'+result.estudios[i].titulo+'</td></tr>');
  2794.                             }
  2795.                         }
  2796.                         else
  2797.                         {
  2798.                             \$('#table_estudios tbody').append('<tr><td colspan=\"3\" style=\"text-align: center\">No hay estudios registrados</td></tr>');
  2799.                         }
  2800.                     }
  2801.                 });
  2802.             });
  2803.             
  2804.             cleanDestrezasOptions();
  2805.             
  2806.             setDatePicker();
  2807.         });
  2808.         
  2809.         function setDatePicker()
  2810.         {
  2811.             \$('.date-picker.unset').each(function(){
  2812.                 \$(this).datepicker({
  2813.                     autoclose: true,
  2814.                     todayHighlight: true,
  2815.                     language: 'es'
  2816.                 })
  2817.                 .next().on(ace.click_event, function(){
  2818.                     \$(this).prev().focus();
  2819.                 });
  2820.                 \$(this).removeClass('unset');
  2821.             });
  2822.         }
  2823.         
  2824.         function destrezaCancel(elem)
  2825.         {
  2826.             var tr = \$(elem).parent().parent();
  2827.             var select = tr.find('select');
  2828.             var input = tr.find('input');
  2829.             var textarea = tr.find('textarea');
  2830.             if (select.val() !== select.attr('actualvalue'))
  2831.             {
  2832.                 select.val(select.attr('actualvalue'));
  2833.                 select.change();
  2834.             }
  2835.             if (input.val() !== input.attr('actualvalue'))
  2836.             {
  2837.                 input.val(input.attr('actualvalue'));
  2838.             }
  2839.             if (textarea.val() !== textarea.attr('actualvalue'))
  2840.             {
  2841.                 textarea.val(textarea.attr('actualvalue'));
  2842.             }
  2843.             tr.find('.button').addClass('hide');
  2844.         };
  2845.             
  2846.         function destrezaDelete(elem)
  2847.         {
  2848.             if (confirm('Está seguro que va a eliminar la destreza'))
  2849.             {
  2850.                 var tr = \$(elem).parent().parent();
  2851.                 var id = tr.attr('destrezaid');
  2852.                 if (id)
  2853.                 {
  2854.                     var url=\"{{ path('crud_quick_delete', {'id': '__ID__', 'className': 'ReservistaDestreza'}) }}\";
  2855.                     url = url.replace('__ID__', id);
  2856.                     tr.mask('&nbsp;&nbsp;&nbsp;&nbsp;Eliminando...');
  2857.                     \$.getJSON(url , function(result){
  2858.                         if (result.ok)
  2859.                         {
  2860.                             tr.remove();
  2861.                             cleanDestrezasOptions();
  2862.                         }
  2863.                         else
  2864.                         {
  2865.                             tr.unmask();
  2866.                             showError(bootbox, result.msg);
  2867.                         }
  2868.                     });
  2869.                 }
  2870.                 else
  2871.                 {
  2872.                     tr.remove();
  2873.                     cleanDestrezasOptions();
  2874.                 }
  2875.             }
  2876.         }
  2877.         
  2878.         function destrezaSave(elem)
  2879.         {
  2880.             var tr = \$(elem).parent().parent();
  2881.             var select = tr.find('select');
  2882.             var input = tr.find('input');
  2883.             var textarea = tr.find('textarea');
  2884.             
  2885.             \$('#quick_form_destreza').val(select.val());
  2886.             \$('#quick_form_tiempo').val(input.val());
  2887.             \$('#quick_form_detalle').val(textarea.val());
  2888.             
  2889.             tr.mask('&nbsp;&nbsp;&nbsp;&nbsp;Guardando...');
  2890.             \$('#formDestrezaSave').ajaxSubmit({
  2891.                 type: \$('#formDestrezaSave').attr('method'),
  2892.                 url: \$('#formDestrezaSave').attr('action'),
  2893.                 dataType: 'json',
  2894.                 data: { _xml_http_request: true },
  2895.                 success: function(data) {
  2896.                     tr.unmask();
  2897.                     if (data.ok)
  2898.                     {
  2899.                         tr.attr('destrezaid',data.id);
  2900.                         select.attr('actualvalue', select.val());
  2901.                         select.prop('disabled', true);
  2902.                         input.attr('actualvalue', input.val());
  2903.                         textarea.attr('actualvalue', textarea.val());
  2904.                         tr.find('.button').addClass('hide');
  2905.                     }
  2906.                     else
  2907.                     {
  2908.                         showError(bootbox, data.msg);
  2909.                     }
  2910.                 }
  2911.             });
  2912.         }
  2913.         
  2914.         function cleanDestrezasOptions()
  2915.         {
  2916.             \$('option.option_destreza').removeClass('hide');
  2917.             \$('#tablaDestrezas').children('tbody').find('.select-destreza').each(function(){
  2918.                 var value = \$(this).val();
  2919.                 if (value)
  2920.                 {
  2921.                     \$('option.destreza_'+value).addClass('hide');
  2922.                 }
  2923.             });
  2924.             
  2925.         }
  2926.         
  2927.         function estudioCancel(elem)
  2928.         {
  2929.             var tr = \$(elem).parent().parent();
  2930.             var titulo = tr.find('input.estudio_titulo');
  2931.             var institucion = tr.find('input.estudio_institucion');
  2932.             var nivel = tr.find('select.estudio_nivel');
  2933.             var cursando = tr.find('select.estudio_cursando');
  2934.             var fecha = tr.find('input.estudio_fecha');
  2935.             titulo.val(titulo.attr('actualvalue'));
  2936.             institucion.val(institucion.attr('actualvalue'));
  2937.             nivel.val(nivel.attr('actualvalue'));
  2938.             cursando.val(cursando.attr('actualvalue'));
  2939.             fecha.val(fecha.attr('actualvalue'));
  2940.             if (cursando.val()==='YES')
  2941.             {
  2942.                 fecha.parent().addClass('hide');
  2943.             }
  2944.             else
  2945.             {
  2946.                 fecha.parent().removeClass('hide');
  2947.             }
  2948.             tr.find('.button').addClass('hide');
  2949.         };
  2950.             
  2951.         function estudioDelete(elem)
  2952.         {
  2953.             if (confirm('Está seguro que va a eliminar el estudio'))
  2954.             {
  2955.                 var tr = \$(elem).parent().parent();
  2956.                 var id = tr.attr('estudioid');
  2957.                 if (id)
  2958.                 {
  2959.                     var url=\"{{ path('crud_quick_delete', {'id': '__ID__', 'className': 'ReservistaEstudio'}) }}\";
  2960.                     url = url.replace('__ID__', id);
  2961.                     tr.mask('&nbsp;&nbsp;&nbsp;&nbsp;Eliminando...');
  2962.                     \$.getJSON(url , function(result){
  2963.                         if (result.ok)
  2964.                         {
  2965.                             tr.remove();
  2966.                         }
  2967.                         else
  2968.                         {
  2969.                             tr.unmask();
  2970.                             showError(bootbox, result.msg);
  2971.                         }
  2972.                     });
  2973.                 }
  2974.                 else
  2975.                 {
  2976.                     tr.remove();
  2977.                 }
  2978.             }
  2979.         }
  2980.         
  2981.         function estudioSave(elem)
  2982.         {
  2983.             var tr = \$(elem).parent().parent();
  2984.             var id = tr.attr('estudioid');
  2985.             if (id)
  2986.             {
  2987.                 \$('#quick_form_habilidad_id').val(id);
  2988.             }
  2989.             else
  2990.             {
  2991.                 \$('#quick_form_habilidad_id').val('');
  2992.             }                
  2993.             var titulo = tr.find('input.estudio_titulo');
  2994.             var institucion = tr.find('input.estudio_institucion');
  2995.             var nivel = tr.find('select.estudio_nivel');
  2996.             var cursando = tr.find('select.estudio_cursando');
  2997.             var fecha = tr.find('input.estudio_fecha');
  2998.             
  2999.             if (!titulo.val() || !institucion.val() || !nivel.val() ||  !cursando.val() || (cursando.val()=='NO' && !fecha.val()))
  3000.             {
  3001.                 showError(bootbox, 'Debe indicar toda la información sobre el estudio cursado');
  3002.                 return;
  3003.             }
  3004.             \$('#quick_form_habilidad_titulo').val(titulo.val());
  3005.             \$('#quick_form_habilidad_institucion').val(institucion.val());
  3006.             \$('#quick_form_habilidad_nivel').val(nivel.val());
  3007.             \$('#quick_form_habilidad_cursando').val(cursando.val());
  3008.             \$('#quick_form_habilidad_fecha').val(fecha.val());
  3009.                
  3010.             tr.mask('&nbsp;&nbsp;&nbsp;&nbsp;Guardando...');
  3011.             \$('#formEstudioSave').ajaxSubmit({
  3012.                 type: \$('#formEstudioSave').attr('method'),
  3013.                 url: \$('#formEstudioSave').attr('action'),
  3014.                 dataType: 'json',
  3015.                 data: { _xml_http_request: true },
  3016.                 success: function(data) {
  3017.                     tr.unmask();
  3018.                     if (data.ok)
  3019.                     {
  3020.                         tr.attr('estudioid',data.id);     
  3021.                         titulo.attr('actualvalue', titulo.val());
  3022.                         institucion.attr('actualvalue', institucion.val());
  3023.                         nivel.attr('actualvalue', nivel.val());
  3024.                         cursando.attr('actualvalue', cursando.val());
  3025.                         fecha.attr('actualvalue', fecha.val());
  3026.                         tr.find('.button').addClass('hide');
  3027.                     }
  3028.                     else
  3029.                     {
  3030.                         showError(bootbox, data.msg);
  3031.                     }
  3032.                 }
  3033.             });
  3034.         }
  3035.         function validEmail(email)
  3036.         {
  3037.             var filter = /^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9_\\.\\-])+\\.)+([a-zA-Z0-9]{2,4})+\$/;
  3038.              return filter.test(email);
  3039.         }
  3040.         
  3041.         function verificaEmail(email)
  3042.         {
  3043.             inputEmail.parent().mask('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Verificando correo electrónico...');
  3044.             \$('#verify_email').val(email);
  3045.             \$('#text_email').html(email);
  3046.             \$('#form_verify_email').ajaxSubmit({
  3047.                 type: \$('#form_verify_email').attr('method'),
  3048.                 url: \$('#form_verify_email').attr('action'),
  3049.                 dataType: 'json',
  3050.                 data: { _xml_http_request: true },
  3051.                 success: function(data) {
  3052.                     inputEmail.parent().unmask();
  3053.                     if (data.ok)
  3054.                     {  
  3055.                         \$('#dialog-verify-email').dialog('open');
  3056.                     }
  3057.                     else
  3058.                     {
  3059.                         showError(bootbox, data.msg);
  3060.                     }
  3061.                 }
  3062.             });
  3063.         }
  3064.         
  3065.         function quickUpdate(input)
  3066.         {
  3067.             input.parent().mask('&nbsp;&nbsp;&nbsp;&nbsp;Guardando...');
  3068.             var newValue = input.val();
  3069.             var actualValue = input.attr('actualvalue');
  3070.             \$('#formQuickUpdate').ajaxSubmit({
  3071.                 type: \$('#formQuickUpdate').attr('method'),
  3072.                 url: \$('#formQuickUpdate').attr('action'),
  3073.                 dataType: 'json',
  3074.                 data: { _xml_http_request: true },
  3075.                 success: function(data) {
  3076.                     input.parent().unmask();
  3077.                     if (data.ok)
  3078.                     {
  3079.                         if (\$('#quick_form_field').val()=='paisResidencia' && (actualValue.toLowerCase()=='ecuador' || newValue.toLowerCase()=='ecuador'))
  3080.                         {
  3081.                             \$('.ecuador').toggleClass('hide'); 
  3082.                         }
  3083.                         input.attr('actualvalue', newValue);
  3084.                         input.parent().find('button').addClass('hide');
  3085.                     }
  3086.                     else
  3087.                     {
  3088.                         showError(bootbox, data.msg);
  3089.                     }
  3090.                 }
  3091.             });
  3092.         }
  3093.                        
  3094.         function quickUpdateCanton()
  3095.         {
  3096.             \$('#formQuickUpdate').ajaxSubmit({
  3097.                 type: \$('#formQuickUpdate').attr('method'),
  3098.                 url: \$('#formQuickUpdate').attr('action'),
  3099.                 dataType: 'json',
  3100.                 data: { _xml_http_request: true },
  3101.                 success: function(data) {
  3102.                     \$('#dialog-change-canton').parent().mask('&nbsp;&nbsp;&nbsp;&nbsp;Guardando...');
  3103.                     if (data.ok)
  3104.                     {
  3105.                         \$('#inforegion').html(\$( \"#form_region option:selected\" ).text());
  3106.                         \$('#inforegion').attr('regionid', \$( \"#form_region\" ).val());
  3107.                         \$('#infoprovincia').html(\$( \"#form_provincia option:selected\" ).text());
  3108.                         \$('#infoprovincia').attr('provinciaid', \$( \"#form_provincia\" ).val());
  3109.                         \$('#infocanton').html(\$( \"#form_canton option:selected\" ).text());
  3110.                         \$('#infocanton').attr('cantonid', \$( \"#form_canton\" ).val());
  3111.                         \$('#infolugarResidencia').html(\$( \"#form_parroquia option:selected\" ).text());
  3112.                         \$('#infolugarResidencia').attr('parroquiaid', \$( \"#form_parroquia\" ).val());
  3113.                         \$( \"#dialog-change-canton\" ).dialog(\"close\");
  3114.                     }
  3115.                     else
  3116.                     {
  3117.                         showError(bootbox, data.msg);
  3118.                     }
  3119.                 }
  3120.             });
  3121.         }
  3122.                                               
  3123.         function selectDestrezaChange(select)
  3124.         {
  3125.             var lastValue=\$(select).attr('lastValue');
  3126.             var value = \$(select).val();
  3127.             if (!value && lastValue)
  3128.             {
  3129.                 \$(select).val(lastValue);
  3130.             }
  3131.             else
  3132.             if (value)
  3133.             {
  3134.                 \$('option.destreza_'+lastValue).removeClass('hide');
  3135.                 \$(select).attr('lastValue', value);
  3136.                 \$('option.destreza_'+value).addClass('hide');
  3137.             }
  3138.             destrezaChange(select)
  3139.         }
  3140.         
  3141.         function destrezaChange(elem)
  3142.         {
  3143.             var tr = \$(elem).parent().parent();
  3144.             var select = tr.find('select');
  3145.             var input = tr.find('input');
  3146.             var textarea = tr.find('textarea');
  3147.             if (select.val() !== select.attr('actualvalue') ||
  3148.                 input.val() !== input.attr('actualvalue') ||
  3149.                 textarea.val() !== textarea.attr('actualvalue'))
  3150.             {
  3151.                 tr.find('.button').removeClass('hide');
  3152.             }
  3153.             else
  3154.             {
  3155.                 tr.find('.button').addClass('hide');
  3156.             }
  3157.             
  3158.         }
  3159.                                                 
  3160.         function estudioChange(elem)
  3161.         {
  3162.             var tr = \$(elem).parent().parent();
  3163.             if (\$(elem).hasClass('estudio_fecha'))
  3164.             {
  3165.                 tr = tr.parent();
  3166.             }
  3167.             var titulo = tr.find('input.estudio_titulo');
  3168.             var institucion = tr.find('input.estudio_institucion');
  3169.             var nivel = tr.find('select.estudio_nivel');
  3170.             var cursando = tr.find('select.estudio_cursando');
  3171.             var fecha = tr.find('input.estudio_fecha');
  3172.             if (\$(elem).hasClass('estudio_cursando'))
  3173.             {
  3174.                 if (cursando.val()==='YES')
  3175.                 {
  3176.                     fecha.parent().addClass('hide');
  3177.                 }
  3178.                 else
  3179.                 {
  3180.                     fecha.parent().removeClass('hide');
  3181.                 }
  3182.                 fecha.val(fecha.attr('actualvalue'));
  3183.             }
  3184.             if (titulo.val() !== titulo.attr('actualvalue') ||
  3185.                 institucion.val() !== institucion.attr('actualvalue') ||
  3186.                 nivel.val() !== nivel.attr('actualvalue') ||
  3187.                 cursando.val() !== cursando.attr('actualvalue') ||
  3188.                 fecha.val() !== fecha.attr('actualvalue'))
  3189.             {
  3190.                 tr.find('.button').removeClass('hide');
  3191.             }
  3192.             else
  3193.             {
  3194.                 tr.find('.button').addClass('hide');
  3195.             }
  3196.         }
  3197.                                                                     
  3198.         {% include 'RegionProvinciaCantonParroquia\\\\jquery_functions.html.twig' with {'distintivo': '', 'parroquiaField': 'parroquia'} %}
  3199.     </script>    
  3200.         
  3201. {% endblock %}
  3202. {% block principal_heading %}
  3203.     <div class=\"widget-header widget-header-flat\">
  3204.         <h4 class=\"widget-title lighter\">
  3205.             <i class=\"fas fa-search orange\"></i>
  3206.             Visualización del reservista
  3207.         </h4>
  3208.     <!--div class=\"widget-toolbar\">
  3209.         <a href=\"#\" data-action=\"collapse\">
  3210.             <i class=\"fas fa-chevron-up\"></i>
  3211.         </a>
  3212.     </div-->
  3213.     </div>
  3214. {% endblock %}
  3215. {% block showdata %}
  3216.     {% block prev_acuartelamiento %}        
  3217.     {% endblock prev_acuartelamiento %} 
  3218.                         
  3219.     {{ render(controller('App\\\\Crud\\\\Controller\\\\crudPlainController::showAction', {'rol': rol, 'routeClassName':'reservista', 'id':entity.reservista.id, 'parentRouteClassName':routeClassName })) }}
  3220.     
  3221.     <div class=\"panel panel-default\">
  3222.         <div class=\"panel-heading\">
  3223.             <h4 class=\"panel-title green\">
  3224.                 <a id=\"atab-1\" aria-expanded=\"true\" class=\"accordion-toggle\" data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#datosDisponibilidad\">
  3225.                     <i class=\"bigger-160 ace-icon fa fa-check-square\" data-icon-hide=\"ace-icon fa fa-angle-down\" data-icon-show=\"ace-icon fa fa-angle-right\"></i>
  3226.                     &nbsp;Disponibilidad
  3227.                 </a>
  3228.             </h4>
  3229.         </div>
  3230.         <div style=\"\" aria-expanded=\"true\" class=\"panel-collapse collapse in \" id=\"datosDisponibilidad\">
  3231.             <div class=\"panel-body\" style=\"border-width: 1px; border-color: red\">
  3232.                 <div class=\"row\">
  3233.                     <div class=\"col-xs-12 col-sm-6\">
  3234.                         <table class=\"table table-striped table-bordered table-hover\">
  3235.                             <tr>
  3236.                                 <th style=\"width: {{ widthLabel }}\">
  3237.                                     <label>
  3238.                                         Actividad actual
  3239.                                     </label>
  3240.                                 </th>
  3241.                                 <td>
  3242.                                     {% if rol=='reservista' and (tab is not defined or tab != 'registro')  %}
  3243.                                         <select style=\"width: 100%\" class=\"chosen-select quick_update_select\" classname=\"ReservistaProceso\" entityid=\"{{ entity.id }}\" field=\"disponibilidad\" association=\"\" actualvalue=\"{{ entity.disponibilidad }}\">
  3244.                                             <option value=\"\">--- Seleccione ---</option>
  3245.                                             {% for key,actividad in actividades %}
  3246.                                                 <option value=\"{{ key }}\" {% if key == entity.disponibilidad %}selected=\"true\"{% endif %}>{{ actividad }}</option>
  3247.                                             {% endfor %}
  3248.                                         </select>
  3249.                                         <button class=\"hide quick_update_select_save\"><i class=\"fas fa-save\"></i></button>
  3250.                                         <button class=\"hide quick_update_select_cancel\"><i class=\"fas fa-ban red\"></i></button>
  3251.                                     {% else %}
  3252.                                         {{ entity.actividad }}
  3253.                                     {% endif %}
  3254.                                 </td>                
  3255.                             </tr>
  3256.                         </table>
  3257.                     </div>
  3258.                     <div class=\"col-xs-12 col-sm-6\">
  3259.                         <table class=\"table table-striped table-bordered table-hover\">
  3260.                             <tr>
  3261.                                 <th style=\"width: {{ widthLabel }}\">
  3262.                                     <label>
  3263.                                         En caso de emergencia puede estar disponible en
  3264.                                     </label>
  3265.                                 </th>
  3266.                                 <td>
  3267.                                     {% if rol=='reservista' and (tab is not defined or tab != 'registro')  %}
  3268.                                         <select style=\"width: 100%\" class=\"chosen-select quick_update_select\" classname=\"ReservistaProceso\" entityid=\"{{ entity.id }}\" field=\"disponibilidad\" association=\"\" actualvalue=\"{{ entity.disponibilidad }}\">
  3269.                                             <option value=\"\">--- Seleccione ---</option>
  3270.                                             {% for key,disponibilidad in disponibilidades %}
  3271.                                                 <option value=\"{{ key }}\" {% if key == entity.disponibilidad %}selected=\"true\"{% endif %}>{{ disponibilidad }}</option>
  3272.                                             {% endfor %}
  3273.                                         </select>
  3274.                                         <button class=\"hide quick_update_select_save\"><i class=\"fas fa-save\"></i></button>
  3275.                                         <button class=\"hide quick_update_select_cancel\"><i class=\"fas fa-ban red\"></i></button>
  3276.                                     {% else %}
  3277.                                         {{ entity.disponibilidad }}
  3278.                                     {% endif %}
  3279.                                 </td>                
  3280.                             </tr>            
  3281.                         </table>
  3282.                     </div> 
  3283.                 </div> 
  3284.             </div> 
  3285.        </div>
  3286.    </div>
  3287.                 
  3288.     <div class=\"panel panel-default\">
  3289.         <div class=\"panel-heading\">
  3290.             <h4 class=\"panel-title green\">
  3291.                 <a id=\"atab-1\" aria-expanded=\"true\" class=\"accordion-toggle\" data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#datosCentro\">
  3292.                     <i class=\"bigger-160 ace-icon fa fa-calendar\" data-icon-hide=\"ace-icon fa fa-angle-down\" data-icon-show=\"ace-icon fa fa-angle-right\"></i>
  3293.                     &nbsp;{% trans from 'crud' %} registroenlinea.fields.centroMovilizacionTitle {% endtrans %}
  3294.                 </a>
  3295.             </h4>
  3296.         </div>
  3297.         <div style=\"\" aria-expanded=\"true\" class=\"panel-collapse collapse in \" id=\"datosCentro\">
  3298.             <div class=\"panel-body\" style=\"border-width: 1px; border-color: red\">
  3299.                 <table width=\"100%\" class=\"table table-striped table-bordered table-hover pdffont\">
  3300.                     <tr>
  3301.                         <th style=\"width: {{ widthLabel }}\">
  3302.                             <label>
  3303.                                 {% trans from 'crud' %} registroenlinea.fields.centroMovilizacionPresentarse {% endtrans %}
  3304.                             </label>
  3305.                         </th>
  3306.                         <td>
  3307.                             {% if rol=='reservista' and (tab is not defined or tab != 'registro')  %}
  3308.                                 <select id='quick_form_centro' style=\"width: 100%\" class=\"chosen-select quick_update_select\" classname=\"ReservistaProceso\" entityid=\"{{ entity.id }}\" field=\"centroMovilizacion\" association=\"CentroMovilizacion\" actualvalue=\"{{ entity.centroMovilizacion.id }}\">
  3309.                                     {% for centro in centros %}
  3310.                                         <option value=\"{{ centro.id }}\" {% if centro.id == entity.centroMovilizacion.id %}selected=\"true\"{% endif %}>{{ centro }}</option>
  3311.                                     {% endfor %}
  3312.                                 </select>
  3313.                                 <button class=\"hide quick_update_select_save\"><i class=\"fas fa-save\"></i></button>
  3314.                                 <button class=\"hide quick_update_select_cancel\"><i class=\"fas fa-ban red\"></i></button>
  3315.                             {% else %}
  3316.                                 {{ entity.centroMovilizacion.id }}
  3317.                             {% endif %}
  3318.                         </td>                
  3319.                     </tr>            
  3320.                 </table>
  3321.             </div> 
  3322.        </div>
  3323.    </div>
  3324.                 
  3325.     <div class=\"panel panel-default\">
  3326.         <div class=\"panel-heading\">
  3327.             <h4 class=\"panel-title green\">
  3328.                 <a id=\"atab-1\" aria-expanded=\"true\" class=\"accordion-toggle\" data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#datosResidencia\">
  3329.                     <i class=\"bigger-160 ace-icon fa fa-home \" data-icon-hide=\"ace-icon fa fa-angle-down\" data-icon-show=\"ace-icon fa fa-angle-right\"></i>
  3330.                     &nbsp;Lugar de residencia
  3331.                 </a>
  3332.             </h4>
  3333.         </div>
  3334.         <div style=\"\" aria-expanded=\"true\" class=\"panel-collapse collapse in \" id=\"datosResidencia\">
  3335.             <div class=\"panel-body\" style=\"border-width: 1px; border-color: red\">
  3336.                 <div class=\"row\">
  3337.                     <div class=\"col-xs-12 col-sm-6\">
  3338.                         <table class=\"table table-striped table-bordered table-hover\">
  3339.                             <tr>
  3340.                                 <th style=\"width: {{ widthLabel }}\">
  3341.                                     <label>
  3342.                                         {% trans from 'crud' %} reclutaproceso.fields.paisResidencia {% endtrans %}
  3343.                                     </label>
  3344.                                 </th>
  3345.                                 <td>
  3346.                                     {% if rol=='reservista' and (tab is not defined or tab != 'registro')  %}
  3347.                                         <input type=\"text\" style=\"width:100%\" class=\"quick_update_input\" classname=\"ReservistaProceso\" entityid=\"{{ entity.id }}\" field=\"paisResidencia\" value=\"{{ entity.paisResidencia }}\" actualvalue=\"{{ entity.paisResidencia }}\">
  3348.                                         <button class=\"hide quick_update_input_save\"><i class=\"fas fa-save\"></i></button>
  3349.                                         <button class=\"hide quick_update_input_cancel\"><i class=\"fas fa-ban red\"></i></button>
  3350.                                     {% else %}
  3351.                                         {{ entity.paisResidencia }}
  3352.                                     {% endif %}
  3353.                                 </td>
  3354.                             </tr>
  3355.                             <tr class=\"ecuador {% if entity.paisResidencia!='Ecuador' %}hide{% endif %}\">
  3356.                                 <th style=\"width: {{ widthLabel }}\">
  3357.                                     <label>
  3358.                                     {% trans from 'crud' %} reclutaproceso.fields.region {% endtrans %}
  3359.                                     </label>
  3360.                                 </th>
  3361.                                 <td>
  3362.                                     <span id=\"inforegion\" regionid=\"{% if entity.region %}{{ entity.region.id }}{% endif %}\">{{ entity.region }}</span>
  3363.                                 </td>
  3364.                             </tr>
  3365.                             <tr class=\"ecuador {% if entity.paisResidencia!='Ecuador' %}hide{% endif %}\">
  3366.                                 <th style=\"width: {{ widthLabel }}\">
  3367.                                     <label>
  3368.                                     {% trans from 'crud' %} reclutaproceso.fields.provincia {% endtrans %}
  3369.                                     </label>
  3370.                                 </th>
  3371.                                 <td>
  3372.                                     <span id=\"infoprovincia\" provinciaid=\"{% if entity.provincia %}{{ entity.provincia.id }}{% endif %}\">{{ entity.provincia }}</span>
  3373.                                 </td>
  3374.                             </tr>
  3375.                             <tr class=\"ecuador {% if entity.paisResidencia!='Ecuador' %}hide{% endif %}\">
  3376.                                 <th style=\"width: {{ widthLabel }}\">
  3377.                                     <label>
  3378.                                     {% trans from 'crud' %} reclutaproceso.fields.canton {% endtrans %}
  3379.                                     </label>
  3380.                                 </th>
  3381.                                 <td>
  3382.                                     <span id=\"infocanton\" cantonid=\"{% if entity.canton %}{{ entity.canton.id }}{% endif %}\">{{ entity.canton }}</span>
  3383.                                 </td>
  3384.                             </tr>
  3385.                             <tr class=\"ecuador {% if entity.paisResidencia!='Ecuador' %}hide{% endif %}\">
  3386.                                 <th style=\"width: {{ widthLabel }}\">
  3387.                                     <label>
  3388.                                     {% trans from 'crud' %} reclutaproceso.fields.lugarResidencia {% endtrans %}
  3389.                                     </label>
  3390.                                 </th>
  3391.                                 <td>
  3392.                                     <span id=\"infolugarResidencia\" parroquiaid=\"{% if entity.lugarResidencia %}{{ entity.lugarResidencia.id }}{% endif %}\">{{ entity.lugarResidencia }}</span>&nbsp;&nbsp;
  3393.                                     {% if rol=='reservista' and (tab is not defined or tab != 'registro')  %}
  3394.                                         <button id=\"quick_update_canton\" classname=\"ReservistaProceso\" entityid=\"{{ entity.id }}\" field=\"lugarResidencia\" info=\"infolugarResidencia\"><i class=\"fas fa-pen-alt\"></i></button>
  3395.                                     {% endif %}
  3396.                                 </td>
  3397.                             </tr>
  3398.                         </table>
  3399.                     </div>
  3400.                     <div class=\"col-xs-12 col-sm-6\">
  3401.                         <table class=\"table table-striped table-bordered table-hover\">
  3402.                                 <tr class=\"ecuador {% if entity.paisResidencia!='Ecuador' %}hide{% endif %}\">
  3403.                                     <th style=\"width: {{ widthLabel }}\">
  3404.                                         <label>
  3405.                                         {% trans from 'crud' %} reclutaproceso.fields.callePrincipalResidencia {% endtrans %}
  3406.                                         </label>
  3407.                                     </th>
  3408.                                     <td>
  3409.                                         {% if rol=='reservista' and (tab is not defined or tab != 'registro')  %}
  3410.                                             <input type=\"text\" style=\"width:100%\" class=\"quick_update_input\" classname=\"ReservistaProceso\" entityid=\"{{ entity.id }}\" field=\"callePrincipalResidencia\" value=\"{{ entity.callePrincipalResidencia }}\" actualvalue=\"{{ entity.callePrincipalResidencia }}\">
  3411.                                             <button class=\"hide quick_update_input_save\"><i class=\"fas fa-save\"></i></button>
  3412.                                             <button class=\"hide quick_update_input_cancel\"><i class=\"fas fa-ban red\"></i></button>
  3413.                                         {% else %}
  3414.                                             {{ entity.callePrincipalResidencia }}
  3415.                                         {% endif %}
  3416.                                     </td>
  3417.                                 </tr>
  3418.                                 <tr class=\"ecuador {% if entity.paisResidencia!='Ecuador' %}hide{% endif %}\">
  3419.                                     <th style=\"width: {{ widthLabel }}\">
  3420.                                         <label>
  3421.                                         {% trans from 'crud' %} reclutaproceso.fields.calleSecundariaResidencia {% endtrans %}
  3422.                                         </label>
  3423.                                     </th>
  3424.                                     <td>
  3425.                                         {% if rol=='reservista' and (tab is not defined or tab != 'registro')  %}
  3426.                                             <input type=\"text\" style=\"width:100%\" class=\"quick_update_input\" classname=\"ReservistaProceso\" entityid=\"{{ entity.id }}\" field=\"calleSecundariaResidencia\" value=\"{{ entity.calleSecundariaResidencia }}\" actualvalue=\"{{ entity.calleSecundariaResidencia }}\">
  3427.                                             <button class=\"hide quick_update_input_save\"><i class=\"fas fa-save\"></i></button>
  3428.                                             <button class=\"hide quick_update_input_cancel\"><i class=\"fas fa-ban red\"></i></button>
  3429.                                         {% else %}
  3430.                                             {{ entity.calleSecundariaResidencia }}
  3431.                                         {% endif %}
  3432.                                     </td>
  3433.                                 </tr>
  3434.                                 <tr class=\"ecuador {% if entity.paisResidencia!='Ecuador' %}hide{% endif %}\">
  3435.                                     <th style=\"width: {{ widthLabel }}\">
  3436.                                         <label>
  3437.                                         {% trans from 'crud' %} reclutaproceso.fields.numeroCasa {% endtrans %}
  3438.                                         </label>
  3439.                                     </th>
  3440.                                     <td>
  3441.                                         {% if rol=='reservista' and (tab is not defined or tab != 'registro')  %}
  3442.                                             <input type=\"text\" style=\"width:100%\" class=\"quick_update_input\" classname=\"ReservistaProceso\" entityid=\"{{ entity.id }}\" field=\"numeroCasa\" value=\"{{ entity.numeroCasa }}\" actualvalue=\"{{ entity.numeroCasa }}\">
  3443.                                             <button class=\"hide quick_update_input_save\"><i class=\"fas fa-save\"></i></button>
  3444.                                             <button class=\"hide quick_update_input_cancel\"><i class=\"fas fa-ban red\"></i></button>
  3445.                                         {% else %}
  3446.                                             {{ entity.numeroCasa }}
  3447.                                         {% endif %}
  3448.                                     </td>
  3449.                                 </tr>
  3450.                                 <tr class=\"ecuador {% if entity.paisResidencia!='Ecuador' %}hide{% endif %}\">
  3451.                                     <th style=\"width: {{ widthLabel }}\">
  3452.                                         <label>
  3453.                                         {% trans from 'crud' %} reclutaproceso.fields.referencias {% endtrans %}
  3454.                                         </label>
  3455.                                     </th>
  3456.                                     <td>
  3457.                                         {% if rol=='reservista' and (tab is not defined or tab != 'registro')  %}
  3458.                                             <input type=\"text\" style=\"width:100%\" class=\"quick_update_input\" classname=\"ReservistaProceso\" entityid=\"{{ entity.id }}\" field=\"referencias\" value=\"{{ entity.referencias }}\" actualvalue=\"{{ entity.referencias }}\">
  3459.                                             <button class=\"hide quick_update_input_save\"><i class=\"fas fa-save\"></i></button>
  3460.                                             <button class=\"hide quick_update_input_cancel\"><i class=\"fas fa-ban red\"></i></button>
  3461.                                         {% else %}
  3462.                                             {{ entity.referencias }}
  3463.                                         {% endif %}
  3464.                                     </td>
  3465.                                 </tr>
  3466.                                 <tr class=\"ecuador {% if entity.paisResidencia=='Ecuador' %}hide{% endif %}\">
  3467.                                     <th style=\"width: {{ widthLabel }}\">
  3468.                                         <label>
  3469.                                         {% trans from 'crud' %} reclutaproceso.fields.direccion {% endtrans %}
  3470.                                         </label>
  3471.                                     </th>
  3472.                                     <td>
  3473.                                         {% if rol=='reservista' and (tab is not defined or tab != 'registro')  %}
  3474.                                             <input type=\"text\" style=\"width:100%\" class=\"quick_update_input\" classname=\"ReservistaProceso\" entityid=\"{{ entity.id }}\" field=\"referencias\" value=\"{{ entity.referencias }}\" actualvalue=\"{{ entity.referencias }}\">
  3475.                                             <button class=\"hide quick_update_input_save\"><i class=\"fas fa-save\"></i></button>
  3476.                                             <button class=\"hide quick_update_input_cancel\"><i class=\"fas fa-ban red\"></i></button>
  3477.                                         {% else %}
  3478.                                             {{ entity.referencias }}
  3479.                                         {% endif %}
  3480.                                     </td>
  3481.                                 </tr>
  3482.                         </table>
  3483.                     </div>
  3484.                 </div>
  3485.             </div>
  3486.         </div>
  3487.     </div>
  3488.     <div class=\"panel panel-default\">
  3489.         <div class=\"panel-heading\">
  3490.             <h4 class=\"panel-title green\">
  3491.                 <a id=\"atab-1\" aria-expanded=\"true\" class=\"accordion-toggle\" data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#datosAntecedentes\">
  3492.                     <i class=\"bigger-160 ace-icon fa fa-star-of-life \" data-icon-hide=\"ace-icon fa fa-angle-down\" data-icon-show=\"ace-icon fa fa-angle-right\"></i>
  3493.                     &nbsp;Antecedentes
  3494.                 </a>
  3495.             </h4>
  3496.         </div>
  3497.         <div style=\"\" aria-expanded=\"true\" class=\"panel-collapse collapse in \" id=\"datosAntecedentes\">
  3498.             <div class=\"panel-body\" style=\"border-width: 1px; border-color: red\">
  3499.                 <div class=\"row\">
  3500.                     <div class=\"col-xs-12\">
  3501.                         <table id=\"tabla_acuartelamiento\" class=\"table table-striped table-bordered table-hover\">
  3502.                             <tr>
  3503.                                 <th style=\"width: {{ widthLabel }}\">
  3504.                                     <label>
  3505.                                         {% trans from 'crud' %} reclutaproceso.fields.resultadosAntecedentes {% endtrans %}
  3506.                                     </label>
  3507.                                 </th>
  3508.                                 <td>
  3509.                                     <p><input type='radio' id='antecedentes_1' {% if entity.resultadosAntecedentes==1%}checked='true'{% endif %} disabled='true'>&nbsp;Antecedentes penales</p>   
  3510.                                     <p><input type='radio' id='antecedentes_2' {% if entity.resultadosAntecedentes==2%}checked='true'{% endif %} disabled='true'>&nbsp;Impedimento de salida del país</p>   
  3511.                                     <p><input type='radio' id='antecedentes_3' {% if entity.resultadosAntecedentes==3%}checked='true'{% endif %} disabled='true'>&nbsp;Alerta migratoria</p>   
  3512.                                     <p><input type='radio' id='antecedentes_4' {% if entity.resultadosAntecedentes==4%}checked='true'{% endif %} disabled='true'>&nbsp;Orden de Captura</p>   
  3513.                                 </td>   
  3514.                             </tr>
  3515.                         </table>
  3516.                     </div>
  3517.                 </div>
  3518.             </div>
  3519.         </div>
  3520.     </div>
  3521.     <div class=\"panel panel-default\">
  3522.         <div class=\"panel-heading\">
  3523.             <h4 class=\"panel-title green\">
  3524.                 <a id=\"atab-1\" aria-expanded=\"true\" class=\"accordion-toggle\" data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#datosEstudios\">
  3525.                     <i class=\"bigger-160 ace-icon fa fa-graduation-cap  \" data-icon-hide=\"ace-icon fa fa-angle-down\" data-icon-show=\"ace-icon fa fa-angle-right\"></i>
  3526.                     &nbsp;Estudios
  3527.                 </a>
  3528.             </h4>
  3529.         </div>
  3530.         <div style=\"\" aria-expanded=\"true\" class=\"panel-collapse collapse in \" id=\"datosEstudios\">
  3531.             <div class=\"panel-body\" style=\"border-width: 1px; border-color: red\">
  3532.                 <div class=\"row\">
  3533.                     <div class=\"col-xs-12\">
  3534.                         <table id=\"tabla_acuartelamiento\" class=\"table table-striped table-bordered table-hover\">
  3535.                             <tr>
  3536.                                 <th style=\"width: {{ widthLabel }}\">
  3537.                                     <label>
  3538.                                         {% trans from 'crud' %} reclutaproceso.fields.nivelInstruccion {% endtrans %}:
  3539.                                         <br><button id=\"btn_verificar_estudios\" title=\"Consultar servicio\"><i class=\"fas fa-recycle green\"></i></button>
  3540.                                     </label>
  3541.                                     
  3542.                                 </th>
  3543.                                 <td>
  3544.                                     <table id=\"table_estudios\" class=\"table\">
  3545.                                         <thead>
  3546.                                             <tr>
  3547.                                                 <th>{% trans from 'crud' %} reclutaproceso.fields.estudioInstitucion {% endtrans %}</th>
  3548.                                                 <th>{% trans from 'crud' %} reclutaproceso.fields.estudioTitulo {% endtrans %}</th>
  3549.                                             </tr>
  3550.                                         </thead>
  3551.                                         <tbody>
  3552.                                             {% for estudio in entity.resultadosEstudios %}
  3553.                                                 <tr>                                               
  3554.                                                     <td>{{ estudio.institucion }}</td>
  3555.                                                     <td>{{ estudio.titulo }}</td>
  3556.                                                 </tr>
  3557.                                             {% endfor %}
  3558.                                         </tbody>
  3559.                                     </table>
  3560.                                 </td>
  3561.                             </tr>
  3562.                             <tr>
  3563.                                 <th style=\"width: {{ widthLabel }}\">
  3564.                                     <label>
  3565.                                         Otros no registrados en SENESCYT:
  3566.                                     </label>
  3567.                                 </th>
  3568.                                 <td>
  3569.                                     <table id=\"tablaEstudios\" class=\"table\">
  3570.                                         <thead>
  3571.                                             <tr>
  3572.                                                 <th>Título o Certificación obtenida</th>
  3573.                                                 <th>Institución que emite</th>
  3574.                                                 <th>Nivel</th>
  3575.                                                 <th>En curso</th>
  3576.                                                 <th>Fecha emisión</th>
  3577.                                                 <th style=\"width: 100px\">{% if rol=='reservista' and (tab is not defined or tab !='registro') %}<button title=\"Adicionar estudio\" id=\"addEstudio\"><i class=\"fas fa-plus-circle green\"></i></button>{% endif %}</th>
  3578.                                             </tr>
  3579.                                             <tr class=\"patron hide\">                                               
  3580.                                                 <td>
  3581.                                                     <input class=\"estudio_titulo\" type=\"text\" style=\"width: 100%\" onkeyup='javascript:estudioChange(this);' actualvalue=\"\">
  3582.                                                 </td>
  3583.                                                 <td>
  3584.                                                     <input class=\"estudio_institucion\" type=\"text\" style=\"width: 100%\" onkeyup='javascript:estudioChange(this);' actualvalue=\"\">
  3585.                                                 </td>
  3586.                                                 <td>
  3587.                                                     <select style=\"width: 100%\" class=\"chosen-select estudio_nivel\" onchange=\"javascript:estudioChange(this);\" actualvalue=\"\">
  3588.                                                         <option value=\"\">-- Seleccione --</option>
  3589.                                                         {% for nivel in niveles %}
  3590.                                                             <option value=\"{{ nivel.id }}\">{{ nivel }}</option>
  3591.                                                         {% endfor %}
  3592.                                                     </select>
  3593.                                                 </td>
  3594.                                                 <td>
  3595.                                                     <select style=\"width: 100%\" class=\"estudio_cursando\" onchange=\"javascript:estudioChange(this);\" actualvalue=\"\">
  3596.                                                         <option value=\"\">-- Seleccione --</option>
  3597.                                                         <option value=\"YES\">En curso</option>
  3598.                                                         <option value=\"NO\">Finalizado</option>
  3599.                                                     </select>
  3600.                                                 </td>
  3601.                                                 <td>
  3602.                                                     <div class=\"input-group\">
  3603.                                                         <input type=\"text\" style=\"width: 100%\" class=\"estudio_fecha form-control date-picker\" data-date-format=\"dd-mm-yyyy\" onchange=\"javascript:estudioChange(this);\" actualvalue=\"\">
  3604.                                                         <span class=\"input-group-addon\"><i class=\"fas fa-calendar bigger-110\"></i></span>
  3605.                                                     </div>
  3606.                                                 </td>
  3607.                                                 <th>
  3608.                                                     <button title=\"Guardar cambios\" class=\"hide button quick_destreza_save\" onclick=\"javascript:estudioSave(this);\"><i class=\"fas fa-save\"></i></button>
  3609.                                                     <button title=\"Deshacer cambios\" class=\"hide button quick_destreza_cancel\" onclick=\"javascript:estudioCancel(this);\"><i class=\"fas fa-ban red\"></i></button>
  3610.                                                     <button title=\"Eliminar\" class='quick_destreza_delete' onclick=\"javascript:estudioDelete(this);\"><i class=\"fas fa-trash-alt red\"></i></button>
  3611.                                                 </th>
  3612.                                             </tr>
  3613.                                         </thead>
  3614.                                         <tbody>
  3615.                                             {% for estudio in estudios %}
  3616.                                                 <tr estudioid=\"{{ estudio.id }}\">                                               
  3617.                                                     <td>
  3618.                                                         <input class=\"estudio_titulo\" type=\"text\" style=\"width: 100%\" onkeyup='javascript:estudioChange(this);' value=\"{{ estudio.titulo }}\" actualvalue=\"{{ estudio.titulo }}\">
  3619.                                                     </td>
  3620.                                                     <td>
  3621.                                                         <input class=\"estudio_institucion\" type=\"text\" style=\"width: 100%\" onkeyup='javascript:estudioChange(this);' value=\"{{ estudio.institucion }}\" actualvalue=\"{{ estudio.institucion }}\">
  3622.                                                     </td>
  3623.                                                     <td>
  3624.                                                         <select style=\"width: 100%\" class=\"estudio_nivel chosen-select\" onchange=\"javascript:estudioChange(this);\" actualvalue=\"{{ estudio.nivel.id }}\">
  3625.                                                             <option value=\"\">-- Seleccione --</option>
  3626.                                                             {% for nivel in niveles %}
  3627.                                                                 <option value=\"{{ nivel.id }}\" {% if estudio.nivel.id==nivel.id %}selected=\"true\"{% endif %}>{{ nivel }}</option>
  3628.                                                             {% endfor %}
  3629.                                                         </select>
  3630.                                                     </td>
  3631.                                                     <td>
  3632.                                                         <select style=\"width: 100%\" class=\"estudio_cursando\" onchange=\"javascript:estudioChange(this);\" actualvalue=\"{% if estudio.cursando %}YES{% else %}NO{% endif %}\">
  3633.                                                             <option value=\"\">-- Seleccione --</option>
  3634.                                                             <option value=\"YES\" {% if estudio.cursando %}selected=\"true\"{% endif %}>En curso</option>
  3635.                                                             <option value=\"NO\" {% if not estudio.cursando %}selected=\"true\"{% endif %}>Finalizado</option>
  3636.                                                         </select>
  3637.                                                     </td>
  3638.                                                     <td>
  3639.                                                         <div class=\"input-group {% if estudio.cursando %}hide{% endif %}\">
  3640.                                                             <input type=\"text\" style=\"width: 100%\" class=\"estudio_fecha form-control date-picker unset\" data-date-format=\"dd-mm-yyyy\" onchange=\"javascript:estudioChange(this);\" value=\"{{ estudio.fechaEmision | date('d/m/Y') }}\" actualvalue=\"{{ estudio.fechaEmision | date('d/m/Y') }}\">
  3641.                                                             <span class=\"input-group-addon\"><i class=\"fas fa-calendar bigger-110\"></i></span>
  3642.                                                         </div>
  3643.                                                     </td>
  3644.                                                     <th>
  3645.                                                         <button title=\"Guardar cambios\" class=\"hide button quick_estudio_save\" onclick=\"javascript:estudioSave(this);\"><i class=\"fas fa-save\"></i></button>
  3646.                                                         <button title=\"Deshacer cambios\" class=\"hide button quick_estudio_cancel\" onclick=\"javascript:estudioCancel(this);\"><i class=\"fas fa-ban red\"></i></button>
  3647.                                                         <button title=\"Eliminar\" class='quick_estudio_delete' onclick=\"javascript:estudioDelete(this);\"><i class=\"fas fa-trash-alt red\"></i></button>
  3648.                                                     </th>
  3649.                                                 </tr>
  3650.                                             {% endfor %}
  3651.                                         </tbody>
  3652.                                     </table>
  3653.                                 </td>
  3654.                             </tr>
  3655.                             <tr>
  3656.                                 <th style=\"width: {{ widthLabel }}\">
  3657.                                     <label>
  3658.                                         Otras habilidades:
  3659.                                     </label>
  3660.                                 </th>
  3661.                                 <td>
  3662.                                     <table id=\"tablaDestrezas\" class=\"table\">
  3663.                                         <thead>
  3664.                                             <tr>
  3665.                                                 <th style=\"width: 280px\">Destreza/Habilidad</th>
  3666.                                                 <th style=\"width: 165px\">Tiempo de experiencia</th>
  3667.                                                 <th>Detalles</th>
  3668.                                                 <th style=\"width: 100px\">{% if rol=='reservista' and (tab is not defined or tab !='registro') %}<button title=\"Adicionar habilidad\" id=\"addDestreza\"><i class=\"fas fa-plus-circle green\"></i></button>{% endif %}</th>
  3669.                                             </tr>
  3670.                                             <tr class=\"patron hide\">                                               
  3671.                                                 <td>
  3672.                                                     <select style=\"width: 100%\" class=\"chosen-select select-destreza\" onchange=\"javascript:selectDestrezaChange(this);\" actualvalue=\"\" lastValue=\"\">
  3673.                                                         <option class=\"option_destreza_empty\" value=\"\">-- Seleccione --</option>
  3674.                                                         {% for destreza in destrezas %}
  3675.                                                             <option class=\"option_destreza destreza_{{ destreza.id }}\" value=\"{{ destreza.id }}\">{{ destreza }}</option>
  3676.                                                         {% endfor %}
  3677.                                                     </select>
  3678.                                                 </td>
  3679.                                                 <td><input type=\"text\" style=\"width: 100%\" onkeyup='javascript:destrezaChange(this);' actualvalue=\"\"></td>
  3680.                                                 <td><textarea style=\"width: 100%\" onkeyup='javascript:destrezaChange(this);' actualvalue=\"\"></textarea></td>
  3681.                                                 <th>
  3682.                                                     <button title=\"Guardar cambios\" class=\"hide button quick_destreza_save\" onclick=\"javascript:destrezaSave(this);\"><i class=\"fas fa-save\"></i></button>
  3683.                                                     <button title=\"Deshacer cambios\" class=\"hide button quick_destreza_cancel\" onclick=\"javascript:destrezaCancel(this);\"><i class=\"fas fa-ban red\"></i></button>
  3684.                                                     <button title=\"Eliminar\" class='quick_destreza_delete' onclick=\"javascript:destrezaDelete(this);\"><i class=\"fas fa-trash-alt red\"></i></button>
  3685.                                                 </th>
  3686.                                             </tr>
  3687.                                         </thead>
  3688.                                         <tbody>
  3689.                                             {% for habilidad in habilidades %}
  3690.                                                 <tr destrezaid=\"{{ habilidad.id }}\">                                               
  3691.                                                     <td>
  3692.                                                         <select style=\"width: 100%\" class=\"chosen-select select-destreza\" onchange=\"javascript:selectDestrezaChange(this)\" actualvalue=\"{{ habilidad.destreza.id }}\" lastValue=\"{{ habilidad.destreza.id }}\" disabled=\"true\">
  3693.                                                             <option class=\"option_destreza_empty\" value=\"\">-- Seleccione --</option>
  3694.                                                             {% for destreza in destrezas %}
  3695.                                                                 <option class=\"option_destreza destreza_{{ destreza.id }}\" value=\"{{ destreza.id }}\" {% if destreza.id == habilidad.destreza.id %}selected=\"true\"{% endif %}>{{ destreza }}</option>
  3696.                                                             {% endfor %}
  3697.                                                         </select>
  3698.                                                     </td>
  3699.                                                     <td><input type=\"text\" style=\"width: 100%\" onkeyup='javascript:destrezaChange(this)' value=\"{{ habilidad.tiempo }}\" actualvalue=\"{{ habilidad.tiempo }}\"></td>
  3700.                                                     <td><textarea style=\"width: 100%\" onkeyup='javascript:destrezaChange(this)' actualvalue=\"{{ habilidad.detalles }}\">{{ habilidad.detalles }}</textarea></td>
  3701.                                                     <th>
  3702.                                                         <button title=\"Guardar cambios\" class=\"hide button quick_destreza_save\" onclick=\"javascript:destrezaSave(this)\"><i class=\"fas fa-save\"></i></button>
  3703.                                                         <button title=\"Deshacer cambios\" class=\"hide button quick_destreza_cancel\" onclick=\"javascript:destrezaCancel(this)\"><i class=\"fas fa-ban red\"></i></button>
  3704.                                                         <button title=\"Eliminar\" class='quick_destreza_delete' onclick=\"javascript:destrezaDelete(this)\"><i class=\"fas fa-trash-alt red\"></i></button>
  3705.                                                     </th>
  3706.                                                 </tr>
  3707.                                             {% endfor %}
  3708.                                         </tbody>
  3709.                                     </table>
  3710.                                 </td>
  3711.                             </tr>
  3712.                         </table>
  3713.                         {% block more_acuartelamiento %}        
  3714.                         {% endblock more_acuartelamiento %}        
  3715.                     </div>
  3716.                 </div>
  3717.             </div>
  3718.         </div>
  3719.     </div>
  3720.     {% block more_seccion %}        
  3721.         <div class=\"panel panel-default\">
  3722.             <div class=\"panel-heading\">
  3723.                 <h4 class=\"panel-title green\">
  3724.                     <a id=\"atab-1\" aria-expanded=\"true\" class=\"accordion-toggle\" data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#datosPersonales\">
  3725.                         <i class=\"bigger-160 ace-icon fa fa-home \" data-icon-hide=\"ace-icon fa fa-angle-down\" data-icon-show=\"ace-icon fa fa-angle-right\"></i>
  3726.                         &nbsp;Resultados del proceso
  3727.                     </a>
  3728.                 </h4>
  3729.             </div>
  3730.             <div style=\"\" aria-expanded=\"true\" class=\"panel-collapse collapse in \" id=\"datosPersonales\">
  3731.                 {% if not entity.certificadoVacunacionOk %}
  3732.                     <div id='no_cupo' class='hide'>
  3733.                         <i class=\"fas fa-ban red bigger-300\"></i>
  3734.                         <span id=\"span_no_idoneo\" style=\"color: red; font-weight: bold; font-size: 20px\">
  3735.                             NO PUEDE REGISTRARSE RESULTADO PORQUE NO SE HA VALIDADO EL CERTIFICADO DE VACUNACIÓN
  3736.                         </span>
  3737.                     </div>           
  3738.                 {% else %}
  3739.                     <div id=\"divResultado\" class=\"panel-body\" style=\"border-width: 1px; border-color: red\">
  3740.                         <div class=\"row\">
  3741.                             <div class=\"col-xs-12\">
  3742.                                 {% if entity.fechaResultado %}
  3743.                                     {% if entity.idoneo %}
  3744.                                         <p color='green'>IDÓNEO</p>
  3745.                                         <table class=\"table table-striped table-bordered table-hover\">
  3746.                                             <tr>
  3747.                                                 <th style=\"width: {{ widthLabel }}\">
  3748.                                                     <label>
  3749.                                                         Unidad asignada:
  3750.                                                     </label>
  3751.                                                 </th>
  3752.                                                 <td>
  3753.                                                     {{ entity.unidadMilitar }}
  3754.                                                 </td>
  3755.                                                 <th style=\"width: {{ widthLabel }}\">
  3756.                                                     <label>
  3757.                                                         Centro instrucción:
  3758.                                                     </label>
  3759.                                                 </th>
  3760.                                                 <td>
  3761.                                                     {{ entity.unidadMilitar.centroInstruccion }}
  3762.                                                 </td>
  3763.                                             </tr>
  3764.                                         </table>
  3765.                                     {% else %}
  3766.                                         <p color='red'>NO IDÓNEO</p>
  3767.                                         <table class=\"table table-striped table-bordered table-hover\">
  3768.                                             <tr>
  3769.                                                 <th style=\"width: {{ widthLabel }}\">
  3770.                                                     <label>
  3771.                                                         Causa rechazo:
  3772.                                                     </label>
  3773.                                                 </th>
  3774.                                                 <td>
  3775.                                                     {{ entity.causaRechazo }}
  3776.                                                 </td>
  3777.                                             </tr>
  3778.                                             <tr>
  3779.                                                 <th style=\"width: {{ widthLabel }}\">
  3780.                                                     <label>
  3781.                                                         Observaciones:
  3782.                                                     </label>
  3783.                                                 </th>
  3784.                                                 <td>
  3785.                                                     {{ entity.observaciones }}
  3786.                                                 </td>
  3787.                                             </tr>
  3788.                                             <tr>
  3789.                                                 <th style=\"width: {{ widthLabel }}\">
  3790.                                                     <label>
  3791.                                                         Volver a presentarse:
  3792.                                                     </label>
  3793.                                                 </th>
  3794.                                                 <td>
  3795.                                                     {{ entity.volverPresentarse }}
  3796.                                                 </td>
  3797.                                             </tr>
  3798.                                         </table>
  3799.                                     {% endif %}
  3800.                                 {% endif %}
  3801.                                     {% if not entity.fechaResultado or (not entity.idoneo and entity.volverPresentarse.getValue()=='MISMO') %}
  3802.                                         <form id='form_resultados' method='post' action='{{ path('aspirante_salvar_resultado') }}'>
  3803.                                             <input type='hidden' name='resultado[reclutaProceso]' value='{{ entity.id }}'>
  3804.                                             <table class=\"table table-striped table-bordered table-hover\">
  3805.                                                 <tr>
  3806.                                                     <th style=\"width: {{ widthLabel }}\">
  3807.                                                         <label>
  3808.                                                             Resultado:
  3809.                                                         </label>
  3810.                                                     </th>
  3811.                                                     <td colspan='3'>
  3812.                                                         <input type='radio' class='resultado' id='resultadoIdoneo' name='resultado[resultado]' value='idoneo'>&nbsp;&nbsp;Idóneo
  3813.                                                         &nbsp;&nbsp;&nbsp;&nbsp;
  3814.                                                         <input type='radio' class='resultado' id='resultadoNoIdoneo' name='resultado[resultado]' value='noidoneo'>&nbsp;&nbsp;No Idóneo
  3815.                                                     </td>
  3816.                                                 </tr>
  3817.                                                 <tr id='trUnidadAsignar' class='hide'>
  3818.                                                     <th style=\"width: {{ widthLabel }}\">
  3819.                                                         <label>
  3820.                                                             Unidad asignada:
  3821.                                                         </label>
  3822.                                                     </th>
  3823.                                                     <td colspan='3'>
  3824.                                                         <a id=\"botonAsignar\" class=\"btn btn-white btn-inverse btn-bold btn-round\" href=\"{{ path('aspirante_asignar_unidad', {'reclutaProceso': entity.id }) }}\">
  3825.                                                             Asignar Unidad
  3826.                                                         </a>
  3827.                                                     </td>
  3828.                                                 </tr>
  3829.                                                 <tr id='trUnidad' class='hide'>
  3830.                                                     <th style=\"width: {{ widthLabel }}\">
  3831.                                                         <label>
  3832.                                                             Unidad asignada:
  3833.                                                         </label>
  3834.                                                     </th>
  3835.                                                     <td>
  3836.                                                         <span id='span_unidad'></span>
  3837.                                                         <input type='hidden' id='form_unidad' name='resultado[unidad]'>
  3838.                                                     </td>
  3839.                                                     <th style=\"width: {{ widthLabel }}\">
  3840.                                                         <label>
  3841.                                                             Centro instrucción:
  3842.                                                         </label>
  3843.                                                     </th>
  3844.                                                     <td>
  3845.                                                         <span id='span_centro'></span>
  3846.                                                     </td>
  3847.                                                 </tr>
  3848.                                                 <tr id='trCausaRechazo' class='hide'>
  3849.                                                     <th style=\"width: {{ widthLabel }}\">
  3850.                                                         <label>
  3851.                                                             Causa rechazo:
  3852.                                                         </label>
  3853.                                                     </th>
  3854.                                                     <td>
  3855.                                                         <input type='radio' id='causaPsicologica' name='resultado[causa]' value='PSICOLOGICA'>&nbsp;&nbsp;Psicológica
  3856.                                                     </td>
  3857.                                                     <td>
  3858.                                                         <input type='radio' id='causaMedica' name='resultado[causa]' value='MEDICA'>&nbsp;&nbsp;Médica
  3859.                                                     </td>
  3860.                                                     <td>
  3861.                                                         <input type='radio' id='causaLaboratorios' name='resultado[causa]' value='LABORATORIO'>&nbsp;&nbsp;Laboratorio
  3862.                                                     </td>
  3863.                                                 </tr>
  3864.                                                 <tr id='trObservaciones' class='hide'>
  3865.                                                     <th style=\"width: {{ widthLabel }}\">
  3866.                                                         <label>
  3867.                                                             Observaciones:
  3868.                                                         </label>
  3869.                                                     </th>
  3870.                                                     <td colspan='3'>
  3871.                                                         <textarea id='observaciones' name='resultado[observaciones]' style='width: 100%'></textarea>
  3872.                                                     </td>
  3873.                                                 </tr>
  3874.                                                 <tr id='trVolver' class='hide'>
  3875.                                                     <th style=\"width: {{ widthLabel }}\">
  3876.                                                         <label>
  3877.                                                             Volver a presentarse:
  3878.                                                         </label>
  3879.                                                     </th>
  3880.                                                     <td>
  3881.                                                         <input type='radio' id='volverEste' name='resultado[volver]' value='MISMO'>&nbsp;&nbsp;En este proceso
  3882.                                                     </td>
  3883.                                                     <td>
  3884.                                                         <input type='radio' id='volverProximo' name='resultado[volver]' value='PROXIMO'>&nbsp;&nbsp;Próximo proceso
  3885.                                                     </td>
  3886.                                                     <td>
  3887.                                                         <input type='radio' id='volverNunca' name='resultado[volver]' value='NUNCA'>&nbsp;&nbsp;Nunca
  3888.                                                     </td>
  3889.                                                 </tr>
  3890.                                             </table>
  3891.                                         </form>
  3892.                                     {% endif %}
  3893.                             </div>
  3894.                         </div>
  3895.                     </div>
  3896.                 {% endif %}
  3897.             </div>
  3898.         </div>
  3899.     {% endblock more_seccion %}        
  3900.         <form id=\"formQuickUpdate\" action=\"{{ path('crud_quick_update') }}\" method=\"POST\" class=\"hide\">
  3901.             <input type=\"hidden\" id=\"quick_form_class\" name=\"quick[class]\">
  3902.             <input type=\"hidden\" id=\"quick_form_id\" name=\"quick[id]\">
  3903.             <input type=\"hidden\" id=\"quick_form_field\" name=\"quick[field]\">
  3904.             <input type=\"hidden\" id=\"quick_form_association_class\" name=\"quick[association]\">
  3905.             <input type=\"text\" id=\"quick_input_valor\" name=\"quick[valor]\" style=\"width: 100%\">
  3906.         </form>
  3907.         <form id=\"formDestrezaSave\" action=\"{{ path('reservista_update_habilidad') }}\" method=\"POST\" class=\"hide\">
  3908.             <input type=\"hidden\" id=\"quick_form_reservista\" name=\"quick[reservista]\" value=\"{{ entity.reservista.id }}\">
  3909.             <input type=\"hidden\" id=\"quick_form_destreza\" name=\"quick[destreza]\">
  3910.             <input type=\"hidden\" id=\"quick_form_tiempo\" name=\"quick[tiempo]\">
  3911.             <input type=\"hidden\" id=\"quick_form_detalle\" name=\"quick[detalle]\">
  3912.         </form>
  3913.         <form id=\"formEstudioSave\" action=\"{{ path('reservista_update_estudio') }}\" method=\"POST\" class=\"hide\">
  3914.             <input type=\"hidden\" id=\"quick_form_habilidad_id\" name=\"quick[id]\">
  3915.             <input type=\"hidden\" id=\"quick_form_habilidad_reservista\" name=\"quick[reservista]\" value=\"{{ entity.reservista.id }}\">
  3916.             <input type=\"hidden\" id=\"quick_form_habilidad_titulo\" name=\"quick[titulo]\">
  3917.             <input type=\"hidden\" id=\"quick_form_habilidad_institucion\" name=\"quick[institucion]\">
  3918.             <input type=\"hidden\" id=\"quick_form_habilidad_nivel\" name=\"quick[nivel]\">
  3919.             <input type=\"hidden\" id=\"quick_form_habilidad_cursando\" name=\"quick[cursando]\">
  3920.             <input type=\"hidden\" id=\"quick_form_habilidad_fecha\" name=\"quick[fecha]\">
  3921.         </form>
  3922.         
  3923.     <div id=\"dialog-verify-email\" title=\"Verificar correo electrónico\">
  3924.         <form id=\"form_verify_email\" action=\"{{ path('verifica_email') }}\" method=\"POST\">
  3925.             <input type=\"hidden\" id=\"verify_email\" name=\"verify_email\">
  3926.         </form>
  3927.         <form id=\"form_verify_email_code\" action=\"{{ path('verifica_email_code') }}\" method=\"POST\">
  3928.             <p>Se ha enviado un correo electrónico a su dirección: <span id=\"text_email\"></span>.</p>
  3929.             <p>Revise su correo e introduzca el código de verificación envíado.</p>
  3930.             <p>Código de verificación: <input type=\"text\" name=\"verify_email_code\"></p>
  3931.         </form>
  3932.     </div>    
  3933.             
  3934.     <div id=\"dialog-change-canton\">
  3935.         <table class=\"table table-striped table-bordered table-hover\">
  3936.             <tr class=\"reside_ecuador\">
  3937.                 <th style=\"width: 20%\">
  3938.                     <label id=\"label_form_medico\">
  3939.                         {% trans from 'crud' %} reclutaproceso.fields.region {% endtrans %}:
  3940.                     </label>
  3941.                 </th>
  3942.                 <td style=\"vertical-align: middle\">
  3943.                     <select id='form_region' style=\"width: 100%\" class=\"chosen-select\" onchange='javascript:regionChange()'>
  3944.                         <option value=''>-- Seleccione --</option>
  3945.                         {% for region in regiones %}
  3946.                             <option value='{{ region.id }}'>{{ region }}</option>
  3947.                         {% endfor %}
  3948.                     </select>
  3949.                 </td>    
  3950.             </tr>    
  3951.             <tr class=\"reside_ecuador\">
  3952.                 <th style=\"width: 20%\">
  3953.                     <label id=\"label_form_medico\">
  3954.                         {% trans from 'crud' %} reclutaproceso.fields.provincia {% endtrans %}:
  3955.                     </label>
  3956.                 </th>
  3957.                 <td style=\"vertical-align: middle\">
  3958.                     <select id='form_provincia' style=\"width: 100%\" class=\"chosen-select\" onchange='javascripts:provinciaChange()'>
  3959.                         <option value=''>-- Seleccione --</option>
  3960.                         {% for provincia in provincias %}
  3961.                             <option value='{{ provincia.id }}'>{{ provincia }}</option>
  3962.                         {% endfor %}
  3963.                     </select>
  3964.                 </td>    
  3965.             </tr>    
  3966.             <tr class=\"reside_ecuador\">
  3967.                 <th style=\"width: 20%\">
  3968.                     <label id=\"label_form_medico\">
  3969.                         {% trans from 'crud' %} reclutaproceso.fields.canton {% endtrans %}:
  3970.                     </label>
  3971.                 </th>
  3972.                 <td style=\"vertical-align: middle\">
  3973.                     <select id='form_canton' style=\"width: 100%\" class=\"chosen-select\" onchange='javascripts:cantonChange()'>
  3974.                         <option value=''>-- Seleccione --</option>
  3975.                         {% for canton in cantones %}
  3976.                             <option value='{{ canton.id }}'>{{ canton }}</option>
  3977.                         {% endfor %}
  3978.                     </select>
  3979.                 </td>    
  3980.             </tr>    
  3981.             <tr class=\"reside_ecuador\">
  3982.                 <th style=\"width: 20%\">
  3983.                     <label class=\"required\">
  3984.                         {% trans from 'crud' %} reclutaproceso.fields.lugarResidencia {% endtrans %}:
  3985.                     </label>
  3986.                 </th>
  3987.                 <td style=\"vertical-align: middle\">
  3988.                     <select id='form_parroquia' name=\"form[parroquiaResidencia]\" style=\"width: 100%\" class=\"chosen-select\">
  3989.                         <option value=''>-- Seleccione --</option>
  3990.                         {% for parroquia in parroquias %}
  3991.                             <option value='{{ parroquia.id }}'>{{ parroquia }}</option>
  3992.                         {% endfor %}
  3993.                     </select>
  3994.                 </td>    
  3995.             </tr>   
  3996.         </table>
  3997.     </div>            
  3998.             
  3999.             
  4000.             
  4001.         
  4002. {% endblock %} 
  4003. {% block actions %}
  4004.     <div class=\"row\">
  4005.         <div class=\"col-xs-6\">
  4006.             <center>
  4007.                 {% block action_retorno %}
  4008.                     {#<a class=\"btn btn-white btn-inverse btn-bold btn-round\" href=\"{{ path('crud_index', {'routeClassName': routeClassName}) }}\">#}
  4009.                     <a class=\"btn btn-white btn-inverse btn-bold btn-round\" href=\"{{ path('crud_plain_back_to_list', {'routeClassName': routeClassName, 'id': entity.id, 'from': 'show'}) }}\">
  4010.                         {% trans from 'crud' %}botones.regresar{% endtrans %}
  4011.                     </a>
  4012.                 {% endblock %} 
  4013.             </center>
  4014.         </div>   
  4015.         {% if not entity.fechaResultado %}
  4016.             {% if entity.certificadoVacunacionOk %}
  4017.                 <div class=\"col-xs-6 forChanges\">
  4018.                     <center>
  4019.                         <a id=\"botonTerminar\" class=\"btn btn-white btn-inverse btn-bold btn-round\" href=\"\">Terminar proceso</a>
  4020.                     </center>
  4021.                 </div>    
  4022.             {% endif %}            
  4023.         {% else %}            
  4024.             <div class=\"col-xs-6 forChanges\">
  4025.                 <center>
  4026.                     <a id=\"botonImprimir\"  target=\"_blank\" class=\"btn btn-white btn-inverse btn-bold btn-round\" href=\"{{ path('imprimirFichaProceso', {'idReclutaProceso': entity.id }) }}\">Imprimir resultado</a>
  4027.                 </center>
  4028.             </div>    
  4029.         {% endif %}            
  4030.     </div>
  4031. {% endblock %}
  4032. ""ReservistaProceso/show.html.twig""/data/produccion/integral/src/templates/ReservistaProceso/show.html.twig");
  4033.     }
  4034. }