{% extends 'CmBundle:Z:baseDos.html.twig' %}

{% block content %}

    <div class="row">
        <h3 class="text-center">CONSULTA DE EXCURSIONES / EVENTOS</h3>
        <div class="col-lg-12 table-responsive">
            <table class="table table-condensed table-sobre table-striped table-responsive">
                <thead>
                    <tr>
                        <th>#</th>
                        <th>EVENTO</th>
                        <th>COSTO</th>
                        <th>FECHA</th>
                        <th>RESPONSABLE</th>
                    </tr>
                </thead>
                <tbody>
                    {% for e in eventos %}
                        <tr>
                            <td>{{loop.index}}</td>
                            <td>{{e.nomEve}}</td>
                            <td>$ {{e.costo | number_format(2,".",",")}}</td>
                            <td>{{e.fecEve | date('d-m-Y') }}</td>
                            <td>{{e.responsable }}</td>
                        </tr>
                    {% else %}
                    {% endfor %}
                </tbody>
            </table>
        </div>
    </div>

{% endblock %}