Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
18e4475f
Commit
18e4475f
authored
May 28, 2021
by
Carlos André
Browse files
retirando email de cadastro do participante
parent
f582ff0b
Changes
1
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/TrabalhoController.php
View file @
18e4475f
...
...
@@ -1157,7 +1157,7 @@ class TrabalhoController extends Controller
$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
{
$participante
->
user_id
=
$userParticipante
->
id
;
...
...
@@ -1175,8 +1175,8 @@ class TrabalhoController extends Controller
$participante
->
save
();
$subject
=
"Participante de Projeto"
;
Mail
::
to
(
$request
->
emailParticipante
[
$key
])
->
send
(
new
SubmissaoTrabalho
(
$userParticipante
,
$subject
,
$edital
,
$projeto
));
//
Mail::to($request->emailParticipante[$key])
//
->send(new SubmissaoTrabalho($userParticipante, $subject, $edital, $projeto));
}
...
...
@@ -1320,7 +1320,7 @@ class TrabalhoController extends Controller
$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
{
$participante
->
user_id
=
$userParticipante
->
id
;
...
...
@@ -1338,8 +1338,8 @@ class TrabalhoController extends Controller
$participante
->
save
();
$subject
=
"Participante de Projeto"
;
Mail
::
to
(
$email
)
->
send
(
new
SubmissaoTrabalho
(
$userParticipante
,
$subject
,
$edital
,
$projeto
));
//
Mail::to($email)
//
->send(new SubmissaoTrabalho($userParticipante, $subject, $edital, $projeto));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment