Commit 4a3e4468 authored by sandroresende's avatar sandroresende

corecao modulo saci

parent f9f01886
......@@ -394,7 +394,7 @@ class ContratosController extends Controller
$usuario = Auth::user();
$loginEmail = substr($usuario->email, 0, strpos( $usuario->email, '@' ));
return $usuarioPAC = Usuario::where(˜replace(replace(txt_login_usuario,'.','')'-','')˜,$loginEmail)->first();
$usuarioPAC = Usuario::where('txt_login_usuario',$loginEmail)->first();
if($usuarioPAC->cod_nivel == 9){
return view('modulo_saci.cadastrar_proposta', compact('usuarioPAC'));
......
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