<h1>ALUMNOS QUE NO HAN PAGADO</h1>
<table class="table table-bordered table-striped table-hover table-responsive table-condensed" style="font-size: small;">
    <thead>
        <tr>
            <th>#</th>
            <th>CVE ALUMNO</th>
            <th>NOMBRE DEL ALUMNO</th>
            <th>FECHA</th>
            <th>NIVEL</th>
            <th>GRADO</th>
            <th>ESTATUS</th>
        </tr>
    </thead>
    <tbody>
        {% set tipoUsuario = app.session.get('rol') %}
        {% for d in datos %}
            <tr>
                <td style="vertical-align: middle;">{{loop.index}}</td>
                <td style="vertical-align: middle;">
                    <a href="{{path('consulta_alumno_dos', {ideAlu: d.cveAlu.ideAlu} )}}" target="_blank" style="color: black;">{{d.cveAlu.cveCtl}}</a>
                    {% if tipoUsuario == 3 %}
                        <a href="{{path('vista_pago',{cveCtl:d.cveAlu.cveCtl})}}" class="btn btn-xs btn-success" target="_blank" data-toggle="tooltip" title="Ir a Caja..." data-placement="right">$</a>
                    {% endif %}
                </td>
                <td style="vertical-align: middle;">{{d.cveAlu.apePat}} {{d.cveAlu.apeMat}} {{d.cveAlu.nomAlu}}</td>
                {% if d.cveAlu.cveLic != null %}
                    <td style="vertical-align: middle;">{{d.cveAlu.cveLic.nomLic}}</td>
                {% else %}
                    <td style="vertical-align: middle;background-color: red;color: white;">ERROR</td>
                {% endif %}

                {% if d.cveAlu.tipoAlumno == 2 %}
                    <td style="vertical-align: middle;">{{d.cveNumApli.numeroAplicacion}}</td>
                {% else %}
                    <td style="vertical-align: middle;">{{d.cveAlu.numero}}</td>
                {% endif %}
                <td style="vertical-align: middle;"></td>
                {% if d.cveAlu.estatus.ideEst == 9%}
                    <td style="vertical-align: middle;background-color: yellow;">{{d.cveAlu.estatus.desEst}}</td>
                {% else %}
                    <td style="vertical-align: middle;">{{d.cveAlu.estatus.desEst}}</td>
                {% endif %}
            </tr>
        {% else %}
            <tr class="text-center">
                <td colspan="5"> NO HAY ALUMNOS CON CREDENCIAL ``(°.°)´´</td>
            </tr>
        {% endfor %}
    </tbody>
</table>