var/cache/dev/twig/03/03cab10e13e37d2baf0628a499636561.php line 41

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. /* ProcesoReclutamiento\show.html.twig */
  14. class __TwigTemplate_e612168893cf76d6d5080bedefa6bde4 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.             'stylesheets' => [$this'block_stylesheets'],
  24.             'javascripts' => [$this'block_javascripts'],
  25.             'jquery' => [$this'block_jquery'],
  26.             'show_details' => [$this'block_show_details'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "@crud\\crud\\show.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProcesoReclutamiento\\show.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProcesoReclutamiento\\show.html.twig"));
  41.         $this->parent $this->loadTemplate("@crud\\crud\\show.html.twig""ProcesoReclutamiento\\show.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_stylesheets($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  56.         // line 4
  57.         echo "    ";
  58.         $this->displayParentBlock("stylesheets"$context$blocks);
  59.         echo "
  60.     <link type=\"text/css\" rel=\"stylesheet\" href=\"";
  61.         // line 5
  62.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ace/css/jquery.treetable.css"), "html"nulltrue);
  63.         echo "\">
  64.     <link type=\"text/css\" rel=\"stylesheet\" href=\"";
  65.         // line 6
  66.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ace/css/jquery.treetable.theme.default.css"), "html"nulltrue);
  67.         echo "\">
  68.     <!--link type=\"text/css\" rel=\"stylesheet\" href=\"";
  69.         // line 7
  70.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("style/jquery-ui.css"), "html"nulltrue);
  71.         echo "\"-->
  72. ";
  73.         
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  75.         
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  77.     }
  78.     // line 10
  79.     public function block_javascripts($context, array $blocks = [])
  80.     {
  81.         $macros $this->macros;
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  86.         // line 11
  87.         echo "    ";
  88.         $this->displayParentBlock("javascripts"$context$blocks);
  89.         echo "
  90.     <script src=\"";
  91.         // line 12
  92.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ace/js/jquery.treetable.js"), "html"nulltrue);
  93.         echo "\" type=\"text/javascript\"></script>
  94. ";
  95.         
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  97.         
  98.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  99.     }
  100.     // line 15
  101.     public function block_jquery($context, array $blocks = [])
  102.     {
  103.         $macros $this->macros;
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""jquery"));
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""jquery"));
  108.         // line 16
  109.         echo "    ";
  110.         $this->displayParentBlock("jquery"$context$blocks);
  111.         echo "
  112.     <script type=\"text/javascript\">
  113.         \$(function()
  114.         {
  115.             
  116.             \$('.masculino').change(function(e){
  117.                 var itemid = \$(this).attr('itemid');
  118.                 var registrados = \$('#unidad_registradoMasculino_'+itemid).val()*1;
  119.                 var cupo = \$('#unidad_cupoMasculino_'+itemid).val()*1;
  120.                 var adicionalCupo = \$('#unidad_adicionalMasculino_'+itemid).val()*1;
  121.                 var newCupo = cupo+((cupo*adicionalCupo)/100);
  122.                 if (newCupo<registrados)
  123.                 {
  124.                     alert('El valor indicado ('+\$(this).val()+') hace que el nuevo cupo total de la unidad ('+newCupo+') sea inferior a la cantidad de reclutas masculinos ya asignados ('+registrados+')');
  125.                     \$(this).val(\$(this).attr('oldvalue')); 
  126.                 }
  127.             });
  128.             \$('.femenino').change(function(e){
  129.                 var itemid = \$(this).attr('itemid');
  130.                 var registrados = \$('#unidad_registradoFemenino_'+itemid).val()*1;
  131.                 var cupo = \$('#unidad_cupoFemenino_'+itemid).val()*1;
  132.                 var adicionalCupo = \$('#unidad_adicionalFemenino_'+itemid).val()*1;
  133.                 var newCupo = cupo+((cupo*adicionalCupo)/100);
  134.                 if (newCupo<registrados)
  135.                 {
  136.                     alert('El valor indicado ('+\$(this).val()+') hace que el nuevo cupo total de la unidad ('+newCupo+') sea inferior a la cantidad de reclutas femeninos ya asignados ('+registrados+')');
  137.                     \$(this).val(\$(this).attr('oldvalue')); 
  138.                 }
  139.             });
  140.             \$('#crud_form_preocesoreclutamiento').submit(function(e){
  141.                 if (\$('.save').not('.hide').length > 0)
  142.                 {
  143.                     e.preventDefault();
  144.                     jAlert('Hay información sobre el test psicológico que no se ha guardado', 'Información');
  145.                 }
  146.             });
  147.             \$('#table_test_psicologico').treetable({ expandable: true, indent: 10 });    
  148.             \$('.new_sistema').click(function(e){
  149.                 e.preventDefault();
  150.                 var s = \$('#N-S-NUEVO-SISTEMA').prop(\"outerHTML\");
  151.                 s=s.replaceAll('NUEVO-SISTEMA', nuevoSistema);
  152.                 \$(\"#table_test_psicologico\").treetable(\"loadBranch\", null, s);
  153.                 bindButtons('N-S-'+nuevoSistema);
  154.                 nuevoSistema++;
  155.             });
  156.             \$( \"#dlg_otrosProcesos\" ).dialog({
  157.                 autoOpen: false,
  158.                 height: 610,
  159.                 width: 950,
  160.                 modal: true,
  161.                 resizable: false,
  162.                 title_html: true,
  163.                 title: '<div id=\"texto\" class=\"widget-header widget-header-small\"><h4 class=\"smaller green\"><i class=\"fas fa-recycle\"></i>&nbsp;Preguntas de otros procesos</h4></div>',
  164.                 buttons: {
  165.                     Usar: function() {
  166.                         if (\$('#test_otros').html().trim())
  167.                         {
  168.                             jConfirm('Si acepta usar estas preguntas perderá toda la información sobre las preguntas ya asociadas a este proceso.', 'Confirmar', function(r){
  169.                                 if (r) {
  170.                                     \$( \"#dlg_otrosProcesos\" ).dialog( \"close\" );
  171.                                     \$('#crud_form_procesoreclutamiento').mask('&nbsp;&nbsp;&nbsp;&nbsp;Cargando...');
  172.                                     var url = '";
  173.         // line 87
  174.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("replicate_test_elements", ["procesoOrigen" => "__PROCESO__""procesoDestino" => 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.'87$this->source); })()), "id", [], "any"falsefalsefalse87)]), "html"nulltrue);
  175.         echo "';
  176.                                     url=url.replace('__PROCESO__', \$('#otros_procesos').val());
  177.                                     \$.getJSON(url , function(result){
  178.                                         if (result.ok)
  179.                                         {
  180.                                             var url = '";
  181.         // line 92
  182.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("get_test_elements", ["proceso" => 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.'92$this->source); })()), "id", [], "any"falsefalsefalse92), "editable" => "YES"]), "html"nulltrue);
  183.         echo "';
  184.                                             \$('#testPreguntas').load(url, function(){
  185.                                                 \$('#crud_form_procesoreclutamiento').unmask();
  186.                                                 /*\$('#table_test_psicologico').find('tbody').find('tr').each(function(){
  187.                                                     var id = \$(this).attr('id');
  188.                                                     id = 'N-'+id;
  189.                                                     \$(this).attr('id', id);
  190.                                                 });*/
  191.                                                 \$('#table_test_psicologico').treetable({ expandable: true, indent: 10 });    
  192.                                             });
  193.                                         }
  194.                                         else
  195.                                         {
  196.                                             \$('#crud_form_procesoreclutamiento').unmask();
  197.                                             jAlert(result.msg, 'Error');
  198.                                         }
  199.                                     });
  200.                                 }
  201.                             });
  202.                         }
  203.                     },
  204.                     Cancelar: function() {
  205.                         \$( \"#dlg_otrosProcesos\" ).dialog( \"close\" );
  206.                     }
  207.                 }
  208.             });
  209.             \$('#usar_otras_preguntas').click(function(e){
  210.                 e.preventDefault();
  211.                 \$( \"#dlg_otrosProcesos\" ).dialog('open');
  212.             });
  213.             ";
  214.         // line 124
  215.         $this->loadTemplate("ProcesoReclutamiento\\formulario_jquery.html.twig""ProcesoReclutamiento\\show.html.twig"124)->display($context);
  216.         // line 125
  217.         echo "
  218.         });
  219. \t\t
  220.         ";
  221.         // line 128
  222.         $this->loadTemplate("ProcesoReclutamiento\\formulario_jquery_functions.html.twig""ProcesoReclutamiento\\show.html.twig"128)->display($context);
  223.         // line 129
  224.         echo "
  225.     </script>    
  226. ";
  227.         
  228.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  229.         
  230.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  231.     }
  232.     // line 135
  233.     public function block_show_details($context, array $blocks = [])
  234.     {
  235.         $macros $this->macros;
  236.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  237.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""show_details"));
  238.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  239.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""show_details"));
  240.         // line 136
  241.         echo "    ";
  242.         $this->displayParentBlock("show_details"$context$blocks);
  243.         echo "
  244.     
  245.     
  246.     <div class=\"row\">
  247.         <div class=\"col-xs-12\">
  248.             <div id=\"tabs\" class=\"tabs ui-tabs ui-widget ui-widget-content ui-corner-all\">
  249.                 ";
  250.         // line 143
  251.         echo "                <ul id=\"tabs-container\" class=\"nav nav-tabs tabs-pull-left ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all\">
  252.                     <li class=\"active\">
  253.                         <a href=\"#tab-centros\" data-toggle=\"tab\">";
  254.         // line 145
  255.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("procesoreclutamiento.endFormTabs.centrosReclutaHabilitados", [], "crud"), "html"nulltrue);
  256.         echo "</a>
  257.                     </li>
  258.                     <li>
  259.                         <a href=\"#tab-test-psicologico\" data-toggle=\"tab\">";
  260.         // line 148
  261.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("procesoreclutamiento.endFormTabs.testPsicologico", [], "crud"), "html"nulltrue);
  262.         echo "</a>
  263.                     </li>
  264.                 </ul>
  265.                 ";
  266.         // line 152
  267.         echo "
  268.                 ";
  269.         // line 154
  270.         echo "                <div class=\"tab-content ui-tabs ui-tabs-panel\" id=\"tabContainer\">
  271.                     ";
  272.         // line 156
  273.         echo "                    <div class=\"tab-pane active\" id=\"tab-centros\">
  274.                         <div class=\"row\">
  275.                             <div class=\"col-xs-12\">
  276.                                 <form id=\"estructura_centros\" action=\"";
  277.         // line 159
  278.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("save_estructura_centros");
  279.         echo "\" method=\"post\">
  280.                                     <input type=\"submit\" class=\"btn btn-white btn-inverse btn-bold btn-round\" value=\"Guardar\">
  281.                                     <input type=\"hidden\" name=\"tree_form[id]\" value=\"";
  282.         // line 161
  283.         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);
  284.         echo "\">
  285.                                     <input type=\"hidden\" name=\"tree_form[routeClassName]\" value=\"";
  286.         // line 162
  287.         echo twig_escape_filter($this->env, (isset($context["routeClassName"]) || array_key_exists("routeClassName"$context) ? $context["routeClassName"] : (function () { throw new RuntimeError('Variable "routeClassName" does not exist.'162$this->source); })()), "html"nulltrue);
  288.         echo "\">
  289.                                     <input type=\"hidden\" name=\"tree_form[rol]\" value=\"";
  290.         // line 163
  291.         echo twig_escape_filter($this->env, (isset($context["rol"]) || array_key_exists("rol"$context) ? $context["rol"] : (function () { throw new RuntimeError('Variable "rol" does not exist.'163$this->source); })()), "html"nulltrue);
  292.         echo "\">
  293.                                     ";
  294.         // line 164
  295.         $this->loadTemplate("ProcesoReclutamiento\\basesCentrosUnidades.html.twig""ProcesoReclutamiento\\show.html.twig"164)->display($context);
  296.         // line 165
  297.         echo "                                    <input type=\"submit\" class=\"btn btn-white btn-inverse btn-bold btn-round\" value=\"Guardar\">
  298.                                 </form>
  299.                             </div>
  300.                         </div>
  301.                     </div>
  302.                     ";
  303.         // line 171
  304.         echo "
  305.                     ";
  306.         // line 173
  307.         echo "                    <div class=\"tab-pane\" id=\"tab-test-psicologico\">
  308.                         ";
  309.         // line 175
  310.         echo "                        <a class=\"btnExpand\" onclick=\"jQuery('#table_test_psicologico').treetable('expandAll'); return false;\">
  311.                             <button class=\"btn btn-white btn-inverse btn-bold btn-round\" title=\"";
  312.         // line 176
  313.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.expandir", [], "messages");
  314.         echo "\">
  315.                                 <img src=\"";
  316.         // line 177
  317.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/icon/expandir.png"), "html"nulltrue);
  318.         echo "\" width=\"16px\"><span class=\"hidden-xs\">&nbsp;";
  319.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.expandir", [], "messages");
  320.         echo "</span>
  321.                             </button>
  322.                         </a>
  323.                         <a class=\"btnExpand\" onclick=\"jQuery('#table_test_psicologico').treetable('collapseAll'); return false;\">
  324.                             <button class=\"btn btn-white btn-inverse btn-bold btn-round\" title=\"";
  325.         // line 181
  326.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.recoger", [], "messages");
  327.         echo "\">
  328.                                 <img src=\"";
  329.         // line 182
  330.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/icon/recoger.png"), "html"nulltrue);
  331.         echo "\" width=\"16px\"><span class=\"hidden-xs\">&nbsp;";
  332.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.recoger", [], "messages");
  333.         echo "</span>
  334.                             </button>
  335.                         </a>
  336.                         <a class=\"new_sistema\" href=\"\">
  337.                             <button class=\"btn btn-white btn-inverse btn-bold btn-round\" title=\"";
  338.         // line 186
  339.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.recoger", [], "messages");
  340.         echo "\">
  341.                                 <i class=\"fas fa-plus green bigger-130\" title=\"Nuevo sistema\"></i>&nbsp;Nuevo Sistema
  342.                             </button>
  343.                         </a>
  344.                         ";
  345.         // line 190
  346.         if ((twig_length_filter($this->env, (isset($context["otrosProcesos"]) || array_key_exists("otrosProcesos"$context) ? $context["otrosProcesos"] : (function () { throw new RuntimeError('Variable "otrosProcesos" does not exist.'190$this->source); })())) > 0)) {
  347.             // line 191
  348.             echo "                            <a id=\"usar_otras_preguntas\" href=\"\">
  349.                                 <button class=\"btn btn-white btn-inverse btn-bold btn-round\" title=\"";
  350.             // line 192
  351.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.recoger", [], "messages");
  352.             echo "\">
  353.                                     <i class=\"fas fa-recycle green bigger-130\" title=\"Usar preguntas de otro proceso\"></i>&nbsp;Usar preguntas de otro proceso
  354.                                 </button>
  355.                             </a>
  356.                         ";
  357.         }
  358.         // line 197
  359.         echo "                        <div id=\"testPreguntas\">
  360.                             ";
  361.         // line 198
  362.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\ProcesoReclutamientoController::getTestElementsAction", ["proceso" => 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.'198$this->source); })()), "id", [], "any"falsefalsefalse198), "editable" => "YES"]));
  363.         echo "
  364.                         </div>
  365.                     </div>
  366.                     ";
  367.         // line 202
  368.         echo "
  369.                     ";
  370.         // line 487
  371.         echo "                </div>
  372.                 ";
  373.         // line 489
  374.         echo "            </div>
  375.         </div>
  376.     </div>
  377.     
  378.     <div class='hide'>
  379.         <form id=\"form_save\" action=\"";
  380.         // line 494
  381.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("save_test_element");
  382.         echo "\" method=\"post\">
  383.            <input id=\"form_save_id\"               type=\"text\" name=\"test[id]\"> 
  384.            <input id=\"form_save_parent\"           type=\"text\" name=\"test[parentId]\"> 
  385.            <input id=\"form_save_nombre\"           type=\"text\" name=\"test[nombre]\"> 
  386.            <input id=\"form_save_riesgoBajoDesde\"  type=\"text\" name=\"test[riesgoBajoDesde]\"> 
  387.            <input id=\"form_save_riesgoBajoHasta\"  type=\"text\" name=\"test[riesgoBajoHasta]\"> 
  388.            <input id=\"form_save_riesgoMedioDesde\" type=\"text\" name=\"test[riesgoMedioDesde]\"> 
  389.            <input id=\"form_save_riesgoMedioHasta\" type=\"text\" name=\"test[riesgoMedioHasta]\"> 
  390.            <input id=\"form_save_riesgoAltoDesde\"  type=\"text\" name=\"test[riesgoAltoDesde]\"> 
  391.            <input id=\"form_save_riesgoAltoHasta\"  type=\"text\" name=\"test[riesgoAltoHasta]\"> 
  392.            <input id=\"form_save_tipo\"             type=\"text\" name=\"test[tipo]\"> 
  393.            <input id=\"form_save_proceso\"          type=\"text\" name=\"test[proceso]\" value=\"";
  394.         // line 505
  395.         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.'505$this->source); })()), "id", [], "any"falsefalsefalse505), "html"nulltrue);
  396.         echo "\"> 
  397.         </form>
  398.         <div id=\"delete_alert\" class=\"alert alert-danger\">
  399.             <button type=\"button\" class=\"close\" data-dismiss=\"alert\">
  400.                 <i class=\"fas fa-times\"></i>
  401.             </button>
  402.             <strong>
  403.                 <i class=\"fas fa-info-circle bigger-150\"></i>
  404.                 No fue posible eliminar este elemento   
  405.             </strong>
  406.             <br>
  407.         </div>
  408.         <div id=\"save_alert\" class=\"alert alert-danger\">
  409.             <button type=\"button\" class=\"close\" data-dismiss=\"alert\">
  410.                 <i class=\"fas fa-times\"></i>
  411.             </button>
  412.             <strong>
  413.                 <i class=\"fas fa-info-circle bigger-150\"></i>
  414.                 No fue posible guardar este elemento   
  415.             </strong>
  416.             <br>
  417.         </div>
  418.         <table id=\"table_reference\">
  419.             <tr id=\"N-S-NUEVO-SISTEMA\" parentId=\"\" data-tt-id=\"N-S-NUEVO-SISTEMA\" data-tt-parent-id=\"\">
  420.                 <td>
  421.                     SISTEMA
  422.                 </td>
  423.                 <td>
  424.                     <input field=\"nombre\" type=\"text\" class=\"editable\" name=\"test[sistemas][N-S-NUEVO-SISTEMA][nombre]\"old_value=\"\" style=\"width: 100%;\">    
  425.                 </td>
  426.                 <td colspan=\"4\"></td>
  427.                 <td>
  428.                     <div class=\"pull-left action-buttons\">
  429.                         <nobr>
  430.                             <a class=\"save save_sistema hide\" href=\"\">
  431.                                 <i class=\"fas fa-save blue bigger-150\" title=\"Guardar\"></i>
  432.                             </a>
  433.                             <a class=\"cancel hide\" href=\"\">
  434.                                 <i class=\"fas fa-ban red bigger-150\" title=\"Cancelar\"></i>
  435.                             </a>
  436.                             <a class=\"new_eje\" href=\"\">
  437.                                 <i class=\"fas fa-plus green bigger-150\" title=\"Nuevo eje\"></i>
  438.                             </a>
  439.                             <a class=\"delete delete_sistema\" href=\"\">
  440.                                 <i class=\"fas fa-trash red bigger-150\" title=\"Eliminar\"></i>
  441.                             </a>
  442.                         </nobr>
  443.                     </div>
  444.                 </td>
  445.             </tr>
  446.             <tr id=\"N-E-NUEVO-EJE\" parentId=\"PARENT-ID\" data-tt-id=\"N-E-NUEVO-EJE\" data-tt-parent-id=\"PARENT-ID\">
  447.                 <td>
  448.                     EJE
  449.                 </td>
  450.                 <td>
  451.                     <input field=\"nombre\" type=\"text\" name=\"test[ejes][PARENT-ID][N-E-NUEVO-EJE][nombre]\" class=\"editable\" old_value=\"\" style=\"width: 100%;\">    
  452.                 </td>
  453.                 <td colspan=\"4\"></td>
  454.                 <td>
  455.                     <div class=\"pull-left action-buttons\">
  456.                         <nobr>
  457.                             <a class=\"save save_eje hide\" href=\"\">
  458.                                 <i class=\"fas fa-save blue bigger-150\" title=\"Guardar\"></i>
  459.                             </a>
  460.                             <a class=\"cancel hide\" href=\"\">
  461.                                 <i class=\"fas fa-ban red bigger-150\" title=\"Cancelar\"></i>
  462.                             </a>
  463.                             <a class=\"new_criterio\" href=\"\">
  464.                                 <i class=\"fas fa-plus green bigger-150\" title=\"Nuevo criterio\"></i>
  465.                             </a>
  466.                             <a class=\"delete delete_eje\" href=\"\">
  467.                                 <i class=\"fas fa-trash red bigger-150\" title=\"Eliminar\"></i>
  468.                             </a>
  469.                         </nobr>
  470.                     </div>
  471.                 </td>
  472.             </tr>
  473.             <tr id=\"N-C-NUEVO-CRITERIO\" parentId=\"PARENT-ID\" data-tt-id=\"N-C-NUEVO-CRITERIO\" data-tt-parent-id=\"PARENT-ID\">
  474.                 <td>
  475.                     CRITERIO
  476.                 </td>
  477.                 <td>
  478.                     <input field=\"nombre\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][nombre]\" class=\"editable\" old_value=\"\" style=\"width: 100%;\">    
  479.                 </td>
  480.                 <td>
  481.                     <input field=\"riesgoBajoDesde\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][bajoDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">&nbsp;a&nbsp;<input field=\"riesgoBajoHasta\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][bajoDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">
  482.                 </td>
  483.                 <td>
  484.                     <input field=\"riesgoMedioDesde\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][medioDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">&nbsp;a&nbsp;<input field=\"riesgoMedioHasta\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][medioDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">
  485.                 </td>
  486.                 <td>
  487.                     <input field=\"riesgoAltoDesde\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][altoDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">&nbsp;a&nbsp;<input field=\"riesgoAltoHasta\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][altoDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">
  488.                 </td>
  489.                 <td></td>
  490.                 <td>
  491.                     <div class=\"pull-left action-buttons\">
  492.                         <nobr>
  493.                             <a class=\"save save_criterio hide\" href=\"\">
  494.                                 <i class=\"fas fa-save blue bigger-150\" title=\"Guardar\"></i>
  495.                             </a>
  496.                             <a class=\"cancel hide\" href=\"\">
  497.                                 <i class=\"fas fa-ban red bigger-150\" title=\"Cancelar\"></i>
  498.                             </a>
  499.                             <a class=\"new_pregunta\" href=\"\">
  500.                                 <i class=\"fas fa-plus green bigger-150\" title=\"Nueva pregunta\"></i>
  501.                             </a>
  502.                             <a class=\"delete delete_criterio\" href=\"\">
  503.                                 <i class=\"fas fa-trash red bigger-150\" title=\"Eliminar\"></i>
  504.                             </a>
  505.                         </nobr>
  506.                     </div>
  507.                 </td>
  508.             </tr>
  509.             <tr id=\"N-P-NUEVA-PREGUNTA\" parentId=\"PARENT-ID\" data-tt-id=\"N-P-NUEVA-PREGUNTA\" data-tt-parent-id=\"PARENT-ID\">
  510.                 <td>
  511.                     PREGUNTA
  512.                 </td>
  513.                 <td>
  514.                     <input field=\"nombre\" type=\"text\" name=\"test[preguntas][PARENT-ID][N-P-NUEVA-PREGUNTA][nombre]\" class=\"editable\" old_value=\"\" style=\"width: 100%;\">    
  515.                 </td>
  516.                 <td colspan=\"3\"></td>
  517.                 <td>
  518.                     <select field=\"tipo\" name=\"test[preguntas][PARENT-ID][N-P-NUEVA-PREGUNTA][tipo]\" class=\"editable\" old_value=\"directo\" style=\"width: 100%\">
  519.                         <option value=\"directo\">Directa</option>
  520.                         <option value=\"inverso\">Inversa</option>
  521.                     </select>
  522.                 </td>
  523.                 <td>
  524.                     <div class=\"pull-left action-buttons\">
  525.                         <nobr>
  526.                             <a class=\"save save_pregunta hide\" href=\"\">
  527.                                 <i class=\"fas fa-save blue bigger-150\" title=\"Guardar\"></i>
  528.                             </a>
  529.                             <a class=\"cancel hide\" href=\"\">
  530.                                 <i class=\"fas fa-ban red bigger-150\" title=\"Cancelar\"></i>
  531.                             </a>
  532.                             <a class=\"delete delete_pregunta\" href=\"\">
  533.                                 <i class=\"fas fa-trash red bigger-150\" title=\"Eliminar\"></i>
  534.                             </a>
  535.                         </nobr>
  536.                     </div>
  537.                 </td>
  538.             </tr>
  539.         </table>
  540.     </div>
  541.     <div id=\"dlg_otrosProcesos\">
  542.         ";
  543.         // line 656
  544.         $this->loadTemplate("ProcesoReclutamiento\\testPreguntasShow.html.twig""ProcesoReclutamiento\\show.html.twig"656)->display($context);
  545.         // line 657
  546.         echo "    </div>
  547.     
  548. ";
  549.         
  550.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  551.         
  552.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  553.     }
  554.     public function getTemplateName()
  555.     {
  556.         return "ProcesoReclutamiento\\show.html.twig";
  557.     }
  558.     public function isTraitable()
  559.     {
  560.         return false;
  561.     }
  562.     public function getDebugInfo()
  563.     {
  564.         return array (  593 => 657,  591 => 656,  437 => 505,  423 => 494,  416 => 489,  413 => 487,  410 => 202,  404 => 198,  401 => 197,  393 => 192,  390 => 191,  388 => 190,  381 => 186,  372 => 182,  368 => 181,  359 => 177,  355 => 176,  352 => 175,  349 => 173,  346 => 171,  339 => 165,  337 => 164,  333 => 163,  329 => 162,  325 => 161,  320 => 159,  315 => 156,  312 => 154,  309 => 152,  303 => 148,  297 => 145,  293 => 143,  283 => 136,  273 => 135,  260 => 129,  258 => 128,  253 => 125,  251 => 124,  216 => 92,  208 => 87,  133 => 16,  123 => 15,  111 => 12,  106 => 11,  96 => 10,  84 => 7,  80 => 6,  76 => 5,  71 => 4,  61 => 3,  38 => 1,);
  565.     }
  566.     public function getSourceContext()
  567.     {
  568.         return new Source("{% extends \"@crud\\\\crud\\\\show.html.twig\" %}
  569. {% block stylesheets %}
  570.     {{ parent() }}
  571.     <link type=\"text/css\" rel=\"stylesheet\" href=\"{{ asset('ace/css/jquery.treetable.css') }}\">
  572.     <link type=\"text/css\" rel=\"stylesheet\" href=\"{{ asset('ace/css/jquery.treetable.theme.default.css') }}\">
  573.     <!--link type=\"text/css\" rel=\"stylesheet\" href=\"{{ asset('style/jquery-ui.css') }}\"-->
  574. {% endblock %}
  575. {% block javascripts %}
  576.     {{ parent() }}
  577.     <script src=\"{{ asset('ace/js/jquery.treetable.js') }}\" type=\"text/javascript\"></script>
  578. {% endblock %}
  579. {% block jquery %}
  580.     {{ parent() }}
  581.     <script type=\"text/javascript\">
  582.         \$(function()
  583.         {
  584.             
  585.             \$('.masculino').change(function(e){
  586.                 var itemid = \$(this).attr('itemid');
  587.                 var registrados = \$('#unidad_registradoMasculino_'+itemid).val()*1;
  588.                 var cupo = \$('#unidad_cupoMasculino_'+itemid).val()*1;
  589.                 var adicionalCupo = \$('#unidad_adicionalMasculino_'+itemid).val()*1;
  590.                 var newCupo = cupo+((cupo*adicionalCupo)/100);
  591.                 if (newCupo<registrados)
  592.                 {
  593.                     alert('El valor indicado ('+\$(this).val()+') hace que el nuevo cupo total de la unidad ('+newCupo+') sea inferior a la cantidad de reclutas masculinos ya asignados ('+registrados+')');
  594.                     \$(this).val(\$(this).attr('oldvalue')); 
  595.                 }
  596.             });
  597.             \$('.femenino').change(function(e){
  598.                 var itemid = \$(this).attr('itemid');
  599.                 var registrados = \$('#unidad_registradoFemenino_'+itemid).val()*1;
  600.                 var cupo = \$('#unidad_cupoFemenino_'+itemid).val()*1;
  601.                 var adicionalCupo = \$('#unidad_adicionalFemenino_'+itemid).val()*1;
  602.                 var newCupo = cupo+((cupo*adicionalCupo)/100);
  603.                 if (newCupo<registrados)
  604.                 {
  605.                     alert('El valor indicado ('+\$(this).val()+') hace que el nuevo cupo total de la unidad ('+newCupo+') sea inferior a la cantidad de reclutas femeninos ya asignados ('+registrados+')');
  606.                     \$(this).val(\$(this).attr('oldvalue')); 
  607.                 }
  608.             });
  609.             \$('#crud_form_preocesoreclutamiento').submit(function(e){
  610.                 if (\$('.save').not('.hide').length > 0)
  611.                 {
  612.                     e.preventDefault();
  613.                     jAlert('Hay información sobre el test psicológico que no se ha guardado', 'Información');
  614.                 }
  615.             });
  616.             \$('#table_test_psicologico').treetable({ expandable: true, indent: 10 });    
  617.             \$('.new_sistema').click(function(e){
  618.                 e.preventDefault();
  619.                 var s = \$('#N-S-NUEVO-SISTEMA').prop(\"outerHTML\");
  620.                 s=s.replaceAll('NUEVO-SISTEMA', nuevoSistema);
  621.                 \$(\"#table_test_psicologico\").treetable(\"loadBranch\", null, s);
  622.                 bindButtons('N-S-'+nuevoSistema);
  623.                 nuevoSistema++;
  624.             });
  625.             \$( \"#dlg_otrosProcesos\" ).dialog({
  626.                 autoOpen: false,
  627.                 height: 610,
  628.                 width: 950,
  629.                 modal: true,
  630.                 resizable: false,
  631.                 title_html: true,
  632.                 title: '<div id=\"texto\" class=\"widget-header widget-header-small\"><h4 class=\"smaller green\"><i class=\"fas fa-recycle\"></i>&nbsp;Preguntas de otros procesos</h4></div>',
  633.                 buttons: {
  634.                     Usar: function() {
  635.                         if (\$('#test_otros').html().trim())
  636.                         {
  637.                             jConfirm('Si acepta usar estas preguntas perderá toda la información sobre las preguntas ya asociadas a este proceso.', 'Confirmar', function(r){
  638.                                 if (r) {
  639.                                     \$( \"#dlg_otrosProcesos\" ).dialog( \"close\" );
  640.                                     \$('#crud_form_procesoreclutamiento').mask('&nbsp;&nbsp;&nbsp;&nbsp;Cargando...');
  641.                                     var url = '{{ path('replicate_test_elements', {'procesoOrigen': '__PROCESO__', 'procesoDestino': entity.id }) }}';
  642.                                     url=url.replace('__PROCESO__', \$('#otros_procesos').val());
  643.                                     \$.getJSON(url , function(result){
  644.                                         if (result.ok)
  645.                                         {
  646.                                             var url = '{{ path('get_test_elements', {'proceso': entity.id, 'editable': 'YES'}) }}';
  647.                                             \$('#testPreguntas').load(url, function(){
  648.                                                 \$('#crud_form_procesoreclutamiento').unmask();
  649.                                                 /*\$('#table_test_psicologico').find('tbody').find('tr').each(function(){
  650.                                                     var id = \$(this).attr('id');
  651.                                                     id = 'N-'+id;
  652.                                                     \$(this).attr('id', id);
  653.                                                 });*/
  654.                                                 \$('#table_test_psicologico').treetable({ expandable: true, indent: 10 });    
  655.                                             });
  656.                                         }
  657.                                         else
  658.                                         {
  659.                                             \$('#crud_form_procesoreclutamiento').unmask();
  660.                                             jAlert(result.msg, 'Error');
  661.                                         }
  662.                                     });
  663.                                 }
  664.                             });
  665.                         }
  666.                     },
  667.                     Cancelar: function() {
  668.                         \$( \"#dlg_otrosProcesos\" ).dialog( \"close\" );
  669.                     }
  670.                 }
  671.             });
  672.             \$('#usar_otras_preguntas').click(function(e){
  673.                 e.preventDefault();
  674.                 \$( \"#dlg_otrosProcesos\" ).dialog('open');
  675.             });
  676.             {% include 'ProcesoReclutamiento\\\\formulario_jquery.html.twig' %}
  677.         });
  678. \t\t
  679.         {% include 'ProcesoReclutamiento\\\\formulario_jquery_functions.html.twig' %}
  680.     </script>    
  681. {% endblock %}
  682. {% block show_details %}
  683.     {{ parent() }}
  684.     
  685.     
  686.     <div class=\"row\">
  687.         <div class=\"col-xs-12\">
  688.             <div id=\"tabs\" class=\"tabs ui-tabs ui-widget ui-widget-content ui-corner-all\">
  689.                 {# Listado de los Tabs#}
  690.                 <ul id=\"tabs-container\" class=\"nav nav-tabs tabs-pull-left ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all\">
  691.                     <li class=\"active\">
  692.                         <a href=\"#tab-centros\" data-toggle=\"tab\">{{ 'procesoreclutamiento.endFormTabs.centrosReclutaHabilitados' | trans({}, 'crud') }}</a>
  693.                     </li>
  694.                     <li>
  695.                         <a href=\"#tab-test-psicologico\" data-toggle=\"tab\">{{ 'procesoreclutamiento.endFormTabs.testPsicologico' | trans({}, 'crud') }}</a>
  696.                     </li>
  697.                 </ul>
  698.                 {# END Listado de los Tabs#}
  699.                 {# DIV CONTENEDOR DE LOS 3 TABS #}
  700.                 <div class=\"tab-content ui-tabs ui-tabs-panel\" id=\"tabContainer\">
  701.                     {# Tab Centros de reclutamiento habilitados #}
  702.                     <div class=\"tab-pane active\" id=\"tab-centros\">
  703.                         <div class=\"row\">
  704.                             <div class=\"col-xs-12\">
  705.                                 <form id=\"estructura_centros\" action=\"{{ path('save_estructura_centros') }}\" method=\"post\">
  706.                                     <input type=\"submit\" class=\"btn btn-white btn-inverse btn-bold btn-round\" value=\"Guardar\">
  707.                                     <input type=\"hidden\" name=\"tree_form[id]\" value=\"{{ entity.id }}\">
  708.                                     <input type=\"hidden\" name=\"tree_form[routeClassName]\" value=\"{{ routeClassName }}\">
  709.                                     <input type=\"hidden\" name=\"tree_form[rol]\" value=\"{{ rol }}\">
  710.                                     {% include 'ProcesoReclutamiento\\\\basesCentrosUnidades.html.twig' %}
  711.                                     <input type=\"submit\" class=\"btn btn-white btn-inverse btn-bold btn-round\" value=\"Guardar\">
  712.                                 </form>
  713.                             </div>
  714.                         </div>
  715.                     </div>
  716.                     {# END Tab Centros de reclutamiento habilitados #}
  717.                     {# Tab Test psicólogico#}
  718.                     <div class=\"tab-pane\" id=\"tab-test-psicologico\">
  719.                         {#% include 'ProcesoReclutamiento\\\\preguntas.html.twig' %#}
  720.                         <a class=\"btnExpand\" onclick=\"jQuery('#table_test_psicologico').treetable('expandAll'); return false;\">
  721.                             <button class=\"btn btn-white btn-inverse btn-bold btn-round\" title=\"{% trans %}botones.expandir{% endtrans %}\">
  722.                                 <img src=\"{{ asset('images/icon/expandir.png') }}\" width=\"16px\"><span class=\"hidden-xs\">&nbsp;{% trans %}botones.expandir{% endtrans %}</span>
  723.                             </button>
  724.                         </a>
  725.                         <a class=\"btnExpand\" onclick=\"jQuery('#table_test_psicologico').treetable('collapseAll'); return false;\">
  726.                             <button class=\"btn btn-white btn-inverse btn-bold btn-round\" title=\"{% trans %}botones.recoger{% endtrans %}\">
  727.                                 <img src=\"{{ asset('images/icon/recoger.png') }}\" width=\"16px\"><span class=\"hidden-xs\">&nbsp;{% trans %}botones.recoger{% endtrans %}</span>
  728.                             </button>
  729.                         </a>
  730.                         <a class=\"new_sistema\" href=\"\">
  731.                             <button class=\"btn btn-white btn-inverse btn-bold btn-round\" title=\"{% trans %}botones.recoger{% endtrans %}\">
  732.                                 <i class=\"fas fa-plus green bigger-130\" title=\"Nuevo sistema\"></i>&nbsp;Nuevo Sistema
  733.                             </button>
  734.                         </a>
  735.                         {% if otrosProcesos | length > 0 %}
  736.                             <a id=\"usar_otras_preguntas\" href=\"\">
  737.                                 <button class=\"btn btn-white btn-inverse btn-bold btn-round\" title=\"{% trans %}botones.recoger{% endtrans %}\">
  738.                                     <i class=\"fas fa-recycle green bigger-130\" title=\"Usar preguntas de otro proceso\"></i>&nbsp;Usar preguntas de otro proceso
  739.                                 </button>
  740.                             </a>
  741.                         {% endif %}
  742.                         <div id=\"testPreguntas\">
  743.                             {{ render(controller('App\\\\Controller\\\\ProcesoReclutamientoController::getTestElementsAction', {'proceso': entity.id, 'editable': 'YES' })) }}
  744.                         </div>
  745.                     </div>
  746.                     {# END Tab Test psicólogico#}
  747.                     {# Tab Personal responsable
  748.                     <div class=\"tab-pane\" id=\"tab-personal-responsable\">
  749.                         <div class=\"row\">
  750.                             <div id=\"psicologo\" class=\"col-xs-6  full-row\">
  751.                                 <table class=\"table table-striped table-bordered table-hover\">
  752.                                     <tr>
  753.                                         <th style=\"width: 20%\">
  754.                                             <label id=\"label_form_psicologo\" class=required >
  755.                                                 Psicólogo
  756.                                             </label>
  757.                                             <label onclick=\"javascript:creaNuevoRelacion('procesoreclutamiento','form_psicologo'); return false;\" class=\"relacion\" data-rel=\"tooltip\" data-trigger=\"hover\" data-placement=\"top\" data-content=\"More details.\" title=\"Si no encuentra en la lista la información que necesita, pinche aquí para adicionarla\" style=\"cursor: pointer\" itemid=\"form_psicologo\">
  758.                                                 <i class=\"icon fas fa-plus-square green\" itemid=\"form_psicologo\"></i>&nbsp;
  759.                                             </label>
  760.                                         </th>
  761.                                         <td style=\"vertical-align: middle\">
  762.                                             {{ form_widget(form['psicologo']) }}
  763.                                         </td>
  764.                                     </tr>
  765.                                     <tr>
  766.                                         <th style=\"width: 20%\">
  767.                                             <label id=\"label_form_psicologoIdentificacion\" class=required >
  768.                                                 Identificacón
  769.                                             </label>
  770.                                         </th>
  771.                                         <td style=\"vertical-align: middle\">
  772.                                             {{ form_widget(form['psicologoIdentificacion']) }}
  773.                                         </td>
  774.                                     </tr>
  775.                                     <tr class=\"\">
  776.                                         <th style=\"width: 20%\">
  777.                                             <label id=\"label_form_psicologoNombres\" class=required >
  778.                                                 Nombre
  779.                                             </label>
  780.                                         </th>
  781.                                         <td style=\"vertical-align: middle\">
  782.                                             {{ form_widget(form['psicologoNombres']) }}
  783.                                         </td>
  784.                                     </tr>
  785.                                     <tr>
  786.                                         <th style=\"width: 20%\">
  787.                                             <label id=\"label_form_psicologoApellidos\"  >
  788.                                                 Apellidos
  789.                                             </label>
  790.                                         </th>
  791.                                         <td style=\"vertical-align: middle\">
  792.                                             {{ form_widget(form['psicologoApellidos']) }}
  793.                                         </td>
  794.                                     </tr>
  795.                                     <tr>
  796.                                         <th style=\"width: 20%\">
  797.                                             <label id=\"label_form_psicologoCargo\"  >
  798.                                                 Cargo
  799.                                             </label>
  800.                                         </th>
  801.                                         <td style=\"vertical-align: middle\">
  802.                                             {{ form_widget(form['psicologoCargo']) }}
  803.                                         </td>
  804.                                     </tr>
  805.                                     <tr>
  806.                                         <th style=\"width: 20%\">
  807.                                             <label id=\"label_form_psicologoGrado\"  >
  808.                                                 Grado
  809.                                             </label>
  810.                                         </th>
  811.                                         <td style=\"vertical-align: middle\">
  812.                                             {{ form_widget(form['psicologoGrado']) }}
  813.                                         </td>
  814.                                     </tr>
  815.                                 </table>
  816.                             </div>
  817.                             <div id=\"medico\" class=\"col-xs-6  full-row\">
  818.                                 <table class=\"table table-striped table-bordered table-hover\">
  819.                                     <tr>
  820.                                         <th style=\"width: 20%\">
  821.                                             <label id=\"label_form_medico\" class=required >
  822.                                                 Médico,
  823.                                             </label>
  824.                                             <label onclick=\"javascript:creaNuevoRelacion('procesoreclutamiento','form_medico'); return false;\" class=\"relacion\" data-rel=\"tooltip\" data-trigger=\"hover\" data-placement=\"top\" data-content=\"More details.\" title=\"Si no encuentra en la lista la información que necesita, pinche aquí para adicionarla\" style=\"cursor: pointer\" itemid=\"form_medico\">
  825.                                                 <i class=\"icon fas fa-plus-square green\" itemid=\"form_medico\"></i>&nbsp;
  826.                                             </label>
  827.                                         </th>
  828.                                         <td style=\"vertical-align: middle\">
  829.                                             {{ form_widget(form['medico']) }}
  830.                                         </td>
  831.                                     </tr>
  832.                                     <tr>
  833.                                         <th style=\"width: 20%\">
  834.                                             <label id=\"label_form_medicoIdentificacion\" class=required >
  835.                                                 Identificación
  836.                                             </label>
  837.                                         </th>
  838.                                         <td style=\"vertical-align: middle\">
  839.                                             {{ form_widget(form['medicoIdentificacion']) }}
  840.                                         </td>
  841.                                     </tr>
  842.                                     <tr>
  843.                                         <th style=\"width: 20%\">
  844.                                             <label id=\"label_form_medicoNombres\" class=required >
  845.                                                 Nombre
  846.                                             </label>
  847.                                         </th>
  848.                                         <td style=\"vertical-align: middle\">
  849.                                             {{ form_widget(form['medicoNombres']) }}
  850.                                         </td>
  851.                                     </tr>
  852.                                     <tr>
  853.                                         <th style=\"width: 20%\">
  854.                                             <label id=\"label_form_medicoApellidos\"  >
  855.                                                 Apellidos
  856.                                             </label>
  857.                                         </th>
  858.                                         <td style=\"vertical-align: middle\">
  859.                                             {{ form_widget(form['medicoApellidos']) }}
  860.                                         </td>
  861.                                     </tr>
  862.                                     <tr>
  863.                                         <th style=\"width: 20%\">
  864.                                             <label id=\"label_form_medicoCargo\"  >
  865.                                                 Cargo
  866.                                             </label>
  867.                                         </th>
  868.                                         <td style=\"vertical-align: middle\">
  869.                                             {{ form_widget(form['medicoCargo']) }}
  870.                                         </td>
  871.                                     </tr>
  872.                                     <tr>
  873.                                         <th style=\"width: 20%\">
  874.                                             <label id=\"label_form_medicoGrado\"  >
  875.                                                 Grado
  876.                                             </label>
  877.                                         </th>
  878.                                         <td style=\"vertical-align: middle\">
  879.                                             {{ form_widget(form['medicoGrado']) }}
  880.                                         </td>
  881.                                     </tr>
  882.                                 </table>
  883.                             </div>
  884.                         </div>
  885.                         <div class=\"row\">
  886.                             <div class=\"col-xs-12\">
  887.                                 <div class=\"hr hr-8 hr-dotted\"></div>
  888.                             </div>
  889.                         </div>
  890.                         <div class=\"row\">
  891.                             <div id=\"odontologo\" class=\"col-xs-6  full-row\">
  892.                                 <table class=\"table table-striped table-bordered table-hover\">
  893.                                     <tr>
  894.                                         <th style=\"width: 20%\">
  895.                                             <label id=\"label_form_odontologo\" class=required >
  896.                                                 Odontólogo
  897.                                             </label>
  898.                                             <label onclick=\"javascript:creaNuevoRelacion('procesoreclutamiento','form_odontologo'); return false;\" class=\"relacion\" data-rel=\"tooltip\" data-trigger=\"hover\" data-placement=\"top\" data-content=\"More details.\" title=\"Si no encuentra en la lista la información que necesita, pinche aquí para adicionarla\" style=\"cursor: pointer\" itemid=\"form_odontologo\">
  899.                                                 <i class=\"icon fas fa-plus-square green\" itemid=\"form_odontologo\"></i>&nbsp;
  900.                                             </label>
  901.                                         </th>
  902.                                         <td style=\"vertical-align: middle\">
  903.                                             {{ form_widget(form['odontologo']) }}
  904.                                         </td>
  905.                                     </tr>
  906.                                     <tr>
  907.                                         <th style=\"width: 20%\">
  908.                                             <label id=\"label_form_odontologoIdentificacion\" class=required >
  909.                                                 Identificación
  910.                                             </label>
  911.                                         </th>
  912.                                         <td style=\"vertical-align: middle\">
  913.                                             {{ form_widget(form['odontologoIdentificacion']) }}
  914.                                         </td>
  915.                                     </tr>
  916.                                     <tr>
  917.                                         <th style=\"width: 20%\">
  918.                                             <label id=\"label_form_odontologoNombres\" class=required >
  919.                                                 Nombre
  920.                                             </label>
  921.                                         </th>
  922.                                         <td style=\"vertical-align: middle\">
  923.                                             {{ form_widget(form['odontologoNombres']) }}
  924.                                         </td>
  925.                                     </tr>
  926.                                     <tr>
  927.                                         <th style=\"width: 20%\">
  928.                                             <label id=\"label_form_odontologoApellidos\"  >
  929.                                                 Apellidos
  930.                                             </label>
  931.                                         </th>
  932.                                         <td style=\"vertical-align: middle\">
  933.                                             {{ form_widget(form['odontologoApellidos']) }}
  934.                                         </td>
  935.                                     </tr>
  936.                                     <tr>
  937.                                         <th style=\"width: 20%\">
  938.                                             <label id=\"label_form_odontologoCargo\"  >
  939.                                                 Cargo
  940.                                             </label>
  941.                                         </th>
  942.                                         <td style=\"vertical-align: middle\">
  943.                                             {{ form_widget(form['odontologoCargo']) }}
  944.                                         </td>
  945.                                     </tr>
  946.                                     <tr>
  947.                                         <th style=\"width: 20%\">
  948.                                             <label id=\"label_form_odontologoGrado\"  >
  949.                                                 Grado
  950.                                             </label>
  951.                                         </th>
  952.                                         <td style=\"vertical-align: middle\">
  953.                                             {{ form_widget(form['odontologoGrado']) }}
  954.                                         </td>
  955.                                     </tr>
  956.                                 </table>
  957.                             </div>
  958.                             <div id=\"laboratorista\" class=\"col-xs-6  full-row\">
  959.                                 <table class=\"table table-striped table-bordered table-hover\">
  960.                                     <tr>
  961.                                         <th style=\"width: 20%\">
  962.                                             <label id=\"label_form_laboratorista\" class=required >
  963.                                                 Laboratorista
  964.                                             </label>
  965.                                             <label onclick=\"javascript:creaNuevoRelacion('procesoreclutamiento','form_laboratorista'); return false;\" class=\"relacion\" data-rel=\"tooltip\" data-trigger=\"hover\" data-placement=\"top\" data-content=\"More details.\" title=\"Si no encuentra en la lista la información que necesita, pinche aquí para adicionarla\" style=\"cursor: pointer\" itemid=\"form_laboratorista\">
  966.                                                 <i class=\"icon fas fa-plus-square green\" itemid=\"form_laboratorista\"></i>&nbsp;
  967.                                             </label>
  968.                                         </th>
  969.                                         <td style=\"vertical-align: middle\">
  970.                                             {{ form_widget(form['laboratorista']) }}
  971.                                         </td>
  972.                                     </tr>
  973.                                     <tr>
  974.                                         <th style=\"width: 20%\">
  975.                                             <label id=\"label_form_laboratoristaIdentificacion\" class=required >
  976.                                                 Identificación
  977.                                             </label>
  978.                                         </th>
  979.                                         <td style=\"vertical-align: middle\">
  980.                                             {{ form_widget(form['laboratoristaIdentificacion']) }}
  981.                                         </td>
  982.                                     </tr>
  983.                                     <tr>
  984.                                         <th style=\"width: 20%\">
  985.                                             <label id=\"label_form_laboratoristaNombres\" class=required >
  986.                                                 Nombre
  987.                                             </label>
  988.                                         </th>
  989.                                         <td style=\"vertical-align: middle\">
  990.                                             {{ form_widget(form['laboratoristaNombres']) }}
  991.                                         </td>
  992.                                     </tr>
  993.                                     <tr>
  994.                                         <th style=\"width: 20%\">
  995.                                             <label id=\"label_form_laboratoristaApellidos\"  >
  996.                                                 Apellidos
  997.                                             </label>
  998.                                         </th>
  999.                                         <td style=\"vertical-align: middle\">
  1000.                                             {{ form_widget(form['laboratoristaApellidos']) }}
  1001.                                         </td>
  1002.                                     </tr>
  1003.                                     <tr>
  1004.                                         <th style=\"width: 20%\">
  1005.                                             <label id=\"label_form_laboratoristaCargo\"  >
  1006.                                                 Cargo
  1007.                                             </label>
  1008.                                         </th>
  1009.                                         <td style=\"vertical-align: middle\">
  1010.                                             {{ form_widget(form['laboratoristaCargo']) }}
  1011.                                         </td>
  1012.                                     </tr>
  1013.                                     <tr>
  1014.                                         <th style=\"width: 20%\">
  1015.                                             <label id=\"label_form_laboratoristaGrado\"  >
  1016.                                                 Grado
  1017.                                             </label>
  1018.                                         </th>
  1019.                                         <td style=\"vertical-align: middle\">
  1020.                                             {{ form_widget(form['laboratoristaGrado']) }}
  1021.                                         </td>
  1022.                                     </tr>
  1023.                                 </table>
  1024.                             </div>
  1025.                         </div>
  1026.                     </div>
  1027.                      END Tab Personal responsable#}
  1028.                 </div>
  1029.                 {# END DIV CONTENEDOR DE LOS 3 TABS #}
  1030.             </div>
  1031.         </div>
  1032.     </div>
  1033.     
  1034.     <div class='hide'>
  1035.         <form id=\"form_save\" action=\"{{ path('save_test_element') }}\" method=\"post\">
  1036.            <input id=\"form_save_id\"               type=\"text\" name=\"test[id]\"> 
  1037.            <input id=\"form_save_parent\"           type=\"text\" name=\"test[parentId]\"> 
  1038.            <input id=\"form_save_nombre\"           type=\"text\" name=\"test[nombre]\"> 
  1039.            <input id=\"form_save_riesgoBajoDesde\"  type=\"text\" name=\"test[riesgoBajoDesde]\"> 
  1040.            <input id=\"form_save_riesgoBajoHasta\"  type=\"text\" name=\"test[riesgoBajoHasta]\"> 
  1041.            <input id=\"form_save_riesgoMedioDesde\" type=\"text\" name=\"test[riesgoMedioDesde]\"> 
  1042.            <input id=\"form_save_riesgoMedioHasta\" type=\"text\" name=\"test[riesgoMedioHasta]\"> 
  1043.            <input id=\"form_save_riesgoAltoDesde\"  type=\"text\" name=\"test[riesgoAltoDesde]\"> 
  1044.            <input id=\"form_save_riesgoAltoHasta\"  type=\"text\" name=\"test[riesgoAltoHasta]\"> 
  1045.            <input id=\"form_save_tipo\"             type=\"text\" name=\"test[tipo]\"> 
  1046.            <input id=\"form_save_proceso\"          type=\"text\" name=\"test[proceso]\" value=\"{{ entity.id }}\"> 
  1047.         </form>
  1048.         <div id=\"delete_alert\" class=\"alert alert-danger\">
  1049.             <button type=\"button\" class=\"close\" data-dismiss=\"alert\">
  1050.                 <i class=\"fas fa-times\"></i>
  1051.             </button>
  1052.             <strong>
  1053.                 <i class=\"fas fa-info-circle bigger-150\"></i>
  1054.                 No fue posible eliminar este elemento   
  1055.             </strong>
  1056.             <br>
  1057.         </div>
  1058.         <div id=\"save_alert\" class=\"alert alert-danger\">
  1059.             <button type=\"button\" class=\"close\" data-dismiss=\"alert\">
  1060.                 <i class=\"fas fa-times\"></i>
  1061.             </button>
  1062.             <strong>
  1063.                 <i class=\"fas fa-info-circle bigger-150\"></i>
  1064.                 No fue posible guardar este elemento   
  1065.             </strong>
  1066.             <br>
  1067.         </div>
  1068.         <table id=\"table_reference\">
  1069.             <tr id=\"N-S-NUEVO-SISTEMA\" parentId=\"\" data-tt-id=\"N-S-NUEVO-SISTEMA\" data-tt-parent-id=\"\">
  1070.                 <td>
  1071.                     SISTEMA
  1072.                 </td>
  1073.                 <td>
  1074.                     <input field=\"nombre\" type=\"text\" class=\"editable\" name=\"test[sistemas][N-S-NUEVO-SISTEMA][nombre]\"old_value=\"\" style=\"width: 100%;\">    
  1075.                 </td>
  1076.                 <td colspan=\"4\"></td>
  1077.                 <td>
  1078.                     <div class=\"pull-left action-buttons\">
  1079.                         <nobr>
  1080.                             <a class=\"save save_sistema hide\" href=\"\">
  1081.                                 <i class=\"fas fa-save blue bigger-150\" title=\"Guardar\"></i>
  1082.                             </a>
  1083.                             <a class=\"cancel hide\" href=\"\">
  1084.                                 <i class=\"fas fa-ban red bigger-150\" title=\"Cancelar\"></i>
  1085.                             </a>
  1086.                             <a class=\"new_eje\" href=\"\">
  1087.                                 <i class=\"fas fa-plus green bigger-150\" title=\"Nuevo eje\"></i>
  1088.                             </a>
  1089.                             <a class=\"delete delete_sistema\" href=\"\">
  1090.                                 <i class=\"fas fa-trash red bigger-150\" title=\"Eliminar\"></i>
  1091.                             </a>
  1092.                         </nobr>
  1093.                     </div>
  1094.                 </td>
  1095.             </tr>
  1096.             <tr id=\"N-E-NUEVO-EJE\" parentId=\"PARENT-ID\" data-tt-id=\"N-E-NUEVO-EJE\" data-tt-parent-id=\"PARENT-ID\">
  1097.                 <td>
  1098.                     EJE
  1099.                 </td>
  1100.                 <td>
  1101.                     <input field=\"nombre\" type=\"text\" name=\"test[ejes][PARENT-ID][N-E-NUEVO-EJE][nombre]\" class=\"editable\" old_value=\"\" style=\"width: 100%;\">    
  1102.                 </td>
  1103.                 <td colspan=\"4\"></td>
  1104.                 <td>
  1105.                     <div class=\"pull-left action-buttons\">
  1106.                         <nobr>
  1107.                             <a class=\"save save_eje hide\" href=\"\">
  1108.                                 <i class=\"fas fa-save blue bigger-150\" title=\"Guardar\"></i>
  1109.                             </a>
  1110.                             <a class=\"cancel hide\" href=\"\">
  1111.                                 <i class=\"fas fa-ban red bigger-150\" title=\"Cancelar\"></i>
  1112.                             </a>
  1113.                             <a class=\"new_criterio\" href=\"\">
  1114.                                 <i class=\"fas fa-plus green bigger-150\" title=\"Nuevo criterio\"></i>
  1115.                             </a>
  1116.                             <a class=\"delete delete_eje\" href=\"\">
  1117.                                 <i class=\"fas fa-trash red bigger-150\" title=\"Eliminar\"></i>
  1118.                             </a>
  1119.                         </nobr>
  1120.                     </div>
  1121.                 </td>
  1122.             </tr>
  1123.             <tr id=\"N-C-NUEVO-CRITERIO\" parentId=\"PARENT-ID\" data-tt-id=\"N-C-NUEVO-CRITERIO\" data-tt-parent-id=\"PARENT-ID\">
  1124.                 <td>
  1125.                     CRITERIO
  1126.                 </td>
  1127.                 <td>
  1128.                     <input field=\"nombre\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][nombre]\" class=\"editable\" old_value=\"\" style=\"width: 100%;\">    
  1129.                 </td>
  1130.                 <td>
  1131.                     <input field=\"riesgoBajoDesde\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][bajoDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">&nbsp;a&nbsp;<input field=\"riesgoBajoHasta\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][bajoDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">
  1132.                 </td>
  1133.                 <td>
  1134.                     <input field=\"riesgoMedioDesde\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][medioDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">&nbsp;a&nbsp;<input field=\"riesgoMedioHasta\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][medioDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">
  1135.                 </td>
  1136.                 <td>
  1137.                     <input field=\"riesgoAltoDesde\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][altoDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">&nbsp;a&nbsp;<input field=\"riesgoAltoHasta\" type=\"text\" name=\"test[criterios][PARENT-ID][N-C-NUEVO-CRITERIO][altoDesde]\" class=\"editable\" style=\"width: 50px;\" old_value=\"\">
  1138.                 </td>
  1139.                 <td></td>
  1140.                 <td>
  1141.                     <div class=\"pull-left action-buttons\">
  1142.                         <nobr>
  1143.                             <a class=\"save save_criterio hide\" href=\"\">
  1144.                                 <i class=\"fas fa-save blue bigger-150\" title=\"Guardar\"></i>
  1145.                             </a>
  1146.                             <a class=\"cancel hide\" href=\"\">
  1147.                                 <i class=\"fas fa-ban red bigger-150\" title=\"Cancelar\"></i>
  1148.                             </a>
  1149.                             <a class=\"new_pregunta\" href=\"\">
  1150.                                 <i class=\"fas fa-plus green bigger-150\" title=\"Nueva pregunta\"></i>
  1151.                             </a>
  1152.                             <a class=\"delete delete_criterio\" href=\"\">
  1153.                                 <i class=\"fas fa-trash red bigger-150\" title=\"Eliminar\"></i>
  1154.                             </a>
  1155.                         </nobr>
  1156.                     </div>
  1157.                 </td>
  1158.             </tr>
  1159.             <tr id=\"N-P-NUEVA-PREGUNTA\" parentId=\"PARENT-ID\" data-tt-id=\"N-P-NUEVA-PREGUNTA\" data-tt-parent-id=\"PARENT-ID\">
  1160.                 <td>
  1161.                     PREGUNTA
  1162.                 </td>
  1163.                 <td>
  1164.                     <input field=\"nombre\" type=\"text\" name=\"test[preguntas][PARENT-ID][N-P-NUEVA-PREGUNTA][nombre]\" class=\"editable\" old_value=\"\" style=\"width: 100%;\">    
  1165.                 </td>
  1166.                 <td colspan=\"3\"></td>
  1167.                 <td>
  1168.                     <select field=\"tipo\" name=\"test[preguntas][PARENT-ID][N-P-NUEVA-PREGUNTA][tipo]\" class=\"editable\" old_value=\"directo\" style=\"width: 100%\">
  1169.                         <option value=\"directo\">Directa</option>
  1170.                         <option value=\"inverso\">Inversa</option>
  1171.                     </select>
  1172.                 </td>
  1173.                 <td>
  1174.                     <div class=\"pull-left action-buttons\">
  1175.                         <nobr>
  1176.                             <a class=\"save save_pregunta hide\" href=\"\">
  1177.                                 <i class=\"fas fa-save blue bigger-150\" title=\"Guardar\"></i>
  1178.                             </a>
  1179.                             <a class=\"cancel hide\" href=\"\">
  1180.                                 <i class=\"fas fa-ban red bigger-150\" title=\"Cancelar\"></i>
  1181.                             </a>
  1182.                             <a class=\"delete delete_pregunta\" href=\"\">
  1183.                                 <i class=\"fas fa-trash red bigger-150\" title=\"Eliminar\"></i>
  1184.                             </a>
  1185.                         </nobr>
  1186.                     </div>
  1187.                 </td>
  1188.             </tr>
  1189.         </table>
  1190.     </div>
  1191.     <div id=\"dlg_otrosProcesos\">
  1192.         {% include 'ProcesoReclutamiento\\\\testPreguntasShow.html.twig' %}
  1193.     </div>
  1194.     
  1195. {% endblock %}""ProcesoReclutamiento\\show.html.twig""/data/produccion/integral/src/templates/ProcesoReclutamiento/show.html.twig");
  1196.     }
  1197. }