$this->id, 'nombre' => $this->nombre, 'devoluciones_habilitadas' => $this->devoluciones_habilitadas, 'pedidos' => SubpedidoResource::collection($this->subpedidos), 'total_a_recaudar' => $this->totalARecaudar(), 'total_barrial' => $this->totalBarrial(), 'total_devoluciones' => $this->totalDevoluciones(), 'total_a_transferir' => $this->totalATransferir(), 'total_transporte' => $this->totalTransporte(), 'cantidad_transporte' => number_format($this->cantidadTransporte(),0), ]; } }