<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* educadores/notas.html.twig */
class __TwigTemplate_5e84c3844197c3d082362e49e5e654f9 extends \Twig\Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'body' => [$this, 'block_body'],
            'javascripts' => [$this, 'block_javascripts'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "inc/base.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        $this->parent = $this->loadTemplate("inc/base.html.twig", "educadores/notas.html.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 2
    public function block_body($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 3
        echo "<div class=\"container\">
<div class='row'>
<div class='col-md-8'>
<h2>Educador: ";
        // line 6
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "id_ed", [], "any", false, false, false, 6), "html", null, true);
        echo "&nbsp;-&nbsp;";
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "ape_ed", [], "any", false, false, false, 6), "html", null, true);
        echo "&nbsp;";
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "nom_ed", [], "any", false, false, false, 6), "html", null, true);
        echo "</h2>
<strong style=\"font-size: larger\">Curso:&nbsp;";
        // line 7
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "codigo", [], "any", false, false, false, 7), "html", null, true);
        echo "&nbsp;&nbsp;&nbsp;T&eacute;cnica:&nbsp;";
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["ver_tecnica"] ?? null), "descripcion", [], "any", false, false, false, 7), "html", null, true);
        echo "-(";
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "tecnica", [], "any", false, false, false, 7), "html", null, true);
        echo ") </strong>
<strong style=\"font-size: larger\">Carga:&nbsp;";
        // line 8
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "carga_mes", [], "any", false, false, false, 8), "html", null, true);
        echo "&nbsp;&nbsp;&nbsp;Mes:&nbsp;";
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "mes", [], "any", false, false, false, 8), "html", null, true);
        echo "&nbsp;&nbsp;&nbsp;A&ntilde;o:&nbsp;";
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "ano", [], "any", false, false, false, 8), "html", null, true);
        echo " </strong>
<!--nro:";
        // line 9
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "nro_eval", [], "any", false, false, false, 9), "html", null, true);
        echo "*";
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "nro_id", [], "any", false, false, false, 9), "html", null, true);
        echo "-->
</div>
<div class='col-md-4 text-center'>
";
        // line 12
        $context["nro_eval"] = twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "nro_eval", [], "any", false, false, false, 12);
        // line 13
        echo "    ";
        if ((($context["nro_eval"] ?? null) < 5)) {
            // line 14
            echo "<!--    <button type=\"button\" class=\"btn btn-success\" data-toggle=\"modal\" data-target=\"#ModalNota\" data-whatever=\"@mdo\"><i class=\"fa fa-add\">&nbsp;</i>Agregar</button>
-->
&nbsp;&nbsp;&nbsp;
<a href=\"";
            // line 17
            echo twig_escape_filter($this->env, twig_constant("URLROOT2"), "html", null, true);
            echo "/educadores/notas_agregar/";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "nro_id", [], "any", false, false, false, 17), "html", null, true);
            echo "\" class=\"btn btn-success pull-right\"><i class=\"fa fa-plus-circle\"></i> Agregar Nota</a>
&nbsp;&nbsp;&nbsp;
    ";
        }
        // line 20
        echo "&nbsp;&nbsp;&nbsp;<a href=\"";
        echo twig_escape_filter($this->env, twig_constant("URLROOT2"), "html", null, true);
        echo "/educadores/evaluaciones/";
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "id", [], "any", false, false, false, 20), "html", null, true);
        echo "\" class=\"btn btn-danger pull-right\"><i class=\"fa fa-backward\"></i> Regresar</a>
</div>
";
        // line 22
        if ( !twig_test_empty(($context["msj_err"] ?? null))) {
            // line 23
            echo "<div class=\"col-12 text-center\">
<div class=\"alert alert-danger\" role=\"alert\">
    ";
            // line 25
            echo twig_escape_filter($this->env, ($context["msj_err"] ?? null), "html", null, true);
            echo "
</div>
</div>
";
        }
        // line 29
        echo "</div>
</div>
<table class=\"table table-striped table-hover table-sm\" style=\"font-size: small;\">
  <thead style=\"background-color: #006699;color:#FFFFFF;\">
    <tr class=\"d-flex\">
    <th class='col-sm-1 text-center'>No.</th>
    <th class='col-sm-1 text-center'>Cedula</th>
    <th class='col-sm-4 text-center'>Alumnos</th>
";
        // line 37
        $context["evalnro"] = 1;
        // line 38
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["reg_eval"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["reg_evalx"]) {
            // line 39
            echo "    <th class='col-sm-1 text-center'>Nota ";
            echo twig_escape_filter($this->env, ($context["evalnro"] ?? null), "html", null, true);
            echo "<br>
    <a id=\"asigap\" class=\"btn btn-warning btn-sm\" href=\"#\" data-nro=\"";
            // line 40
            echo twig_escape_filter($this->env, ($context["evalnro"] ?? null), "html", null, true);
            echo "\" data-token=\"";
            echo twig_escape_filter($this->env, ($context["evalnro"] ?? null), "html", null, true);
            echo "\$";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "nro_id", [], "any", false, false, false, 40), "html", null, true);
            echo "\$";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "codigo", [], "any", false, false, false, 40), "html", null, true);
            echo "\" data-fecha=\"";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["reg_evalx"], "fecha", [], "any", false, false, false, 40), "html", null, true);
            echo "\" data-eval=\"";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["reg_evalx"], "objetivo", [], "any", false, false, false, 40), "html", null, true);
            echo "\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Modificar Nota\"><i class=\"fa fa-edit\"></i></a>
    ";
            // line 41
            if ((($context["evalnro"] ?? null) == twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "nro_eval", [], "any", false, false, false, 41))) {
                // line 42
                echo "    <a id=\"asigapxx\" class=\"btn btn-danger btn-sm\" href=\"#\" data-token=\"";
                echo twig_escape_filter($this->env, ($context["evalnro"] ?? null), "html", null, true);
                echo "\" data-id=\"";
                echo twig_escape_filter($this->env, ($context["evalnro"] ?? null), "html", null, true);
                echo "\$";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "nro_id", [], "any", false, false, false, 42), "html", null, true);
                echo "\$";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "codigo", [], "any", false, false, false, 42), "html", null, true);
                echo "\" data-fecha=\"";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["reg_evalx"], "fecha", [], "any", false, false, false, 42), "html", null, true);
                echo "\" data-eval=\"";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["reg_evalx"], "objetivo", [], "any", false, false, false, 42), "html", null, true);
                echo "\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Eliminar Nota\"><i class=\"fa fa-trash\"></i></a>
    ";
            }
            // line 44
            echo "    </th>
";
            // line 45
            $context["evalnro"] = (($context["evalnro"] ?? null) + 1);
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['reg_evalx'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 47
        echo "
";
        // line 48
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(range(($context["evalnro"] ?? null), 5));
        foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
            // line 49
            echo "   <th class='col-sm-1 text-center'>Nota ";
            echo twig_escape_filter($this->env, $context["i"], "html", null, true);
            echo "<br>
   </th>
";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 52
        echo "<!--     <th class='col-sm-1 text-center'>Nota 3<br>
    <a id=\"asigap\" class=\"btn btn-warning btn-sm\" href=\"#\" data-token=\"3\$";
        // line 53
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "nro_id", [], "any", false, false, false, 53), "html", null, true);
        echo "\$";
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "codigo", [], "any", false, false, false, 53), "html", null, true);
        echo "\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Modificar Nota\"><i class=\"fa fa-edit\"></i></a>&nbsp;&nbsp;&nbsp;
    </th>
    <th class='col-sm-1 text-center'>Nota 4<br>
    <a id=\"asigap\" class=\"btn btn-warning btn-sm\" href=\"#\" data-token=\"4\$";
        // line 56
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "nro_id", [], "any", false, false, false, 56), "html", null, true);
        echo "\$";
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "codigo", [], "any", false, false, false, 56), "html", null, true);
        echo "\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Modificar Nota\"><i class=\"fa fa-edit\"></i></a>&nbsp;&nbsp;&nbsp;
    </th>
    <th class='col-sm-1 text-center'>Nota 5<br>
    <a id=\"asigap\" class=\"btn btn-warning btn-sm\" href=\"#\" data-token=\"5\$";
        // line 59
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "nro_id", [], "any", false, false, false, 59), "html", null, true);
        echo "\$";
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "codigo", [], "any", false, false, false, 59), "html", null, true);
        echo "\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Modificar Nota\"><i class=\"fa fa-edit\"></i></a>&nbsp;&nbsp;&nbsp;
    </th>-->
    <th class='col-sm-1 text-center'>Nota F.</th>
    </tr>
  </thead>
  <tbody>
";
        // line 65
        $context["nro"] = 1;
        // line 66
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["eval_notas"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["eval_nota"]) {
            // line 67
            echo "

    <tr class=\"d-flex\">
      <td class='col-sm-1 text-center'>";
            // line 70
            echo twig_escape_filter($this->env, ($context["nro"] ?? null), "html", null, true);
            echo "</td>
      <td class='col-sm-1 text-center'>";
            // line 71
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "cedula", [], "any", false, false, false, 71), "html", null, true);
            echo "</td>
";
            // line 72
            if ((twig_get_attribute($this->env, $this->source, $context["eval_nota"], "tag1", [], "any", false, false, false, 72) == "ACTIVO")) {
                // line 73
                echo "      <th class='col-sm-4 text-center'>";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "apellidos", [], "any", false, false, false, 73), "html", null, true);
                echo "&nbsp;";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "nombres", [], "any", false, false, false, 73), "html", null, true);
                echo "&nbsp;(";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "tag1", [], "any", false, false, false, 73), "html", null, true);
                echo ")</th>
";
            } else {
                // line 75
                echo "      <th class='col-sm-4 text-center' style=\"color:#FA0000;\">";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "apellidos", [], "any", false, false, false, 75), "html", null, true);
                echo "&nbsp;";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "nombres", [], "any", false, false, false, 75), "html", null, true);
                echo "&nbsp;(";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "tag1", [], "any", false, false, false, 75), "html", null, true);
                echo ")</th>
";
            }
            // line 77
            echo "      <th class='col-sm-1 text-center'>";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "nt1", [], "any", false, false, false, 77), "html", null, true);
            echo "</th>
      <th class='col-sm-1 text-center'>";
            // line 78
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "nt2", [], "any", false, false, false, 78), "html", null, true);
            echo "</th>
      <th class='col-sm-1 text-center'>";
            // line 79
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "nt3", [], "any", false, false, false, 79), "html", null, true);
            echo "</th>
      <th class='col-sm-1 text-center'>";
            // line 80
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "nt4", [], "any", false, false, false, 80), "html", null, true);
            echo "</th>
      <th class='col-sm-1 text-center'>";
            // line 81
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "nt5", [], "any", false, false, false, 81), "html", null, true);
            echo "</th>
      <th class='col-sm-1 text-center'>";
            // line 82
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "ntf", [], "any", false, false, false, 82), "html", null, true);
            echo "</th>
    </tr>
";
            // line 84
            $context["nro"] = (($context["nro"] ?? null) + 1);
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['eval_nota'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 86
        echo "
</tbody>
</table>

<div class=\"modal fade bd-modal-lg\" id=\"ModalNota\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-lg\" role=\"document\">
<form action=\"";
        // line 92
        echo twig_escape_filter($this->env, twig_constant("URLROOT2"), "html", null, true);
        echo "/educadores/guardarEval\" method=\"post\">
    <div class=\"modal-content\">
      <div class=\"modal-header\">
        <h5 class=\"modal-title\" id=\"exampleModalLabel\">Carga de Notas</h5>
        <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
          <span aria-hidden=\"true\">&times;</span>
        </button>
      </div>
    <div class=\"modal-body\">
    <div class=\"form-row\">
        <div class=\"form-group col-md-4\">
            ";
        // line 103
        $context["nro_eval"] = (($context["nro_eval"] ?? null) + 1);
        // line 104
        echo "            <label for=\"message-text\">Fecha de la Evaluaci&oacute;n - No.:";
        echo twig_escape_filter($this->env, ($context["nro_eval"] ?? null), "html", null, true);
        echo "</label>
            <input class=\"form-control\" type=\"date\" id=\"fecha\" name=\"fecha\" value=\"";
        // line 105
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "dia_hoy", [], "any", false, false, false, 105), "html", null, true);
        echo "\"  required/>
        </div>

        <div class=\"form-group col-md-8\">
        <label for=\"recipient-name\">Objetivo:</label>
        <input class=\"form-control\" type=\"text\" id=\"objetivo\" name=\"objetivo\" value=\"\" maxlength=\"100\" required/>
        </div>
    </div>
    <div class=\"form-row\">
    <input type='hidden' name=\"no_eval\" id=\"no_eval\" value=\"";
        // line 114
        echo twig_escape_filter($this->env, ($context["nro_eval"] ?? null), "html", null, true);
        echo "\">
    <input type='hidden' name=\"no_id\"   id=\"no_id\" value=\"";
        // line 115
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "nro_id", [], "any", false, false, false, 115), "html", null, true);
        echo "\">
    <input type='hidden' name=\"no_tec\"  id=\"no_tec\" value=\"";
        // line 116
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "tecnica", [], "any", false, false, false, 116), "html", null, true);
        echo "\">
    <input type='hidden' name=\"no_cur\"  id=\"no_cur\" value=\"";
        // line 117
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "codigo", [], "any", false, false, false, 117), "html", null, true);
        echo "\">

    <input type='hidden' name=\"carga\" id=\"carga\" value=\"";
        // line 119
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "carga_mes", [], "any", false, false, false, 119), "html", null, true);
        echo "\">
    <input type='hidden' name=\"mes\"   id=\"mes\" value=\"";
        // line 120
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "mes", [], "any", false, false, false, 120), "html", null, true);
        echo "\">
    <input type='hidden' name=\"anho\"  id=\"anho\" value=\"";
        // line 121
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "ano", [], "any", false, false, false, 121), "html", null, true);
        echo "\">

<table class=\"table table-striped table-hover table-sm\" style=\"font-size: small;\">
<thead style=\"background-color: #006699;color:#FFFFFF;\">
    <tr class=\"d-flex\">
    <th class='col-sm-1 text-center'>No.</th>
    <th class='col-sm-2 text-center'>Cedula</th>
    <th class='col-sm-7 text-center'>Alumnos</th>
    <th class='col-sm-2 text-center'>Nota 1</th>
    </tr>
</thead>
<tbody>
";
        // line 133
        $context["nro"] = 1;
        // line 134
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["eval_notas"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["eval_nota"]) {
            // line 135
            echo "    <tr class=\"d-flex\">
      <td class='col-sm-1 text-center'>";
            // line 136
            echo twig_escape_filter($this->env, ($context["nro"] ?? null), "html", null, true);
            echo "</td>
      <td class='col-sm-2 text-center'>";
            // line 137
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "cedula", [], "any", false, false, false, 137), "html", null, true);
            echo "</td>
      <th class='col-sm-7 text-center'>";
            // line 138
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "apellidos", [], "any", false, false, false, 138), "html", null, true);
            echo "&nbsp;";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "nombres", [], "any", false, false, false, 138), "html", null, true);
            echo "&nbsp;(";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "tag1", [], "any", false, false, false, 138), "html", null, true);
            echo ")</th>
      <th class='col-sm-2 text-center'>

    <input type='hidden' name=\"ced[]\" id=\"ced\" value=\"";
            // line 141
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["eval_nota"], "cedula", [], "any", false, false, false, 141), "html", null, true);
            echo "\">
    <input style=\"heigth : 1px\" class=\"text-center\" tabindex=\"";
            // line 142
            echo twig_escape_filter($this->env, ($context["nro"] ?? null), "html", null, true);
            echo "\" type=\"number\" step='0.01' id=\"nota\" name=\"nota[]\" size=\"5\" value=\"\" maxlength=\"5\" min=\"0\" max=\"20\" onfocus=\"this.select();\" ondblclick=\"borrarvalor(this);\" onkeyup=\"handleEnter(this,event,this.value);\"/>


      </th>
    </tr>
";
            // line 147
            $context["nro"] = (($context["nro"] ?? null) + 1);
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['eval_nota'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 149
        echo "</tbody>
</table>
    </div>
     </div>


      <div class=\"modal-footer\">
        <button onclick=\"procesando();\" type=\"submit\" class=\"btn btn-success\">Guardar Registro</button>
        <button type=\"button\" class=\"btn btn-danger\" data-dismiss=\"modal\">Cerrar</button>
      </div>

    </div>
  </form>
  </div>
</div>

<div class=\"modal fade bd-modal-lg\" id=\"ModalModNota\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-lg\" role=\"document\">
<!--<form action=\"";
        // line 167
        echo twig_escape_filter($this->env, twig_constant("URLROOT2"), "html", null, true);
        echo "/educadores/EditarEval\" method=\"post\">
-->

<form action=\"";
        // line 170
        echo twig_escape_filter($this->env, twig_constant("URLROOT2"), "html", null, true);
        echo "/educadores/guardarEval\" method=\"post\">
    <div class=\"modal-content\">
      <div class=\"modal-header\">

        <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
          <span aria-hidden=\"true\">&times;</span>
        </button>
      </div>
    <div class=\"modal-body\">
    <h5 class=\"modal-title\" id=\"exampleModalLabel\" id='idmodnt' >Modificando de Notas - </h5>
    <input type='text' name=\"idmodnt\" id=\"idmodnt\" value=\"";
        // line 180
        echo twig_escape_filter($this->env, ($context["nro_eval"] ?? null), "html", null, true);
        echo "\" disabled>
    <div class=\"form-row\">
        <div class=\"form-group col-md-4\">
            <label for=\"message-text\">Fecha de la Evaluaci&oacute;n</label>
            <input class=\"form-control\" type=\"date\" id=\"fecha\" name=\"fecha\" value=\"";
        // line 184
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "dia_hoy", [], "any", false, false, false, 184), "html", null, true);
        echo "\"  required/>
        </div>

        <div class=\"form-group col-md-8\">
        <label for=\"recipient-name\">Objetivo:</label>
        <input class=\"form-control\" type=\"text\" id=\"objetivo\" name=\"objetivo\" value=\"\" maxlength=\"100\" required/>
        </div>
    </div>
    <div class=\"form-row\">
    <input type='hidden' name=\"no_eval\" id=\"no_eval\" value=\"";
        // line 193
        echo twig_escape_filter($this->env, ($context["nro_eval"] ?? null), "html", null, true);
        echo "\">
    <input type='hidden' name=\"no_id\"   id=\"no_id\" value=\"";
        // line 194
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "nro_id", [], "any", false, false, false, 194), "html", null, true);
        echo "\">
    <input type='hidden' name=\"no_tec\"  id=\"no_tec\" value=\"";
        // line 195
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "tecnica", [], "any", false, false, false, 195), "html", null, true);
        echo "\">
    <input type='hidden' name=\"no_cur\"  id=\"no_cur\" value=\"";
        // line 196
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "codigo", [], "any", false, false, false, 196), "html", null, true);
        echo "\">

    <input type='hidden' name=\"carga\" id=\"carga\" value=\"";
        // line 198
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "carga_mes", [], "any", false, false, false, 198), "html", null, true);
        echo "\">
    <input type='hidden' name=\"mes\"   id=\"mes\" value=\"";
        // line 199
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "mes", [], "any", false, false, false, 199), "html", null, true);
        echo "\">
    <input type='hidden' name=\"anho\"  id=\"anho\" value=\"";
        // line 200
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_control"] ?? null), "ano", [], "any", false, false, false, 200), "html", null, true);
        echo "\">

<div class='col-md-12' id=\"vvnotas\">


</div>


   </div>
   </div>


      <div class=\"modal-footer\">
        <button onclick=\"procesando();\" type=\"submit\" class=\"btn btn-success\">Guardar Registro</button>
        <button type=\"button\" class=\"btn btn-danger\" data-dismiss=\"modal\">Cerrar</button>
      </div>

    </div>
  </form>
  </div>
</div>
";
    }

    // line 222
    public function block_javascripts($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 223
        echo "<script>
var fecha = new Date();
var anio = fecha.getFullYear();
var _dia = fecha.getDate();
var _mes = fecha.getMonth(); //viene con valores de 0 al 11
_mes = _mes + 1; //ahora lo tienes de 1 al 12

var dia =String(_dia).padStart(2, \"0\");
var mes =String(_mes).padStart(2, \"0\");

let fecha_minimo = anio + '-' + mes + '-' + dia; // Nueva variable
document.getElementById(\"fecha\").max = fecha_minimo;
//alert(fecha_minimo);
        \$(\"#monto2\").inputmask({
        'alias': 'decimal',
        'integerDigits': 5,
        'digits': 2,
        'digitsOptional': false,
        'placeholder': '0',
        'allowMinus': false,
        'groupSeparator': '.',
        'radixPoint': ',',
        'autoGroup': true
    });

//function asigap(){
\$(document).on('click', '#asigap', function (e) {
        var token = \$(this).data('token');
        var fecha = \$(this).data('fecha');
        var objetivo = \$(this).data('eval');
        var nro_eval = \$(this).data('nro');
       // alert(token);
   \t\t\$.ajax({
\t\turl: '";
        // line 256
        echo twig_escape_filter($this->env, twig_constant("URLROOT2"), "html", null, true);
        echo "/educadores/notas_mod/'+token,
\t\ttype: \"POST\",
        cache: false,
          beforeSend: function() {
          procesando();
          },
        data: \"submit\",
        success: function(datos){
        Swal.close();
            //alert(datos);
            if(datos==\"No existe...\"){
            toastr[\"error\"](\"EL REGISTRO NO EXISTE O ESTA ASIGNADO A UNA EMPRESA...\", \"IMPORTANTE...\")
            }else{
            \$('#vvnotas').html(datos);
                var modal = \$('#ModalModNota')
                //    modal.find('.modal-title').text('Modificar país: '+nombre)


                modal.find('.modal-body #idmodnt').val(nro_eval)
                modal.find('.modal-body #no_eval').val(nro_eval)
                modal.find('.modal-body #fecha').val(fecha)
                modal.find('.modal-body #objetivo').val(objetivo)
                \$('#ModalModNota').modal({show:true});
                //\$('#edit01 .modal-body').load('alumnos_asg.php?id='+idcon,function(){
                //});
            }
            }
\t\t});
\t\treturn false;
//}
});

\$(document).on('click', '#asigapxx', function (e) {
        e.preventDefault();
        var id = \$(this).data('id');
        var token = \$(this).data('token');
        var ruta = \$(this).data('ruta');
//alert(id);
Swal({
    title: 'Esta seguro de ELIMINAR el registro ?',
    text: \"No puede revertir este proceso !\",
    type: 'question',
    showCancelButton: true,
    confirmButtonColor: '#FF0000',
    cancelButtonColor: '#006600',
    confirmButtonText: 'Si, eliminarlo...',
    cancelButtonText: 'No, cancelar',
}).then((result) => {
    if (result.value) {
    \t\t\$.ajax({
                        url: '";
        // line 306
        echo twig_escape_filter($this->env, twig_constant("URLROOT2"), "html", null, true);
        echo "/educadores/notas_del/'+id,
                        cache: false,
                        type: \"POST\",
                data: {id:id,_method: 'delete', token :token},
                success: function(datos){
                //alert(datos);
                if(datos==\"NOPUEDEBORRAR\"){
                toastr[\"error\"](\"EL REGISTRO NO PUEDE SER ELIMINADO\", \"IMPORTANTE...\")
                }else{
                location.reload();
                }
                }
                });
    }
})

});
</script>
";
    }

    public function getTemplateName()
    {
        return "educadores/notas.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  636 => 306,  583 => 256,  548 => 223,  544 => 222,  518 => 200,  514 => 199,  510 => 198,  505 => 196,  501 => 195,  497 => 194,  493 => 193,  481 => 184,  474 => 180,  461 => 170,  455 => 167,  435 => 149,  429 => 147,  421 => 142,  417 => 141,  407 => 138,  403 => 137,  399 => 136,  396 => 135,  392 => 134,  390 => 133,  375 => 121,  371 => 120,  367 => 119,  362 => 117,  358 => 116,  354 => 115,  350 => 114,  338 => 105,  333 => 104,  331 => 103,  317 => 92,  309 => 86,  303 => 84,  298 => 82,  294 => 81,  290 => 80,  286 => 79,  282 => 78,  277 => 77,  267 => 75,  257 => 73,  255 => 72,  251 => 71,  247 => 70,  242 => 67,  238 => 66,  236 => 65,  225 => 59,  217 => 56,  209 => 53,  206 => 52,  196 => 49,  192 => 48,  189 => 47,  183 => 45,  180 => 44,  164 => 42,  162 => 41,  148 => 40,  143 => 39,  139 => 38,  137 => 37,  127 => 29,  120 => 25,  116 => 23,  114 => 22,  106 => 20,  98 => 17,  93 => 14,  90 => 13,  88 => 12,  80 => 9,  72 => 8,  64 => 7,  56 => 6,  51 => 3,  47 => 2,  36 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("{% extends 'inc/base.html.twig' %}
{% block body %}
<div class=\"container\">
<div class='row'>
<div class='col-md-8'>
<h2>Educador: {{ datos_educa.id_ed }}&nbsp;-&nbsp;{{ datos_educa.ape_ed}}&nbsp;{{ datos_educa.nom_ed }}</h2>
<strong style=\"font-size: larger\">Curso:&nbsp;{{ eval_control.codigo }}&nbsp;&nbsp;&nbsp;T&eacute;cnica:&nbsp;{{ ver_tecnica.descripcion }}-({{ eval_control.tecnica }}) </strong>
<strong style=\"font-size: larger\">Carga:&nbsp;{{ eval_control.carga_mes }}&nbsp;&nbsp;&nbsp;Mes:&nbsp;{{ eval_control.mes }}&nbsp;&nbsp;&nbsp;A&ntilde;o:&nbsp;{{ eval_control.ano }} </strong>
<!--nro:{{ datos_educa.nro_eval }}*{{ datos_educa.nro_id }}-->
</div>
<div class='col-md-4 text-center'>
{% set nro_eval=datos_educa.nro_eval %}
    {% if nro_eval<5 %}
<!--    <button type=\"button\" class=\"btn btn-success\" data-toggle=\"modal\" data-target=\"#ModalNota\" data-whatever=\"@mdo\"><i class=\"fa fa-add\">&nbsp;</i>Agregar</button>
-->
&nbsp;&nbsp;&nbsp;
<a href=\"{{ constant('URLROOT2') }}/educadores/notas_agregar/{{ datos_educa.nro_id }}\" class=\"btn btn-success pull-right\"><i class=\"fa fa-plus-circle\"></i> Agregar Nota</a>
&nbsp;&nbsp;&nbsp;
    {% endif %}
&nbsp;&nbsp;&nbsp;<a href=\"{{ constant('URLROOT2') }}/educadores/evaluaciones/{{ eval_control.id }}\" class=\"btn btn-danger pull-right\"><i class=\"fa fa-backward\"></i> Regresar</a>
</div>
{% if msj_err is not empty %}
<div class=\"col-12 text-center\">
<div class=\"alert alert-danger\" role=\"alert\">
    {{ msj_err }}
</div>
</div>
{% endif %}
</div>
</div>
<table class=\"table table-striped table-hover table-sm\" style=\"font-size: small;\">
  <thead style=\"background-color: #006699;color:#FFFFFF;\">
    <tr class=\"d-flex\">
    <th class='col-sm-1 text-center'>No.</th>
    <th class='col-sm-1 text-center'>Cedula</th>
    <th class='col-sm-4 text-center'>Alumnos</th>
{% set evalnro = 1 %}
{% for reg_evalx in reg_eval %}
    <th class='col-sm-1 text-center'>Nota {{ evalnro }}<br>
    <a id=\"asigap\" class=\"btn btn-warning btn-sm\" href=\"#\" data-nro=\"{{ evalnro }}\" data-token=\"{{ evalnro }}\${{ datos_educa.nro_id }}\${{ eval_control.codigo }}\" data-fecha=\"{{ reg_evalx.fecha }}\" data-eval=\"{{ reg_evalx.objetivo }}\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Modificar Nota\"><i class=\"fa fa-edit\"></i></a>
    {% if evalnro==datos_educa.nro_eval %}
    <a id=\"asigapxx\" class=\"btn btn-danger btn-sm\" href=\"#\" data-token=\"{{ evalnro }}\" data-id=\"{{ evalnro }}\${{ datos_educa.nro_id }}\${{ eval_control.codigo }}\" data-fecha=\"{{ reg_evalx.fecha }}\" data-eval=\"{{ reg_evalx.objetivo }}\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Eliminar Nota\"><i class=\"fa fa-trash\"></i></a>
    {% endif %}
    </th>
{% set evalnro = evalnro+1 %}
{% endfor %}

{% for i in evalnro..5 %}
   <th class='col-sm-1 text-center'>Nota {{ i }}<br>
   </th>
{% endfor %}
<!--     <th class='col-sm-1 text-center'>Nota 3<br>
    <a id=\"asigap\" class=\"btn btn-warning btn-sm\" href=\"#\" data-token=\"3\${{ datos_educa.nro_id }}\${{ eval_control.codigo }}\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Modificar Nota\"><i class=\"fa fa-edit\"></i></a>&nbsp;&nbsp;&nbsp;
    </th>
    <th class='col-sm-1 text-center'>Nota 4<br>
    <a id=\"asigap\" class=\"btn btn-warning btn-sm\" href=\"#\" data-token=\"4\${{ datos_educa.nro_id }}\${{ eval_control.codigo }}\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Modificar Nota\"><i class=\"fa fa-edit\"></i></a>&nbsp;&nbsp;&nbsp;
    </th>
    <th class='col-sm-1 text-center'>Nota 5<br>
    <a id=\"asigap\" class=\"btn btn-warning btn-sm\" href=\"#\" data-token=\"5\${{ datos_educa.nro_id }}\${{ eval_control.codigo }}\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Modificar Nota\"><i class=\"fa fa-edit\"></i></a>&nbsp;&nbsp;&nbsp;
    </th>-->
    <th class='col-sm-1 text-center'>Nota F.</th>
    </tr>
  </thead>
  <tbody>
{% set nro = 1 %}
{% for eval_nota in eval_notas %}


    <tr class=\"d-flex\">
      <td class='col-sm-1 text-center'>{{ nro }}</td>
      <td class='col-sm-1 text-center'>{{ eval_nota.cedula }}</td>
{% if eval_nota.tag1 == 'ACTIVO' %}
      <th class='col-sm-4 text-center'>{{ eval_nota.apellidos }}&nbsp;{{ eval_nota.nombres }}&nbsp;({{ eval_nota.tag1 }})</th>
{% else %}
      <th class='col-sm-4 text-center' style=\"color:#FA0000;\">{{ eval_nota.apellidos }}&nbsp;{{ eval_nota.nombres }}&nbsp;({{ eval_nota.tag1 }})</th>
{% endif %}
      <th class='col-sm-1 text-center'>{{ eval_nota.nt1 }}</th>
      <th class='col-sm-1 text-center'>{{ eval_nota.nt2 }}</th>
      <th class='col-sm-1 text-center'>{{ eval_nota.nt3 }}</th>
      <th class='col-sm-1 text-center'>{{ eval_nota.nt4 }}</th>
      <th class='col-sm-1 text-center'>{{ eval_nota.nt5 }}</th>
      <th class='col-sm-1 text-center'>{{ eval_nota.ntf }}</th>
    </tr>
{% set nro = nro+1 %}
{% endfor %}

</tbody>
</table>

<div class=\"modal fade bd-modal-lg\" id=\"ModalNota\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-lg\" role=\"document\">
<form action=\"{{ constant('URLROOT2') }}/educadores/guardarEval\" method=\"post\">
    <div class=\"modal-content\">
      <div class=\"modal-header\">
        <h5 class=\"modal-title\" id=\"exampleModalLabel\">Carga de Notas</h5>
        <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
          <span aria-hidden=\"true\">&times;</span>
        </button>
      </div>
    <div class=\"modal-body\">
    <div class=\"form-row\">
        <div class=\"form-group col-md-4\">
            {% set nro_eval=nro_eval+1 %}
            <label for=\"message-text\">Fecha de la Evaluaci&oacute;n - No.:{{ nro_eval }}</label>
            <input class=\"form-control\" type=\"date\" id=\"fecha\" name=\"fecha\" value=\"{{ data.dia_hoy }}\"  required/>
        </div>

        <div class=\"form-group col-md-8\">
        <label for=\"recipient-name\">Objetivo:</label>
        <input class=\"form-control\" type=\"text\" id=\"objetivo\" name=\"objetivo\" value=\"\" maxlength=\"100\" required/>
        </div>
    </div>
    <div class=\"form-row\">
    <input type='hidden' name=\"no_eval\" id=\"no_eval\" value=\"{{ nro_eval }}\">
    <input type='hidden' name=\"no_id\"   id=\"no_id\" value=\"{{ datos_educa.nro_id }}\">
    <input type='hidden' name=\"no_tec\"  id=\"no_tec\" value=\"{{ eval_control.tecnica }}\">
    <input type='hidden' name=\"no_cur\"  id=\"no_cur\" value=\"{{ eval_control.codigo }}\">

    <input type='hidden' name=\"carga\" id=\"carga\" value=\"{{ eval_control.carga_mes }}\">
    <input type='hidden' name=\"mes\"   id=\"mes\" value=\"{{ eval_control.mes }}\">
    <input type='hidden' name=\"anho\"  id=\"anho\" value=\"{{ eval_control.ano }}\">

<table class=\"table table-striped table-hover table-sm\" style=\"font-size: small;\">
<thead style=\"background-color: #006699;color:#FFFFFF;\">
    <tr class=\"d-flex\">
    <th class='col-sm-1 text-center'>No.</th>
    <th class='col-sm-2 text-center'>Cedula</th>
    <th class='col-sm-7 text-center'>Alumnos</th>
    <th class='col-sm-2 text-center'>Nota 1</th>
    </tr>
</thead>
<tbody>
{% set nro = 1 %}
{% for eval_nota in eval_notas %}
    <tr class=\"d-flex\">
      <td class='col-sm-1 text-center'>{{ nro }}</td>
      <td class='col-sm-2 text-center'>{{ eval_nota.cedula }}</td>
      <th class='col-sm-7 text-center'>{{ eval_nota.apellidos }}&nbsp;{{ eval_nota.nombres }}&nbsp;({{ eval_nota.tag1 }})</th>
      <th class='col-sm-2 text-center'>

    <input type='hidden' name=\"ced[]\" id=\"ced\" value=\"{{ eval_nota.cedula }}\">
    <input style=\"heigth : 1px\" class=\"text-center\" tabindex=\"{{ nro }}\" type=\"number\" step='0.01' id=\"nota\" name=\"nota[]\" size=\"5\" value=\"\" maxlength=\"5\" min=\"0\" max=\"20\" onfocus=\"this.select();\" ondblclick=\"borrarvalor(this);\" onkeyup=\"handleEnter(this,event,this.value);\"/>


      </th>
    </tr>
{% set nro = nro+1 %}
{% endfor %}
</tbody>
</table>
    </div>
     </div>


      <div class=\"modal-footer\">
        <button onclick=\"procesando();\" type=\"submit\" class=\"btn btn-success\">Guardar Registro</button>
        <button type=\"button\" class=\"btn btn-danger\" data-dismiss=\"modal\">Cerrar</button>
      </div>

    </div>
  </form>
  </div>
</div>

<div class=\"modal fade bd-modal-lg\" id=\"ModalModNota\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-lg\" role=\"document\">
<!--<form action=\"{{ constant('URLROOT2') }}/educadores/EditarEval\" method=\"post\">
-->

<form action=\"{{ constant('URLROOT2') }}/educadores/guardarEval\" method=\"post\">
    <div class=\"modal-content\">
      <div class=\"modal-header\">

        <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
          <span aria-hidden=\"true\">&times;</span>
        </button>
      </div>
    <div class=\"modal-body\">
    <h5 class=\"modal-title\" id=\"exampleModalLabel\" id='idmodnt' >Modificando de Notas - </h5>
    <input type='text' name=\"idmodnt\" id=\"idmodnt\" value=\"{{ nro_eval }}\" disabled>
    <div class=\"form-row\">
        <div class=\"form-group col-md-4\">
            <label for=\"message-text\">Fecha de la Evaluaci&oacute;n</label>
            <input class=\"form-control\" type=\"date\" id=\"fecha\" name=\"fecha\" value=\"{{ data.dia_hoy }}\"  required/>
        </div>

        <div class=\"form-group col-md-8\">
        <label for=\"recipient-name\">Objetivo:</label>
        <input class=\"form-control\" type=\"text\" id=\"objetivo\" name=\"objetivo\" value=\"\" maxlength=\"100\" required/>
        </div>
    </div>
    <div class=\"form-row\">
    <input type='hidden' name=\"no_eval\" id=\"no_eval\" value=\"{{ nro_eval }}\">
    <input type='hidden' name=\"no_id\"   id=\"no_id\" value=\"{{ datos_educa.nro_id }}\">
    <input type='hidden' name=\"no_tec\"  id=\"no_tec\" value=\"{{ eval_control.tecnica }}\">
    <input type='hidden' name=\"no_cur\"  id=\"no_cur\" value=\"{{ eval_control.codigo }}\">

    <input type='hidden' name=\"carga\" id=\"carga\" value=\"{{ eval_control.carga_mes }}\">
    <input type='hidden' name=\"mes\"   id=\"mes\" value=\"{{ eval_control.mes }}\">
    <input type='hidden' name=\"anho\"  id=\"anho\" value=\"{{ eval_control.ano }}\">

<div class='col-md-12' id=\"vvnotas\">


</div>


   </div>
   </div>


      <div class=\"modal-footer\">
        <button onclick=\"procesando();\" type=\"submit\" class=\"btn btn-success\">Guardar Registro</button>
        <button type=\"button\" class=\"btn btn-danger\" data-dismiss=\"modal\">Cerrar</button>
      </div>

    </div>
  </form>
  </div>
</div>
{% endblock %}
{% block javascripts %}
<script>
var fecha = new Date();
var anio = fecha.getFullYear();
var _dia = fecha.getDate();
var _mes = fecha.getMonth(); //viene con valores de 0 al 11
_mes = _mes + 1; //ahora lo tienes de 1 al 12

var dia =String(_dia).padStart(2, \"0\");
var mes =String(_mes).padStart(2, \"0\");

let fecha_minimo = anio + '-' + mes + '-' + dia; // Nueva variable
document.getElementById(\"fecha\").max = fecha_minimo;
//alert(fecha_minimo);
        \$(\"#monto2\").inputmask({
        'alias': 'decimal',
        'integerDigits': 5,
        'digits': 2,
        'digitsOptional': false,
        'placeholder': '0',
        'allowMinus': false,
        'groupSeparator': '.',
        'radixPoint': ',',
        'autoGroup': true
    });

//function asigap(){
\$(document).on('click', '#asigap', function (e) {
        var token = \$(this).data('token');
        var fecha = \$(this).data('fecha');
        var objetivo = \$(this).data('eval');
        var nro_eval = \$(this).data('nro');
       // alert(token);
   \t\t\$.ajax({
\t\turl: '{{ constant(\"URLROOT2\") }}/educadores/notas_mod/'+token,
\t\ttype: \"POST\",
        cache: false,
          beforeSend: function() {
          procesando();
          },
        data: \"submit\",
        success: function(datos){
        Swal.close();
            //alert(datos);
            if(datos==\"No existe...\"){
            toastr[\"error\"](\"EL REGISTRO NO EXISTE O ESTA ASIGNADO A UNA EMPRESA...\", \"IMPORTANTE...\")
            }else{
            \$('#vvnotas').html(datos);
                var modal = \$('#ModalModNota')
                //    modal.find('.modal-title').text('Modificar país: '+nombre)


                modal.find('.modal-body #idmodnt').val(nro_eval)
                modal.find('.modal-body #no_eval').val(nro_eval)
                modal.find('.modal-body #fecha').val(fecha)
                modal.find('.modal-body #objetivo').val(objetivo)
                \$('#ModalModNota').modal({show:true});
                //\$('#edit01 .modal-body').load('alumnos_asg.php?id='+idcon,function(){
                //});
            }
            }
\t\t});
\t\treturn false;
//}
});

\$(document).on('click', '#asigapxx', function (e) {
        e.preventDefault();
        var id = \$(this).data('id');
        var token = \$(this).data('token');
        var ruta = \$(this).data('ruta');
//alert(id);
Swal({
    title: 'Esta seguro de ELIMINAR el registro ?',
    text: \"No puede revertir este proceso !\",
    type: 'question',
    showCancelButton: true,
    confirmButtonColor: '#FF0000',
    cancelButtonColor: '#006600',
    confirmButtonText: 'Si, eliminarlo...',
    cancelButtonText: 'No, cancelar',
}).then((result) => {
    if (result.value) {
    \t\t\$.ajax({
                        url: '{{ constant(\"URLROOT2\") }}/educadores/notas_del/'+id,
                        cache: false,
                        type: \"POST\",
                data: {id:id,_method: 'delete', token :token},
                success: function(datos){
                //alert(datos);
                if(datos==\"NOPUEDEBORRAR\"){
                toastr[\"error\"](\"EL REGISTRO NO PUEDE SER ELIMINADO\", \"IMPORTANTE...\")
                }else{
                location.reload();
                }
                }
                });
    }
})

});
</script>
{% endblock %}", "educadores/notas.html.twig", "/home/sircone1/domains/sirconet.com.ve/public_html/adiestra/edutec/app/views/educadores/notas.html.twig");
    }
}
