<div class="row">
    <input type="hidden" id="id" value="<?php echo $_GET['id']; ?>" />
    <input type="hidden" id="winTitulo" value="<?php echo $_GET['winTitulo']; ?>" />
    <input type="hidden" id="codigo" value="<?php echo $_GET['codigo']; ?>" />
    <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 id="button-trigger" class="card card card-default scrollspy">-->
                            <div class="card-content">
                                <h6 id="tituloFrom"><b>Registrar nuevo vehículo</b>                                  
                                </h6>                                
                                <!--Le da sobras al boton -> gradient-shadow-->
                                <br>
                                <form class="formValidate" id="formValidate">
                                    <div class="row">
                                        <div class="col m4">
                                            <div class="input-field col m12 s12">
                                                <label for="txtPlaca">Placa</label>
                                                <input id="txtPlaca" name="txtPlaca" type="text" data-error=".errorTxt1">
                                                <small class="errorTxt1"></small>
                                            </div>
                                        </div>
                                        <div class="col m4">
                                            <div class="input-field col m12 s12">
                                                <label for="txtMarca">Marca</label>
                                                <input id="txtMarca" name="txtMarca" type="text" data-error=".errorTxt2">
                                                <small class="errorTxt2"></small>
                                            </div>
                                        </div>
                                        <div class="col m4">
                                            <div class="input-field col m12 s12">
                                                <label for="txtModelo">Modelo</label>
                                                <input id="txtModelo" name="txtModelo" type="text" data-error=".errorTxt3">
                                                <small class="errorTxt3"></small>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col m4">
                                            <div class="input-field col m12 s12">
                                                <label for="txtSerie">Serie</label>
                                                <input id="txtSerie" name="txtSerie" type="text" data-error=".errorTxt4">
                                                <small class="errorTxt4"></small>
                                            </div>
                                        </div>
                                        <div class="col m4">
                                            <div class="input-field col m12 s12">
                                                <label for="txtKM">Km vehículo</label>
                                                <input id="txtKM" name="txtKM" type="text" data-error=".errorTxt5">
                                                <small class="errorTxt5"></small>
                                            </div>
                                        </div>
                                    </div>
                                    <br>
                                    <div class="row">
                                        <div class="col m6"><h7>Km mantenimiento</h7></div>
                                    </div>
                                    <div class="row">
                                        <div class="col m4">
                                            <div class="input-field col m12 s12">
                                                <label for="txtKmAceiteMotor">Km cambio de aceite motor</label>
                                                <input id="txtKmAceiteMotor" name="txtKmAceiteMotor" type="text" data-error=".errorTxt6">
                                                <small class="errorTxt6"></small>
                                            </div>
                                        </div>
                                        <div class="col m4">
                                            <div class="input-field col m12 s12">
                                                <label for="txtKmAceiteCorona">Km cambio de aceite de corona</label>
                                                <input id="txtKmAceiteCorona" name="txtKmAceiteCorona" type="text" data-error=".errorTxt7">
                                                <small class="errorTxt7"></small>
                                            </div>
                                        </div>
                                        <div class="col m4">
                                            <div class="input-field col m12 s12">
                                                <label for="txtKmBujias">Km cambio de bujías</label>
                                                <input id="txtKmBujias" name="txtKmBujias" type="text" data-error=".errorTxt8">
                                                <small class="errorTxt8"></small>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col m4">
                                            <div class="input-field col m12 s12">
                                                <label for="txtKmFrenos">Km cambio líquido frenos</label>
                                                <input id="txtKmFrenos" name="txtKmFrenos" type="text" data-error=".errorTxt9">
                                                <small class="errorTxt9"></small>
                                            </div>
                                        </div>
                                        <div class="col m4">
                                            <div class="input-field col m12 s12">
                                                <label for="txtKmZapatas">Km cambio de zapatas</label>
                                                <input id="txtKmZapatas" name="txtKmZapatas" type="text" data-error=".errorTxt10">
                                                <small class="errorTxt10"></small>
                                            </div>
                                        </div>
                                        <div class="col m4">
                                            <div class="input-field col m12 s12">
                                                <label for="txtKmInyectores">Km Limpieza de inyectores</label>
                                                <input id="txtKmInyectores" name="txtKmInyectores" type="text" data-error=".errorTxt11">
                                                <small class="errorTxt11"></small>
                                            </div>
                                        </div>
                                    </div>
                                </form>
                                <div class="row">
                                    <div class="input-field col s12">
                                        <button class="btn waves-effect waves-light light-blue darken-2 right" type="button" onclick="guardarVehiculo()">Guardar
                                            <!--<i class="material-icons right">send</i>-->
                                        </button>
                                        <button class="btn waves-effect waves-light red accent-2 right mr-1" type="button" onclick="regresar()">Cancelar
                                            <!--<i class="material-icons right">send</i>-->
                                        </button>
                                    </div>
                                </div>                              
                            </div>
                        </div>                        
                    </div>                    
                </div>                
            </div>            
        </div>
    </div>
</div>
<script src="view/js/Mantenedores/despachadorVehiculoForm.js"></script>  