<commit_before><?php
    session_start();

    include '..\..\database\DBManager.php';

    use source\database\DBManager;

    $db = new DBManager();

    $idservice = $_POST["dominio_vehiculo"];

    $mantenimiento = $db->altaService($service); 
?>

<form id="formEditarVehiculo">
    <h4>Editar ficha del Vehículo:</h4>
    <h4><?php echo $mantenimiento["DOMINIO_VEHICULO"];?></h4>
    <input type="hidden" name="DOMINIO_VEHICULO" value="<?php echo $mantenimiento["DOMINIO_VEHICULO"]; ?>">
    <!--<input type="hidden" name="ACTIVO" value="">-->
    <div class="row">
        <div class="input-field col s12 m6">
            <input id="id" placeholder="Ingrese dominio a reparar" name="DOMINIO_VEHICULO" type="text" class="validate" value="<?php echo $mantenimiento["DOMINIO_VEHICULO"];?>" required disabled>
        </div>
        <div class="input-field col s12 m6">
            <input id="fecha" placeholder="Ingrese fecha" name="FECHA" type="number" class="validate" value="<?php echo $mantenimiento["FECHA"];?>" required>
        </div>
    </div>
    <div class="row">
        <div class="input-field col s12 m6">
            <input id="km_vehiculo" placeholder="Ingrese Kilometraje" name="KM_VEHICULO" type="text" class="validate" value="<?php echo $mantenimiento["KM_VEHICULO"];?>">
        </div>                                                
        <div class="input-field col s12 m6">
            <input id="costo" placeholder="Ingrese costo" name="COSTO" type="text" class="validate" value="<?php echo $mantenimiento["COSTO"];?>">
        </div>        
    </div>                                        
    <div class="row">
        <div class="input-field col s12 m6">
            <input id="es_interno" placeholder="Ingrese intero" name="ES_INTERNO" type="number" class="validate" value="<?php echo $mantenimiento["ES_INTERNO"];?>">
        </div>                                                
        <div class="input-field col s12 m6">
            <input id="COMENTARIO" placeholder="Ingrese comentario" name="COMENTARIO" type="number" class="validate" value="<?php echo $mantenimiento["COMENTARIO"];?>">
        </div>        
    </div>                                        
    <div class="row">
        <div class="input-field col s12">
            <a href="#!" id="btn-editar-vehiculo" class="modal-action light-blue darken-1 waves-effect waves-light btn-large">Actualizar vehículo</a>
        </div>
    </div>    
</form><commit_msg>Se edita formulario de mantenimiento<commit_after><?php
    session_start();

    include '..\..\database\DBManager.php';

    use source\database\DBManager;

    $db = new DBManager();

  //  $idservice = $_POST["dominio_vehiculo"];

  //  $mantenimiento = $db->altaService($service); 
?>

<form id="">
    <h4>Agregar nuevo mantenimiento</h4>
    <div class="row">
        <div class="input-field col s12 m6">
            <input id="dominio_vehiculo" name="DOMINIO_VEHICULO" type="text" class="validate" required>
            <label for="dominio_vehiculo">Dominio</label>
        </div>
        <div class="input-field col s12 m6">
            <input id="km_vehiculo" name="KM_VEHICULO" type="text" class="validate" required>
            <label for="km_vehiculo">Kilometraje</label>
        </div>
    </div>
    <div class="row">
        <div class="input-field col s12 m6">
            <input name="FECHA" type="text" class="validate">
            <label for="FECHA">Fecha</label>
        </div>
        <div class="input-field col s12 m6">
            <input name="COSTO" type="text" class="validate">
            <label for="COSTO">Costo</label>
        </div>                                                
    </div>
    <div class="row">
        <div class="input-field col s12 m6">
            <input name="ES_INTERNO" type="text" class="validate">
            <label for="ES_INTERNO">Nro.Interno</label>
        </div>
        <div class="input-field col s12 m6">
            <input name="COMENTARIO" type="text" class="validate">
            <label for="COMENTARIO">COMENTARIO</label>
        </div>                                                
    </div>                                          
    <div class="row">
        <div class="input-field col s12">
            <a href="#!" id="btn-nuevo-vehiculo" class="modal-action modal-close light-blue darken-1 waves-effect waves-light btn-large">Agregar Nuevo Vehiculo</a>
        </div>
    </div>
</form>
    


    
{'fraction_non_alphanumeric': 0.16090664272890484, 'fraction_numerical': 0.010771992818671455, 'mean_word_length': 2.3014814814814817, 'pattern_counts': {'":': 0, '<': 98, '<?xml version=': 0, '>': 100, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 11, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7555224', 'n_tokens_mistral': 1426, 'n_tokens_neox': 1388, 'n_words': 288}