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
cf441fff
"app/Policies/AdminPolicy.php" did not exist on "5de5a5999b6a65aaea6d0eaf43d557ac4c33adf6"
Commit
cf441fff
authored
May 10, 2023
by
José Fernando Mendes da Costa
Browse files
salva funcao do participante
parent
1d017ee6
Changes
1
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/TrabalhoController.php
View file @
cf441fff
...
...
@@ -1235,7 +1235,8 @@ class TrabalhoController extends Controller
$data
[
'data_de_nascimento'
]
=
$request
->
data_de_nascimento
[
$part
];
$data
[
'cpf'
]
=
$request
->
cpf
[
$part
];
$data
[
'tipo'
]
=
'participante'
;
$data
[
'funcao_participante_id'
]
=
4
;
if
(
FuncaoParticipantes
::
where
(
'nome'
,
$request
->
funcaoParticipante
[
$part
])
->
exists
())
$data
[
'funcao_participante_id'
]
=
FuncaoParticipantes
::
where
(
'nome'
,
$request
->
funcaoParticipante
[
$part
])
->
first
()
->
id
;
$data
[
'rg'
]
=
$request
->
rg
[
$part
];
$data
[
'celular'
]
=
$request
->
celular
[
$part
];
$data
[
'cep'
]
=
$request
->
cep
[
$part
];
...
...
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