<div class="modal fade" id="modalExportData" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">Exportacion de Datos</h4>
            </div>
            {!! Form::open(['method' => 'GET', 'action' => 'RegistroController@export']) !!}
                <div class="modal-body">
                    <input type="hidden" name="idSucursal" id="idSucursal" value="0">
                    <div class="col-md-12">
                        <div class="form-group">
                            <label for="">Exportar por</label>
                            <select class="form-control" id="tipo" name="tipo">
                                <option value="fecha">Fecha</option>
                                <option value="tramite">Trámite</option>
                            </select>
                        </div>
                    </div>
                    <div class='col-md-6 group-date'>
                        <div class="form-group">
                            <label for="">Inicio</label>
                            <div class='input-group date' id='dtpInicio'>
                                <input type='text' class="form-control" name="inicio"/>
                                <span class="input-group-addon">
                                    {{-- <span class="glyphicon glyphicon-calendar"></span> --}}
                                     <i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class='col-md-6 group-date'>
                        <div class="form-group">
                            <label for="">Fin</label>
                            <div class='input-group date' id='dtpFin'>
                                <input type='text' class="form-control" name="fin"/>
                                <span class="input-group-addon">
                                    {{-- <span class="glyphicon glyphicon-calendar"></span> --}}
                                     <i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-12 group-tramite hiden">
                        <div class="form-group">
                            <label for="">Lista de Trámites</label>
                            <select class="form-control" name="tramite" id="tramite">
                                {{-- <option value="option">Trámite 1</option>
                                <option value="option">Trámite 2</option>
                                <option value="option">Trámite 3</option> --}}
                            </select>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Cancelar</button>
                    {{-- <a href="#" id="btnExport" class="btn btn-primary">Exportar</a> --}}
                    <input type="submit" id="btnExport"  class="btn btn-primary" value="Exportar">
                    {{-- <button type="button" id="btnExport" class="btn btn-primary">Exportar</button> --}}
                    <button type="button" id="btnExportWait" class="btn btn-primary hiden">
                        <i class="fa fa-circle-o-notch fa-spin fa-fw"></i>
                    </button>
                </div>
            {!! Form::close() !!}
        </div>
    </div>
</div>
