<?php
require('../cfg/res.php');
$sql_clie2='select *from clie12 where idnum2='.$_POST['indx'];

$res_clie2=mysql_query($sql_clie2,$link_vcrx);

?>
<table width="100%" border="1" cellspacing="0" cellpadding="2" style="border-collapse:collapse;font-size:12px; border:#000000 solid 1px;">
	<tr>
    <th>ITEM</th>
    <th>DESCRI.</th>
    <th>P.UNI</th>
    <th>CANT.</th>
    <th>SUBT.</th>
    <th>DCTO.</th>
    <th>IVA</th>
    <th>TOTAL</th>
    </tr>
<?php
while($r_clie2=mysql_fetch_assoc($res_clie2))
{
?>
	<tr>
    <td align="center"><?php echo $r_clie2['item'];?></td>
    <td><div style="max-width:200px; word-wrap:break-word;"><?php echo $r_clie2['item_descri'];?></div></td>
    <td align="right"><?php echo number_format($r_clie2['puni'],2);?></td>
    <td align="right"><?php echo number_format($r_clie2['tcant'],2);?></td>
    <td align="right"><?php echo number_format($r_clie2['tsubt'],2);?></td>
    <td align="right"><?php echo number_format($r_clie2['tdcto'],2);?></td>
    <td align="right"><?php echo number_format($r_clie2['tiva'],2);?></td>
    <td align="right"><?php echo number_format($r_clie2['total'],2);?></td>
    </tr>

	
<?php	
}
?>


</table>
