<div class="table-responsive">
    <table class="table table-striped table-bordered">
        <thead>
            <tr>
                <th width="10%">FACT Nº</th>
                <th>FECHA</th>
                <th>VENDEDOR</th>
                <th>TOTAL</th>
                <th width="2%"></th>
            </tr>
        </thead>
        <?php 
            $clie_id=$_GET['clie_id'];
            $descuento_total=0;
            $registros=mysqli_query($con,"SELECT * from ventas where Cliente_clie_id='$clie_id' and ven_estado='anulada' order by ven_n_venta desc") or die(mysqli_error($con));
            while ($reg=mysqli_fetch_array($registros))
            {  
                $ven_id=$reg['ven_id'];
                $ven_n_venta=$reg['ven_n_venta'];
                $ven_fecha=$reg['ven_fecha'];
                $usuario=$reg['vendedor'];

                $sumador_total=0;
                $total_art=0;
                $total_combos=0;
                
                include('include/total_venta.php');
                $sumador_total+=$total_art+$total_combos;
        ?>
            <tr>
                <td><?php echo $ven_n_venta; ?></td>
                <td><?php echo $ven_fecha; ?></td>
                <td>
                <?php  
                $sql_tar=mysqli_query($con, "SELECT * from usuario where usu_id='$usuario'");
                $bo=mysqli_fetch_array($sql_tar);
                echo $usu_n=$bo['usu_nombre'];?>
                </td>
                <td><?php echo number_format($sumador_total,0); ?></td>
                <td><?php include ('include/boton_venta2.php'); ?></td>
            </tr>
        <?php }?>
    </table>
</div> <!-- /widget -->