<?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/evaluacion.html.twig */
class __TwigTemplate_7ce72398d84a970d3a0c93181d387448 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/evaluacion.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\">
<h2>Educador: ";
        // line 4
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "id_ed", [], "any", false, false, false, 4), "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, 4), "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, 4), "html", null, true);
        echo "</h2>
<strong style=\"font-size: larger\">Curso:&nbsp;";
        // line 5
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["eval_mes"] ?? null), "codigo", [], "any", false, false, false, 5), "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["eval_mes"] ?? null), "descripcion", [], "any", false, false, false, 5), "html", null, true);
        echo " </strong>

&nbsp;&nbsp;&nbsp;<a href=\"";
        // line 7
        echo twig_escape_filter($this->env, twig_constant("URLROOT2"), "html", null, true);
        echo "/educadores/\" class=\"btn btn-danger pull-right\"><i class=\"fa fa-backward\"></i> Regresar</a>
&nbsp;&nbsp;&nbsp;<button type=\"button\" id='id_btn' class=\"btn btn-success pull-right\" data-toggle=\"modal\" data-target=\"#ModalMes\" data-whatever=\"@mdo\"><i class=\"fa fa-add\">&nbsp;</i>Agregar Mes</button>
&nbsp;&nbsp;&nbsp;
</div>

";
        // line 12
        if ( !twig_test_empty(($context["msj_err"] ?? null))) {
            // line 13
            echo "<div class=\"col-12 text-center\">
<div class=\"alert alert-danger alert-dismissible fade show\" role=\"alert\">
  <strong>";
            // line 15
            echo twig_escape_filter($this->env, ($context["msj_err"] ?? null), "html", null, true);
            echo "</strong>
  <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">
    <span aria-hidden=\"true\">&times;</span>
  </button>
</div>
</div>
";
        }
        // line 22
        echo "
<table class=\"table table-striped table-hover table-sm\">
  <thead style=\"background-color: #006699;color:#FFFFFF;\">
    <tr class=\"d-flex\">
    <th class='col-sm-1 text-center'>Mes</th>
    <th class='col-sm-1 text-center'>A&ntilde;o</th>
    <th class='col-sm-2 text-center'>Hrs. Dictadas Mes</th>
    <th class='col-sm-2 text-center'>Carga</th>
    <th class='col-sm-2 text-center'>Estado</th>
    <th class='col-sm-4 text-center'>Movimientos</th>
    </tr>
  </thead>
  <tbody>
";
        // line 35
        $context["valor_tag"] = "";
        // line 36
        $context["valor_mes"] = "";
        // line 37
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["evaluacion"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["evalua"]) {
            // line 38
            echo "    <tr class=\"d-flex\">
      <th class='col-sm-1 text-center'>";
            // line 39
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["evalua"], "mes", [], "any", false, false, false, 39), "html", null, true);
            echo "</th>
      <th class='col-sm-1 text-center'>";
            // line 40
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["evalua"], "ano", [], "any", false, false, false, 40), "html", null, true);
            echo "</th>
      <td class='col-sm-2 text-center'>";
            // line 41
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["evalua"], "horas_mes", [], "any", false, false, false, 41), "html", null, true);
            echo "</td>
      <th class='col-sm-2 text-center'>";
            // line 42
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["evalua"], "carga_mes", [], "any", false, false, false, 42), "html", null, true);
            echo "</th>
      <th class='col-sm-2 text-center'>
            ";
            // line 44
            if ((twig_get_attribute($this->env, $this->source, $context["evalua"], "tag", [], "any", false, false, false, 44) == "PR")) {
                // line 45
                echo "            <span class=\"badge badge-danger\" style=\"background-color: #570000;color:#FFFFFF;\">Procesado</span>
            ";
            } else {
                // line 47
                echo "            <span class=\"badge badge-success\" style=\"background-color: #006600;color:#FFFFFF;\">En Proceso</span>
            ";
            }
            // line 49
            echo "      </th>
        <th class='col-sm-4 text-center'>
        ";
            // line 51
            if ((twig_get_attribute($this->env, $this->source, $context["evalua"], "tag", [], "any", false, false, false, 51) == "PR")) {
                // line 52
                echo "        <a onclick=\"procesando();\" style=\"background-color: #570000;color:#FFFFFF;\" class=\"btn btn-sm\" href=\"";
                echo twig_escape_filter($this->env, twig_constant("URLROOT2"), "html", null, true);
                echo "/educadores/notas_pro/";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["evalua"], "idd", [], "any", false, false, false, 52), "html", null, true);
                echo "\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Evaluaciones\">Notas</a>&nbsp;&nbsp;&nbsp;
        <a onclick=\"procesando();\" style=\"background-color: #570000;color:#FFFFFF;\" class=\"btn btn-sm\" href=\"";
                // line 53
                echo twig_escape_filter($this->env, twig_constant("URLROOT2"), "html", null, true);
                echo "/educadores/asistencia_pro/";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["evalua"], "idd", [], "any", false, false, false, 53), "html", null, true);
                echo "\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Evaluaciones\">Asistencia</a>&nbsp;&nbsp;&nbsp;
<!--        <a onclick=\"procesando();\" style=\"background-color: #570000;color:#FFFFFF;\" class=\"btn btn-sm\" href=\"";
                // line 54
                echo twig_escape_filter($this->env, twig_constant("URLROOT2"), "html", null, true);
                echo "/educadores/actitudinales_pro/";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["evalua"], "idd", [], "any", false, false, false, 54), "html", null, true);
                echo "\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Evaluaciones\">Actitudinales</a>&nbsp;&nbsp;&nbsp;
-->        ";
            } else {
                // line 56
                echo "        <a onclick=\"procesando();\" style=\"background-color: #006600;color:#FFFFFF;\" class=\"btn btn-sm\" href=\"";
                echo twig_escape_filter($this->env, twig_constant("URLROOT2"), "html", null, true);
                echo "/educadores/notas/";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["evalua"], "idd", [], "any", false, false, false, 56), "html", null, true);
                echo "\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Evaluaciones\">Notas</a>&nbsp;&nbsp;&nbsp;
        <a onclick=\"procesando();\" style=\"background-color: #006600;color:#FFFFFF;\" class=\"btn btn-sm\" href=\"";
                // line 57
                echo twig_escape_filter($this->env, twig_constant("URLROOT2"), "html", null, true);
                echo "/educadores/asistencia/";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["evalua"], "idd", [], "any", false, false, false, 57), "html", null, true);
                echo "\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Evaluaciones\">Asistencia</a>&nbsp;&nbsp;&nbsp;
      <a onclick=\"procesando();\" href=\"\" class=\"button btn btn-danger btn-sm\" data-id=\"";
                // line 58
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["evalua"], "idd", [], "any", false, false, false, 58), "html", null, true);
                echo "\" data-token=\"";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "id_asiste", [], "any", false, false, false, 58), "html", null, true);
                echo "\" data-ruta=\"";
                echo twig_escape_filter($this->env, twig_constant("URLROOT2"), "html", null, true);
                echo "/educadores/eliminames/";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["evalua"], "idd", [], "any", false, false, false, 58), "html", null, true);
                echo "\"  data-toggle=\"tooltip\" data-placement=\"top\" title=\"Eliminar Registro\"><i class=\"fa fa-trash\"></i></a>&nbsp;&nbsp;&nbsp;

<!--        <a onclick=\"procesando();\" style=\"background-color: #006600;color:#FFFFFF;\" class=\"btn btn-sm\" href=\"";
                // line 60
                echo twig_escape_filter($this->env, twig_constant("URLROOT2"), "html", null, true);
                echo "/educadores/actitudinales/";
                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["evalua"], "idd", [], "any", false, false, false, 60), "html", null, true);
                echo "\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Evaluaciones\">Actitudinales</a>&nbsp;&nbsp;&nbsp;
-->        ";
            }
            // line 62
            echo "        </th>
<!--      <td class='col-sm-2 text-center'>
      <a onclick=\"procesando();\" class=\"btn btn-info btn-sm\" href=\"";
            // line 64
            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["educado"] ?? null), "id", [], "any", false, false, false, 64), "html", null, true);
            echo "\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Evaluaciones\">Reportes</a>&nbsp;&nbsp;&nbsp;
      </td>-->
    </tr>
";
            // line 67
            $context["valor_tag"] = twig_get_attribute($this->env, $this->source, $context["evalua"], "tag", [], "any", false, false, false, 67);
            // line 68
            $context["valor_mes"] = twig_get_attribute($this->env, $this->source, $context["evalua"], "carga_mes", [], "any", false, false, false, 68);
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['evalua'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 70
        echo "
<input id=\"vtag\" type=\"hidden\" name=\"vtag\" value=\"";
        // line 71
        echo twig_escape_filter($this->env, ($context["valor_tag"] ?? null), "html", null, true);
        echo "\">
<input id=\"vmes\" type=\"hidden\" name=\"vmes\" value=\"";
        // line 72
        echo twig_escape_filter($this->env, ($context["valor_mes"] ?? null), "html", null, true);
        echo "\">

</tbody>
</table>

<div class=\"modal fade bd-modal-lg\" id=\"ModalMes\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-lg\" role=\"document\">

<form action=\"";
        // line 80
        echo twig_escape_filter($this->env, twig_constant("URLROOT2"), "html", null, true);
        echo "/educadores/agregarmes\" method=\"post\">
    <div class=\"modal-content\">
      <div class=\"modal-header\">
        <h5 class=\"modal-title\" id=\"exampleModalLabel\">Agregar Mes</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\">
            <label for=\"message-text\">Carga:</label>
<select class=\"form-control\" name=\"textca\" id=\"textca\" size=\"1\" >
<option value=\"Mensual\">Mensual</option>
<option value=\"Final\">Final</option>
</select>
</div>
        <div class=\"form-group col-md-4\">
            <label for=\"message-text\">Mes:</label>
<select class=\"form-control\" name=\"textms\" id=\"textms\" size=\"1\" >
<option value=\"01\">Enero</option>
<option value=\"02\">Febrero</option>
<option value=\"03\">Marzo</option>
<option value=\"04\">Abril</option>
<option value=\"05\">Mayo</option>
<option value=\"06\">Junio</option>
<option value=\"07\">Julio</option>
<option value=\"08\">Agosto</option>
<option value=\"09\">Septiembre</option>
<option value=\"10\">Octubre</option>
<option value=\"11\">Noviembre</option>
<option value=\"12\">Diciembre</option>
</select>
</div>
";
        // line 115
        $context["anio"] = twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "dia_hoy", [], "any", false, false, false, 115), "Y");
        // line 116
        echo "        <div class=\"form-group col-md-4\">
            <label for=\"message-text\">A&ntilde;o:</label>
<select class=\"form-control\" name=\"anho\" id=\"anho\" size=\"1\" >
";
        // line 119
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(range(0, 1));
        foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
            // line 120
            $context["anio1"] = (($context["anio"] ?? null) - $context["i"]);
            // line 121
            echo "<option value=\"";
            echo twig_escape_filter($this->env, ($context["anio1"] ?? null), "html", null, true);
            echo "\">";
            echo twig_escape_filter($this->env, ($context["anio1"] ?? null), "html", null, true);
            echo "</option>
";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 123
        echo "</select>
</div>
        <div class=\"form-group col-md-4\">
            <label for=\"message-text\">Horas que se dictar&aacute;n en el mes:</label>
            <input class=\"form-control\" type=\"number\" min='1' id=\"horas\" name=\"horas\" value=\"\"  required/>
        </div>

        <div class=\"form-group col-md-8\">
        <label for=\"recipient-name\">Contenido:</label>
<textarea class=\"form-control\" name=\"textcon\" id=\"textcon\" rows=\"2\" cols=\"30\" placeholder=\"Escriba el contenido de la materia que dictara en el mes, ademas las fechas y las evaluaciones.\"></textarea>
        </div>
        <div class=\"form-group col-md-12\">
        <label for=\"recipient-name\">Observaciones:</label>
<textarea class=\"form-control\" name=\"textob\" id=\"textob\" rows=\"2\" cols=\"30\" placeholder=\"Observaciones.\"></textarea>
        </div>
    </div>
    <div class=\"form-row\">
        <input id=\"id_mes\" type=\"hidden\" name=\"id_mes\" value=\"";
        // line 140
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["datos_educa"] ?? null), "id_asiste", [], "any", false, false, false, 140), "html", null, true);
        echo "\">
   </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 156
    public function block_javascripts($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 157
        echo "<script>
var valortag = \$(\"#vtag\").prop(\"value\");
var valormes = \$(\"#vmes\").prop(\"value\");
//alert(valormes);
if(valortag=='PR' && valormes=='Final'){
//alert(valormes);
\$(\"#id_btn\").hide();
}
</script>
";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  346 => 157,  342 => 156,  322 => 140,  303 => 123,  292 => 121,  290 => 120,  286 => 119,  281 => 116,  279 => 115,  241 => 80,  230 => 72,  226 => 71,  223 => 70,  217 => 68,  215 => 67,  207 => 64,  203 => 62,  196 => 60,  185 => 58,  179 => 57,  172 => 56,  165 => 54,  159 => 53,  152 => 52,  150 => 51,  146 => 49,  142 => 47,  138 => 45,  136 => 44,  131 => 42,  127 => 41,  123 => 40,  119 => 39,  116 => 38,  112 => 37,  110 => 36,  108 => 35,  93 => 22,  83 => 15,  79 => 13,  77 => 12,  69 => 7,  62 => 5,  54 => 4,  51 => 3,  47 => 2,  36 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("{% extends 'inc/base.html.twig' %}
{% block body %}
<div class=\"container\">
<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_mes.codigo }}&nbsp;&nbsp;&nbsp;T&eacute;cnica:&nbsp;{{ eval_mes.descripcion }} </strong>

&nbsp;&nbsp;&nbsp;<a href=\"{{ constant('URLROOT2') }}/educadores/\" class=\"btn btn-danger pull-right\"><i class=\"fa fa-backward\"></i> Regresar</a>
&nbsp;&nbsp;&nbsp;<button type=\"button\" id='id_btn' class=\"btn btn-success pull-right\" data-toggle=\"modal\" data-target=\"#ModalMes\" data-whatever=\"@mdo\"><i class=\"fa fa-add\">&nbsp;</i>Agregar Mes</button>
&nbsp;&nbsp;&nbsp;
</div>

{% if msj_err is not empty %}
<div class=\"col-12 text-center\">
<div class=\"alert alert-danger alert-dismissible fade show\" role=\"alert\">
  <strong>{{ msj_err }}</strong>
  <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">
    <span aria-hidden=\"true\">&times;</span>
  </button>
</div>
</div>
{% endif %}

<table class=\"table table-striped table-hover table-sm\">
  <thead style=\"background-color: #006699;color:#FFFFFF;\">
    <tr class=\"d-flex\">
    <th class='col-sm-1 text-center'>Mes</th>
    <th class='col-sm-1 text-center'>A&ntilde;o</th>
    <th class='col-sm-2 text-center'>Hrs. Dictadas Mes</th>
    <th class='col-sm-2 text-center'>Carga</th>
    <th class='col-sm-2 text-center'>Estado</th>
    <th class='col-sm-4 text-center'>Movimientos</th>
    </tr>
  </thead>
  <tbody>
{% set valor_tag='' %}
{% set valor_mes='' %}
{% for evalua in evaluacion %}
    <tr class=\"d-flex\">
      <th class='col-sm-1 text-center'>{{ evalua.mes }}</th>
      <th class='col-sm-1 text-center'>{{ evalua.ano }}</th>
      <td class='col-sm-2 text-center'>{{ evalua.horas_mes }}</td>
      <th class='col-sm-2 text-center'>{{ evalua.carga_mes }}</th>
      <th class='col-sm-2 text-center'>
            {% if evalua.tag == 'PR' %}
            <span class=\"badge badge-danger\" style=\"background-color: #570000;color:#FFFFFF;\">Procesado</span>
            {% else %}
            <span class=\"badge badge-success\" style=\"background-color: #006600;color:#FFFFFF;\">En Proceso</span>
            {% endif %}
      </th>
        <th class='col-sm-4 text-center'>
        {% if evalua.tag == 'PR' %}
        <a onclick=\"procesando();\" style=\"background-color: #570000;color:#FFFFFF;\" class=\"btn btn-sm\" href=\"{{ constant('URLROOT2') }}/educadores/notas_pro/{{ evalua.idd }}\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Evaluaciones\">Notas</a>&nbsp;&nbsp;&nbsp;
        <a onclick=\"procesando();\" style=\"background-color: #570000;color:#FFFFFF;\" class=\"btn btn-sm\" href=\"{{ constant('URLROOT2') }}/educadores/asistencia_pro/{{ evalua.idd }}\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Evaluaciones\">Asistencia</a>&nbsp;&nbsp;&nbsp;
<!--        <a onclick=\"procesando();\" style=\"background-color: #570000;color:#FFFFFF;\" class=\"btn btn-sm\" href=\"{{ constant('URLROOT2') }}/educadores/actitudinales_pro/{{ evalua.idd }}\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Evaluaciones\">Actitudinales</a>&nbsp;&nbsp;&nbsp;
-->        {% else %}
        <a onclick=\"procesando();\" style=\"background-color: #006600;color:#FFFFFF;\" class=\"btn btn-sm\" href=\"{{ constant('URLROOT2') }}/educadores/notas/{{ evalua.idd }}\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Evaluaciones\">Notas</a>&nbsp;&nbsp;&nbsp;
        <a onclick=\"procesando();\" style=\"background-color: #006600;color:#FFFFFF;\" class=\"btn btn-sm\" href=\"{{ constant('URLROOT2') }}/educadores/asistencia/{{ evalua.idd }}\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Evaluaciones\">Asistencia</a>&nbsp;&nbsp;&nbsp;
      <a onclick=\"procesando();\" href=\"\" class=\"button btn btn-danger btn-sm\" data-id=\"{{ evalua.idd }}\" data-token=\"{{ datos_educa.id_asiste }}\" data-ruta=\"{{ constant('URLROOT2') }}/educadores/eliminames/{{ evalua.idd }}\"  data-toggle=\"tooltip\" data-placement=\"top\" title=\"Eliminar Registro\"><i class=\"fa fa-trash\"></i></a>&nbsp;&nbsp;&nbsp;

<!--        <a onclick=\"procesando();\" style=\"background-color: #006600;color:#FFFFFF;\" class=\"btn btn-sm\" href=\"{{ constant('URLROOT2') }}/educadores/actitudinales/{{ evalua.idd }}\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Evaluaciones\">Actitudinales</a>&nbsp;&nbsp;&nbsp;
-->        {% endif %}
        </th>
<!--      <td class='col-sm-2 text-center'>
      <a onclick=\"procesando();\" class=\"btn btn-info btn-sm\" href=\"{{ constant('URLROOT2') }}/educadores/evaluaciones/{{ educado.id }}\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Evaluaciones\">Reportes</a>&nbsp;&nbsp;&nbsp;
      </td>-->
    </tr>
{% set valor_tag=evalua.tag %}
{% set valor_mes=evalua.carga_mes %}
{% endfor %}

<input id=\"vtag\" type=\"hidden\" name=\"vtag\" value=\"{{ valor_tag }}\">
<input id=\"vmes\" type=\"hidden\" name=\"vmes\" value=\"{{ valor_mes }}\">

</tbody>
</table>

<div class=\"modal fade bd-modal-lg\" id=\"ModalMes\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-lg\" role=\"document\">

<form action=\"{{ constant('URLROOT2') }}/educadores/agregarmes\" method=\"post\">
    <div class=\"modal-content\">
      <div class=\"modal-header\">
        <h5 class=\"modal-title\" id=\"exampleModalLabel\">Agregar Mes</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\">
            <label for=\"message-text\">Carga:</label>
<select class=\"form-control\" name=\"textca\" id=\"textca\" size=\"1\" >
<option value=\"Mensual\">Mensual</option>
<option value=\"Final\">Final</option>
</select>
</div>
        <div class=\"form-group col-md-4\">
            <label for=\"message-text\">Mes:</label>
<select class=\"form-control\" name=\"textms\" id=\"textms\" size=\"1\" >
<option value=\"01\">Enero</option>
<option value=\"02\">Febrero</option>
<option value=\"03\">Marzo</option>
<option value=\"04\">Abril</option>
<option value=\"05\">Mayo</option>
<option value=\"06\">Junio</option>
<option value=\"07\">Julio</option>
<option value=\"08\">Agosto</option>
<option value=\"09\">Septiembre</option>
<option value=\"10\">Octubre</option>
<option value=\"11\">Noviembre</option>
<option value=\"12\">Diciembre</option>
</select>
</div>
{% set anio = data.dia_hoy | date('Y')  %}
        <div class=\"form-group col-md-4\">
            <label for=\"message-text\">A&ntilde;o:</label>
<select class=\"form-control\" name=\"anho\" id=\"anho\" size=\"1\" >
{% for i in 0..1 %}
{% set anio1 = anio-i  %}
<option value=\"{{ anio1 }}\">{{ anio1 }}</option>
{% endfor %}
</select>
</div>
        <div class=\"form-group col-md-4\">
            <label for=\"message-text\">Horas que se dictar&aacute;n en el mes:</label>
            <input class=\"form-control\" type=\"number\" min='1' id=\"horas\" name=\"horas\" value=\"\"  required/>
        </div>

        <div class=\"form-group col-md-8\">
        <label for=\"recipient-name\">Contenido:</label>
<textarea class=\"form-control\" name=\"textcon\" id=\"textcon\" rows=\"2\" cols=\"30\" placeholder=\"Escriba el contenido de la materia que dictara en el mes, ademas las fechas y las evaluaciones.\"></textarea>
        </div>
        <div class=\"form-group col-md-12\">
        <label for=\"recipient-name\">Observaciones:</label>
<textarea class=\"form-control\" name=\"textob\" id=\"textob\" rows=\"2\" cols=\"30\" placeholder=\"Observaciones.\"></textarea>
        </div>
    </div>
    <div class=\"form-row\">
        <input id=\"id_mes\" type=\"hidden\" name=\"id_mes\" value=\"{{ datos_educa.id_asiste }}\">
   </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 valortag = \$(\"#vtag\").prop(\"value\");
var valormes = \$(\"#vmes\").prop(\"value\");
//alert(valormes);
if(valortag=='PR' && valormes=='Final'){
//alert(valormes);
\$(\"#id_btn\").hide();
}
</script>
{% endblock %}
", "educadores/evaluacion.html.twig", "/home/sircone1/domains/sirconet.com.ve/public_html/adiestra/edutec/app/views/educadores/evaluacion.html.twig");
    }
}
