I am making a query in this way. To load all sales with their respective relationships, It turns out that everything is fine.
$ventas = Venta::with(['categoria','user','foto'])
->orderBy('id','DESC')
->where('status','PUB...
asked by
16.09.2018 / 02:26