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
29305326
"resources/vscode:/vscode.git/clone" did not exist on "b837ca1f4480d1ff9b4937b4205c438cddada1b8"
Unverified
Commit
29305326
authored
May 27, 2023
by
Edgar Vinicius Carvalho Vital
Committed by
GitHub
May 27, 2023
Browse files
Update StoreTrabalho.php
parent
25830059
Changes
1
Show whitespace changes
Inline
Side-by-side
app/Http/Requests/StoreTrabalho.php
View file @
29305326
...
@@ -74,7 +74,7 @@ class StoreTrabalho extends FormRequest
...
@@ -74,7 +74,7 @@ class StoreTrabalho extends FormRequest
$rules
[
'media_do_curso.'
.
$value
]
=
[
'required'
,
'string'
];
$rules
[
'media_do_curso.'
.
$value
]
=
[
'required'
,
'string'
];
}
}
if
(
$this
->
funcaoParticipante
[
$value
]
==
"Voluntário"
||
$this
->
funcaoParticipante
[
$value
]
==
"Bolsista"
)
{
if
(
$evento
->
tipo
!=
"CONTINUO"
&&
(
$this
->
funcaoParticipante
[
$value
]
==
"Voluntário"
||
$this
->
funcaoParticipante
[
$value
]
==
"Bolsista"
)
)
{
$rules
[
'anexoPlanoTrabalho.'
.
$value
]
=
[
'required'
];
$rules
[
'anexoPlanoTrabalho.'
.
$value
]
=
[
'required'
];
$rules
[
'nomePlanoTrabalho.'
.
$value
]
=
[
'required'
,
'string'
];
$rules
[
'nomePlanoTrabalho.'
.
$value
]
=
[
'required'
,
'string'
];
}
}
...
...
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