2022-01-07 18:02:48 -03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Filtros;
|
|
|
|
use Illuminate\Database\Eloquent\Builder;
|
|
|
|
|
|
|
|
class FiltroDeProducto extends Filtro {
|
|
|
|
|
2022-12-11 20:00:45 -03:00
|
|
|
public function categoria(String $valor)
|
2022-01-07 18:02:48 -03:00
|
|
|
{
|
|
|
|
$this->builder->where('categoria', $valor);
|
|
|
|
}
|
|
|
|
|
2022-12-11 20:00:45 -03:00
|
|
|
public function grupoDeCompra($grupoDeCompraID)
|
|
|
|
{
|
|
|
|
$this->builder->where('', $valor);
|
|
|
|
}
|
|
|
|
|
2022-01-07 18:02:48 -03:00
|
|
|
}
|