Commit 350fb9e7 authored by sandroresende's avatar sandroresende

correcao propostas entes

parent 3761cb9f
...@@ -222,7 +222,12 @@ class EntePublicoController extends Controller ...@@ -222,7 +222,12 @@ class EntePublicoController extends Controller
$usuario->load('tipoUsuario', 'statusUsuario','entePublico.municipio.uf'); $usuario->load('tipoUsuario', 'statusUsuario','entePublico.municipio.uf');
$propostas = Propostas::where('ente_publico_id', $usuario->ente_publico_id)->get(); $wherePropostas = [];
$wherePropostas[] = ['ente_publico_id', $usuario->ente_publico_id];
$wherePropostas[] = ['bln_propostas_recebidas_sistema', true];
$propostas = Propostas::where($wherePropostas)->get();
$propostas->load('situacaoProposta'); $propostas->load('situacaoProposta');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment