<div class="row border rounded pt-2 pb-2 mb-1 producto" id="producto<?php echo $p['id']; ?>">
	<div class="col-10 col-lg-6">
		<img class="imagen-producto-single" title="" data-id="<?php echo $p['id']; ?>"></img>
		<a target="_blank" href="/productos/detalle/<?php echo $p['id']; ?>">
			<span class="nombre"><?php echo $p['nombre']; ?></span>
		</a>
	</div>
	<div class="col-2 d-lg-none text-right">
		<button type="button" class="btn btn-primary btn-xs" data-toggle="modal" data-target="#modalProducto" data-id="<?php echo $p['id']; ?>">
			<i class="fas fa-pencil-alt"></i>
		</button>
	</div>
	<div class="col-2 col-lg-1 id-prestashop"><span data-toggle="tooltip" title="id PrestaShop"><?php echo $p['ps_id']; ?></span></div>
	<div class="col-2 col-lg-1 current-price"><?php echo clp($p['precio']); ?></div>
	<div class="col-3 col-lg-2 text-right current-stock">
		<span class="badge badge-pill badge-secondary" data-toggle="tooltip" title="Stock físico"><?php echo $p['stock']; ?></span> 
		<span class="badge badge-pill badge-warning" data-toggle="tooltip" title="Reservados"><?php echo $p['reservados']; ?></span> 
		<span class="badge badge-pill badge-success" data-toggle="tooltip" title="Disponibles"><?php echo $p['disponibles']; ?></span> 
		<span class="badge badge-pill badge-info" data-toggle="tooltip" title="Vendidos"><?php echo $p['vendidos']; ?></span> 
	</div>
	<div class="col-3 col-lg-1 text-right">
		<span class="badge badge-pill badge-success" data-toggle="tooltip" title="Vendido"><?php echo clp($p['total_vendido']); ?></span>
	</div>
	<div class="col-0 col-lg-1 text-right">
		<button type="button" class="btn btn-primary btn-xs d-none d-lg-inline" data-toggle="modal" data-target="#modalProducto" data-id="<?php echo $p['id']; ?>">
			<i class="fas fa-pencil-alt"></i>
		</button>
	</div>
</div>