<!--<a id="btnImpOtro" class="btn btn-sm btn-success" href="{path('imprimir_extra',{ideExa:extra.ideExa})}}" target="_blank">IMPRIMIR RECIBO EXTRA</a>-->
<table class="table table-striped table-condensed">
    <thead>
        <tr>
            <th>#</th>
            <th>No. RECIBO</th>
            <th>MATERIA</th>
            <th>FECHA</th>
            <th></th>
        </tr>
    </thead>
    <tbody>
        {% if extras is defined and extras != null %}
            {% for e in extras %}
                <tr>
                    <td>{{loop.index}}</td>
                    <td>{{e.numRecibo}}</td>
                    <td>{{e.materia}}</td>
                    <td>{{e.fecMov | date('d-m-Y')}}</td>
                    <td>
                        {% if loop.index == 1 %}
                            <a id="extra{{e.ideExa}}" class="btn btn-xs btn-success" href="{{path('imprimir_extra',{ideExa:e.ideExa})}}" target="_blank">COMPROBANTE</a>
                        {% else %}
                            <a id="extra{{e.ideExa}}" class="btn btn-xs btn-info" href="{{path('imprimir_extra',{ideExa:e.ideExa})}}" target="_blank">COMPROBANTE</a>
                        {% endif %}
                    </td>
                </tr>
            {% endfor %}
        {% endif %}
    </tbody>
</table>
