Devolviendo solamente pedidos de hogares
This commit is contained in:
parent
8fb810c73f
commit
db87c38e3b
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class GrupoDeCompraResource extends JsonResource
|
|||
'id' => $this->id,
|
||||
'nombre' => $this->nombre,
|
||||
'devoluciones_habilitadas' => $this->devoluciones_habilitadas,
|
||||
'pedidos' => SubpedidoResource::collection($this->subpedidos),
|
||||
'pedidos' => SubpedidoResource::collection($this->pedidosHogares()),
|
||||
'total_a_recaudar' => number_format($this->totalARecaudar(),2),
|
||||
'saldo' => number_format($this->saldo, 2, ".", ""),
|
||||
'total_sin_devoluciones' => number_format($this->totalSinDevoluciones(),2),
|
||||
|
|
Loading…
Add table
Reference in a new issue