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
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
Hide 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'
];
}
}
...
@@ -184,4 +184,4 @@ class StoreTrabalho extends FormRequest
...
@@ -184,4 +184,4 @@ class StoreTrabalho extends FormRequest
'anexo_SIPAC.*'
=>
'anexo_SIPAC'
'anexo_SIPAC.*'
=>
'anexo_SIPAC'
];
];
}
}
}
}
\ No newline at end of file
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