Commit 035df21c authored by sandroresende's avatar sandroresende

alteracao lista propostas transferegov

parent c42c5d38
......@@ -936,14 +936,18 @@ class SelecaoController extends Controller
$where[] = ['situacao_ajustada', $request->situacaoPropostaAjustada];
}
$validaCnpj = 'Nào';
if($request->sistemaVsTransferegov){
$where[] = ['sistema_x_transferegov', $request->sistemaVsTransferegov];
$where[] = ['sistema_x_transferegov', $request->sistemaVsTransferegov];
if($request->validaCnpj == 'Verificar' || $request->sistemaVsTransferegov == 'Proposta Não Selecionada e Cadastrada no TransfereGOV')
$validaCnpj = 'Sim';
}
$validaCnpj = '';
if($request->validaCnpj){
$where[] = ['valida_cnpj', $request->validaCnpj];
$validaCnpj = $request->validaCnpj;
if($request->validaCnpj == 'Verificar' || $request->sistemaVsTransferegov == 'Proposta Não Selecionada e Cadastrada no TransfereGOV')
$validaCnpj = 'Sim';
}
$propostasTransferegov = ViewSysRelatorioGeralDiscricionarioSistema::where($where)->get();
......
......@@ -44,7 +44,7 @@
<tr class="text-center">
<th>#</th>
<th>ID</th>
@if($validaCnpj != 'Verificar')
@if($validaCnpj != 'Sim')
<th>UF Sistema</th>
<th>Município Sistema</th>
<th>CNPJ Sistema</th>
......@@ -76,7 +76,7 @@
@endif
<td>{{$loop->index+1}}
<td>{{$dados->id_sistema}}</td>
@if($validaCnpj != 'Verificar')
@if($validaCnpj != 'Sim')
<td>{{$dados->uf_sistema}}</td>
<td>{{$dados->municipio_sistema}}</td>
<td>{{$dados->cnpj_sistema}}</td>
......
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