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
46fef0e3
"...views/projeto/editaFormulario/participantes.blade.php" did not exist on "d5e72c5b51e42a11ff2c4b9883f3e2aaf36ba5e1"
Commit
46fef0e3
authored
Jun 24, 2020
by
alinetenorio
Browse files
resolvendo conflitos
parents
c35d964f
88c34dc4
Changes
1
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/TrabalhoController.php
View file @
46fef0e3
...
@@ -130,6 +130,19 @@ class TrabalhoController extends Controller
...
@@ -130,6 +130,19 @@ class TrabalhoController extends Controller
]);
]);
//dd($request->all());
//dd($request->all());
// $extensions = array("xls","xlsx");
// if(isset($request->anexoPlanilha )){
// $result = array($request->file('anexoPlanilha')->getClientOriginalExtension());
// if(in_array($result[0], $extensions)){
// }else{
// $validatedData = $request->validate([
// 'anexoPlanilha' => [($request->anexoPlanilhaPreenchido!=='sim'?'required':''), 'file', 'mimes:pdf,xls,xlsx', 'max:2000000']
// ]);
// }
// }
//$trabalho = Trabalho::create([
//$trabalho = Trabalho::create([
$trabalho
[
'titulo'
]
=
$request
->
nomeProjeto
;
$trabalho
[
'titulo'
]
=
$request
->
nomeProjeto
;
$trabalho
[
'coordenador_id'
]
=
$coordenador
->
id
;
$trabalho
[
'coordenador_id'
]
=
$coordenador
->
id
;
...
...
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