<div class="row">
    <div class="pt-3 pb-1" id="breadcrumbs-wrapper">
        <!-- Search for small screen-->
        <div class="container">
            <div class="row">
                <div class="col s12 m6 l6">
                    <h5 class="breadcrumbs-title mt-0 mb-0"><span>Mantenimiento de vehículos</span></h5>
                </div>
                <div class="col s12 m6 l6 right-align-md">
                    <ol id="olRutaGrupoTarea" class="breadcrumbs mb-0">

                    </ol>
                </div>
            </div>
        </div>
    </div>
    <div class="col s12">
        <div class="container">
            <div class="section section-data-tables">
                <!-- DataTables example -->
                <div class="row">
                    <div class="col s12 m12 l12">
                        <div id="revenue-chart" class="card">

                            <div class="card-content">
                                <a class="waves-effect waves-light red accent-2 btn-small right" onclick="exportarPDF();"><i class="material-icons right">cloud_download</i> PDF</a>
                                <div class="row">
                                    <div class="col m3">
                                        <div class="input-field col m12 s12">
                                            <input type="text" class="datepicker" id="txtFechaInicio">
                                            <label for="txtFechaInicio">Fecha inicio</label>
                                        </div>
                                    </div>
                                    <div class="col m3">
                                        <div class="input-field col m12 s12">
                                            <input type="text" class="datepicker" id="txtFechaFin">
                                            <label for="txtFechaFin">Fecha fin</label>
                                        </div>
                                    </div>
                                    <div class="col m4">
                                        <div class="input-field col m12 s12">
                                            <i onclick="listarReporteVehiculos()" class="material-icons dp48 mt-4 mr-4" style="color: #0288d1; font-size: 30px; cursor: pointer;">search</i>
                                            <i onclick="limpiarFiltros()" class="material-icons dp48 mt-4 ml-4" style="color: #0288d1; font-size: 30px; cursor: pointer;">settings_backup_restore</i>
                                        </div>
                                    </div>
                                </div>
                                <br>
                                <div class="row">
                                    <div class="col s12">
                                        <table id="scroll-vert-hor" class="display nowrap">
                                            <thead>
                                                <tr>
                                                    <th class="center">Codígo vehículo</th>
                                                    <th class="center">Placa</th>
                                                    <th class="center">Marca</th>
                                                    <th class="center">Modelo</th>
                                                    <th class="center">Serie</th>
                                                    <th class="center">Taller</th>
                                                    <th class="center">Mantenimiento</th>
                                                    <th class="center">Km</th>
                                                    <th class="center">Piezas</th>
                                                    <th class="center">Fecha</th>
                                                    <th class="center">Costo Repuestos</th>
                                                    <th class="center">Costo Mano Obra</th>
                                                    <th class="center">Costo Total</th>
                                                </tr>
                                            </thead>
                                            <tbody id="cuerpoTablaRV">

                                            </tbody>
                                            <tfoot>
                                            </tfoot>
                                        </table>
                                    </div>
                                </div>
                                <div class = "row" id = "divPDF" style = "display: none">
                                    <div class="input-field col s12">
                                        <button class="btn waves-effect waves-light red accent-2 right mr-1" type="button" onclick="cerrarPdf()">Cerrar PDF                                            
                                        </button>
                                    </div>
                                    <div class = "col s12 m12 24" id="pdfEmbebido" style="text-align: right;" >
                                    </div>
                                </div>
                                <div class="row" id="divCargando" style="display: none; margin: 70px 0px;">
                                    <div style="width: 50%; margin: auto; ">
                                        <span style="display: block; text-align: center; margin-bottom: 0px; font-size: 18px">CARGANDO...</span>
                                        <div style="display: block; text-align: center;">
                                        </div>
                                    </div>
                                </div>
                            </div>                            
                            <!--</div>-->
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="view/js/Reportes/despachadorReporteVehiculos.js"></script>  