<table class="table table-striped table-condensed">
    <thead>
        <tr>
            <th>#</th>
            <th>No. RECIBO</th>
            <th>CONCEPTO</th>
            <th>FECHA</th>
            <th></th>
        </tr>
    </thead>
    <tbody>
        {% if otrosPagos is defined and otrosPagos != null %}
            {% for o in otrosPagos %}
                <tr>
                    <td>{{loop.index}}</td>
                    <th>{{o.numeroRecibo}}</th>
                    <td>{{o.cveTra.desTra}}</td>
                    <td style="width: 85px;">{{o.fecMov | date('d-m-Y')}}</td>
                    <td>
                        {% if loop.index == 1 %}
                            <a id="otro{{o.ideAluTra}}" class="btn btn-xs btn-success" href="{{path('imprimir_otro',{ideOtro:o.ideAluTra})}}" target="_blank"><i class="fa fa-print fw fa-sm"></i></a>
                        {% else %}
                            <a id="otro{{o.ideAluTra}}" class="btn btn-xs btn-default" href="{{path('imprimir_otro',{ideOtro:o.ideAluTra})}}" target="_blank"><i class="fa fa-print fw fa-sm"></i></a>
                        {% endif %}
                    </td>
                </tr>
            {% endfor %}
        {% endif %}
    </tbody>
</table>
