<?php
session_start();
require '../../conexion.php';
$TARTICULO = consultas::get_datos("select * from v_articulos where id_articulo = " . $_REQUEST['vart'] . " and tarti_cod=" . $_REQUEST['vtipoart']);
?>

<label class="control-label">Precio</label>
<?php if (!empty($TARTICULO)) { ?>
    <input type="number" required="" placeholder="Precio del Articulo" class="form-control"
           name="vprecio"
           value="<?php echo $TARTICULO[0]['pre_venta'] ?>"
           onchange="calsubtotal1()"  onchange="calsubtotal1()" onkeyup="calsubtotal1()" onkeypress="calsubtotal1()" 
           id="pre" min="1"
           style="width: 100px">

<?php } else { ?>
    <?php echo 'ERROR NO ESTA TRAYENDO EL PRECIO'; ?>
<?php } ?>
