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
b11c6225
Commit
b11c6225
authored
Nov 21, 2022
by
S-Nathalia
Browse files
Retirando possibilidade de um professor tecnico preencher os champos de cursos em que leciona
parent
920213d2
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/Auth/RegisterController.php
View file @
b11c6225
...
...
@@ -137,7 +137,9 @@ class RegisterController extends Controller
$proponente
->
linkLattes
=
$data
[
'linkLattes'
];
$user
->
proponentes
()
->
save
(
$proponente
);
$proponente
->
cursos
()
->
sync
(
$data
[
'curso'
]);
if
(
$proponente
->
titulacaoMaxima
==
'Técnico'
){
$proponente
->
cursos
()
->
sync
(
$data
[
'curso'
]);
}
}
return
$user
;
...
...
resources/views/auth/register.blade.php
View file @
b11c6225
This diff is collapsed.
Click to expand it.
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