Formato
This commit is contained in:
parent
9c234107e8
commit
20c7d33ace
1 changed files with 2 additions and 1 deletions
|
@ -59,7 +59,8 @@ class Producto extends Model
|
|||
|
||||
static public function cantidadesPorBarrio(): Collection
|
||||
{
|
||||
$barrios = GrupoDeCompra::barriosMenosPruebaConPedidosAprobados()->pluck('id', 'nombre');
|
||||
$barrios = GrupoDeCompra::barriosMenosPruebaConPedidosAprobados()
|
||||
->pluck('id', 'nombre');
|
||||
|
||||
$columnasBarrios = $barrios->map(function ($id, $nombre) {
|
||||
return DB::raw("
|
||||
|
|
Loading…
Add table
Reference in a new issue