I'm trying to make a filter to return only the results with status_pedido 'pendente' and 'recebido'....
celohenryz liked this thread
hello, i recently started working with laravel and i'm facing a problem: I'm getting data from the a...
celohenryz liked this thread
I managed to do it this way: $pedidos = Pedido::with('itensPedido')->whereIn('status_pedido',...
I/flutter (30324): [{id_produto: 13, tamanho: 16/17, quantidade: 1, valor_unitario: 180.0}, {id_prod...
returning the same error ''Invalid argument supplied for foreach()''
return this [{"id_produto":13,"tamanho":"16/17","quantidade"...
I typed print_r($itens) and the return was Array ( [0] => stdClas Object ( [id_produto] => 30...
The Laravel portal for problem solving, knowledge sharing and community building.
The community