Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $return = AppCliente::find($id)->with('atividadesComerciais')->get();
- return view('clientes.show', ['data'=>$return]);
- public function atividadesComerciais()
- {
- return $this->belongsTo('AppAtividadesComerciais', 'atividades_comerciais_id', 'id');
- }
- {{ $data['razao_nome'] }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement