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

{% block stylesheet %}
{% endblock %}

{% block javascripts %}
    <script src="{{asset('js/misJs/ingresosDA.js')}}"></script>
{% endblock %}

{% block content %}
    <div class="row">
        <div class="col-lg-12" style="padding-left: 0px;padding-right: 0px;">
            <h3 class="text-center" style="margin-top: 0px;margin-bottom: 0px;background-color: greenyellow;">PAGOS REGISTRADOS EN EL SISTEMA</h3>
        </div>
        <div class="col-lg-12">
            <form method="POST" action="{{path('da_ingresos_detalle')}}">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" style="padding-left: 0px;padding-right: 0px;">
                    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 panel panel-warning" style="padding-left: 0px;padding-right: 0px;margin-bottom: 0px;">
                        <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
                            <h4 style="margin-top: 0px;">Fecha Inicial</h4>
                            <input type="date" id="fA" name="fA" value="{{"now" | date('Y-m-d') }}" class="form-control">
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
                            <h4 style="margin-top: 0px;">Fecha Final</h4>
                            <input type="date" id="fB" name="fB" class="form-control">
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
                            <h4 style="margin-top: 0px;">Plantel (opcional)</h4>
                            <select id="idePla" name="idePla" class="form-control">
                                <option value="default">Todos</option>
                                {% if planteles is defined and planteles != null %}
                                    {% for p in planteles %}
                                        <option value="{{p.idePla}}">{{p.nomPla}}</option>
                                    {% endfor %}
                                {% endif %}
                            </select>
                        </div>
                        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 panel panel-body" style="margin-bottom: 0px;">
                            <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 text-right">
                                <a class="btn btn-primary" id="buscarPorFecha">BUSCAR</a>
                            </div>
                            {#<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 text-right">
                                <a class="btn btn-success" id="buscarPorFechaPdf">BUSCAR->pdf</a>
                            </div>
                            <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 text-right">
                                <a class="btn btn-info" id="buscarPorFechaExportar">EXPORTAR->svg</a>
                            </div>#}
                        </div>
                    </div>
                </div><!-- div col-lg-12 -->
            </form>
        </div><!-- div col-lg-12 -->
        <div id="contenedor-ingresos" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 table-responsive" style="padding-left: 0px;padding-right: 0px;">
            <p>**** Modifique los filtros y presione el botón Buscar, para empezar a realizar una consulta.</p>
        </div><!-- div col-lg-12 -->
    </div><!-- FIN DIV ROW -->

{% endblock %}