Commit 18e4475f authored by Carlos André's avatar Carlos André
Browse files

retirando email de cadastro do participante

parent f582ff0b
...@@ -1157,7 +1157,7 @@ class TrabalhoController extends Controller ...@@ -1157,7 +1157,7 @@ class TrabalhoController extends Controller
$subject = "Participante de Projeto"; $subject = "Participante de Projeto";
Mail::to($request->emailParticipante[$key])->send(new EmailParaUsuarioNaoCadastrado(Auth()->user()->name, $projeto->titulo, 'Participante', $edital->nome, $passwordTemporario, $subject)); // Mail::to($request->emailParticipante[$key])->send(new EmailParaUsuarioNaoCadastrado(Auth()->user()->name, $projeto->titulo, 'Participante', $edital->nome, $passwordTemporario, $subject));
} else { } else {
$participante->user_id = $userParticipante->id; $participante->user_id = $userParticipante->id;
...@@ -1175,8 +1175,8 @@ class TrabalhoController extends Controller ...@@ -1175,8 +1175,8 @@ class TrabalhoController extends Controller
$participante->save(); $participante->save();
$subject = "Participante de Projeto"; $subject = "Participante de Projeto";
Mail::to($request->emailParticipante[$key]) // Mail::to($request->emailParticipante[$key])
->send(new SubmissaoTrabalho($userParticipante, $subject, $edital, $projeto)); // ->send(new SubmissaoTrabalho($userParticipante, $subject, $edital, $projeto));
} }
...@@ -1320,7 +1320,7 @@ class TrabalhoController extends Controller ...@@ -1320,7 +1320,7 @@ class TrabalhoController extends Controller
$subject = "Participante de Projeto"; $subject = "Participante de Projeto";
Mail::to($email)->send(new EmailParaUsuarioNaoCadastrado(Auth()->user()->name, $projeto->titulo, 'Participante', $edital->nome, $passwordTemporario, $subject)); // Mail::to($email)->send(new EmailParaUsuarioNaoCadastrado(Auth()->user()->name, $projeto->titulo, 'Participante', $edital->nome, $passwordTemporario, $subject));
} else { } else {
$participante->user_id = $userParticipante->id; $participante->user_id = $userParticipante->id;
...@@ -1338,8 +1338,8 @@ class TrabalhoController extends Controller ...@@ -1338,8 +1338,8 @@ class TrabalhoController extends Controller
$participante->save(); $participante->save();
$subject = "Participante de Projeto"; $subject = "Participante de Projeto";
Mail::to($email) // Mail::to($email)
->send(new SubmissaoTrabalho($userParticipante, $subject, $edital, $projeto)); // ->send(new SubmissaoTrabalho($userParticipante, $subject, $edital, $projeto));
} }
......
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