Skip to content

Commit

Permalink
Merge pull request #14764 from prefeiturasp/fix/123262
Browse files Browse the repository at this point in the history
Fix/123262
  • Loading branch information
Jailsvs authored Jul 19, 2024
2 parents 02c3cfc + 246eae5 commit 93328fd
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ public async Task<bool> Executar(FiltroRelatorioFrequenciaMensalDto filtro)
filtro.UsuarioNome = usuario.Nome;
filtro.UsuarioRf = usuario.CodigoRf;

if (!filtro.CodigoDre.EhFiltroTodos())
return await GerarRelatorio(filtro, usuario);

return await GerarRelatorioPorDre(filtro, usuario);
return await GerarRelatorio(filtro, usuario);
}

private async Task<bool> GerarRelatorio(FiltroRelatorioFrequenciaMensalDto filtro, Usuario usuarioLogado)
Expand Down

0 comments on commit 93328fd

Please sign in to comment.