<p class="form-title">Listado de Ventas</p>
<?php 
if (!Forms::checkPermission(FORM_SELL_LIST)) {
    return;
}
require 'inc/class.sell.php';
require 'inc/class.formatter.php';
$selles = Sell::getAll("`date`", "DESC");
?>

<table class="default">
<thead>
	<tr>
		<th style="width:8em">Venta Nro.</th>
		<th style="width:8em">Fecha</th>
		<th style="width:12em">Cliente</th>
		<th>Estado</th>
		<th style="width:8em">Monto <?php 
echo SB_CURRENCY;
?>
</th>
		<th style="width:8em">Saldo <?php 
echo SB_CURRENCY;
?>
</th>
		<th colspan="2">&nbsp;</th>
	</tr>
</thead>
<tbody>
	<?php 
foreach ($selles as $sell) {