<div class="row border rounded pt-2 pb-2 mb-1 producto" id="producto<?php echo $p['id']; ?>">
	<div class="col-12 col-lg-3">
		<a target="_blank" href="/productos/detalle/<?php echo $p['id']; ?>">
			<span class="nombre"><?php echo $p['nombre']; ?></span>
		</a>
	</div>
	<div class="col-5 col-lg-2 id-prestashop"><span class="tt" title="Última compra"><?php echo fecha($p['ultima_compra']); ?></span></div>
	<div class="col-5 col-lg-2 id-prestashop"><span class="tt" title="Última venta"><?php echo fecha($p['ultima_venta']); ?></span></div>
	<div class="col-2 col-lg-1 id-prestashop"><span class="tt" title="id Prestashop"><?php echo $p['ps_id']; ?></span></div>
	<div class="col-4 col-lg-1 current-price"><span class="tt" title="Precio"><?php echo clp($p['precio']); ?></span></div>
	<div class="col-4 col-lg-2 text-center">
			<span class="badge badge-pill badge-secondary tt" title="Stock físico"><?php echo $p['stock'];?></span>
			<span class="badge badge-pill badge-warning tt" title="Reservados"><?php echo $p['reservados'];?></span>
			<span class="badge badge-pill badge-success tt" title="Disponibles"><?php echo $p['disponibles'];?></span>
			<span class="badge badge-pill badge-info tt" title="Vendidos"><?php echo $p['vendidos']; ?></span>
	</div>
	<div class="col-4 col-lg-1 text-right">
		<span class="badge badge-pill badge-success tt" title="Monto Vendido"><?php echo clp($p['total_vendido']); ?></span>
	</div>
</div>