<?php
    session_start();
    $usuarioSession = $_SESSION['USUARIO'];
    $grupo = $_SESSION['GRUPO'];
    $contacto = $_SESSION['CONTACTO'];
    $awa_session_id = $_SESSION['AWA_SESION_ID'];
    include('../includes/conex.php');
    include('../includes/eat.php');
    include('../includes/functions.php');
    include('../class/Schema.php');
    include('../class/Static.php');
    
    $Schema = new Schema($con);
    $precio = empty($_POST['precio']) ? 0 : Statics::SafeInput($con, $_POST['precio']);
    $sql = 'UPDATE VEHICULOS_TASACIONES SET PRECIO = ? WHERE CODIGO = ?';
    $Schema->executeQuery($sql, 'ii', [$precio, $_SESSION['codigo_inactivo']]);
    

    
?>

