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
ae44f10e
Commit
ae44f10e
authored
Jun 04, 2020
by
carlos
Browse files
correcoes na criacao do projeto
parent
ba71da40
Changes
3
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/TrabalhoController.php
View file @
ae44f10e
...
@@ -91,17 +91,18 @@ class TrabalhoController extends Controller
...
@@ -91,17 +91,18 @@ class TrabalhoController extends Controller
if
(
$evento
->
tipo
==
'PIBIC'
||
$evento
->
tipo
==
'PIBIC-EM'
){
if
(
$evento
->
tipo
==
'PIBIC'
||
$evento
->
tipo
==
'PIBIC-EM'
){
$validatedData
=
$request
->
validate
([
$validatedData
=
$request
->
validate
([
'editalId'
=>
[
'required'
,
'
integer
'
],
'editalId'
=>
[
'required'
,
'
string
'
],
'nomeProjeto'
=>
[
'required'
,
'string'
],
'nomeProjeto'
=>
[
'required'
,
'string'
],
'grandeArea
Id'
=>
[
'required'
,
'
integer
'
],
'grandeArea
'
=>
[
'required'
,
'
string
'
],
'area
Id'
=>
[
'required'
,
'
integer
'
],
'area
'
=>
[
'required'
,
'
string
'
],
'subArea
Id'
=>
[
'required'
,
'
integer
'
],
'subArea
'
=>
[
'required'
,
'
string
'
],
'pontuacaoPlanilha'
=>
[
'required'
,
'
integer
'
],
'pontuacaoPlanilha'
=>
[
'required'
,
'
string
'
],
'linkGrupo'
=>
[
'required'
,
'string'
],
'linkGrupo'
=>
[
'required'
,
'string'
],
'linkLattesEstudante'
=>
[
'required'
,
'string'
],
'linkLattesEstudante'
=>
[
'required'
,
'string'
],
'nomeParticipante.*'
=>
[
'required'
,
'string'
],
'nomeParticipante.*'
=>
[
'required'
,
'string'
],
'emailParticipante.*'
=>
[
'string'
],
'emailParticipante.*'
=>
[
'required'
,
'string'
],
'nomePlanoTrabalho.*'
=>
[
'string'
],
'funcaoParticipante.*'
=>
[
'required'
,
'string'
],
'nomePlanoTrabalho.*'
=>
[
'required'
,
'string'
],
'anexoProjeto'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
'anexoProjeto'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
//'anexoCONSU' => ['required', 'file', 'mimes:pdf', 'max:2000000'],
//'anexoCONSU' => ['required', 'file', 'mimes:pdf', 'max:2000000'],
'anexoLatterCoordenador'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
'anexoLatterCoordenador'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
...
@@ -113,9 +114,9 @@ class TrabalhoController extends Controller
...
@@ -113,9 +114,9 @@ class TrabalhoController extends Controller
$trabalho
=
Trabalho
::
create
([
$trabalho
=
Trabalho
::
create
([
'titulo'
=>
$request
->
nomeProjeto
,
'titulo'
=>
$request
->
nomeProjeto
,
'coordenador_id'
=>
$coordenador
->
id
,
'coordenador_id'
=>
$coordenador
->
id
,
'grande_area_id'
=>
$request
->
grandeArea
Id
,
'grande_area_id'
=>
$request
->
grandeArea
,
'area_id'
=>
$request
->
area
Id
,
'area_id'
=>
$request
->
area
,
'sub_area_id'
=>
$request
->
subArea
Id
,
'sub_area_id'
=>
$request
->
subArea
,
'pontuacaoPlanilha'
=>
$request
->
pontuacaoPlanilha
,
'pontuacaoPlanilha'
=>
$request
->
pontuacaoPlanilha
,
'linkGrupoPesquisa'
=>
$request
->
linkGrupo
,
'linkGrupoPesquisa'
=>
$request
->
linkGrupo
,
'linkLattesEstudante'
=>
$request
->
linkLattesEstudante
,
'linkLattesEstudante'
=>
$request
->
linkLattesEstudante
,
...
@@ -127,7 +128,7 @@ class TrabalhoController extends Controller
...
@@ -127,7 +128,7 @@ class TrabalhoController extends Controller
'anexoDecisaoCONSU'
=>
$request
->
anexoCONSU
,
'anexoDecisaoCONSU'
=>
$request
->
anexoCONSU
,
'anexoProjeto'
=>
$request
->
anexoProjeto
,
'anexoProjeto'
=>
$request
->
anexoProjeto
,
'anexoAutorizacaoComiteEtica'
=>
$request
->
anexoComiteEtica
,
'anexoAutorizacaoComiteEtica'
=>
$request
->
anexoComiteEtica
,
'
J
ustificativaAutorizacaoEtica'
=>
$request
->
J
ustificativaAutorizacaoEtica
,
'
j
ustificativaAutorizacaoEtica'
=>
$request
->
j
ustificativaAutorizacaoEtica
,
'anexoLattesCoordenador'
=>
$request
->
anexoLatterCoordenador
,
'anexoLattesCoordenador'
=>
$request
->
anexoLatterCoordenador
,
'anexoPlanilhaPontuacao'
=>
$request
->
anexoPlanilha
,
'anexoPlanilhaPontuacao'
=>
$request
->
anexoPlanilha
,
]);
]);
...
@@ -135,18 +136,19 @@ class TrabalhoController extends Controller
...
@@ -135,18 +136,19 @@ class TrabalhoController extends Controller
}
else
{
}
else
{
//Caso em que o anexo da Decisão do CONSU não necessário
//Caso em que o anexo da Decisão do CONSU não necessário
$validatedData
=
$request
->
validate
([
$validatedData
=
$request
->
validate
([
'editalId'
=>
[
'required'
,
'
integer
'
],
'editalId'
=>
[
'required'
,
'
string
'
],
'nomeProjeto'
=>
[
'required'
,
'string'
,],
'nomeProjeto'
=>
[
'required'
,
'string'
,],
'grandeArea
Id'
=>
[
'required'
,
'
integer
'
],
'grandeArea
'
=>
[
'required'
,
'
string
'
],
'area
Id'
=>
[
'required'
,
'
integer
'
],
'area
'
=>
[
'required'
,
'
string
'
],
'subArea
Id'
=>
[
'required'
,
'
integer
'
],
'subArea
'
=>
[
'required'
,
'
string
'
],
'pontuacaoPlanilha'
=>
[
'required'
,
'
integer
'
],
'pontuacaoPlanilha'
=>
[
'required'
,
'
string
'
],
'linkGrupo'
=>
[
'required'
,
'string'
],
'linkGrupo'
=>
[
'required'
,
'string'
],
'linkLattesEstudante'
=>
[
'required'
,
'string'
],
'linkLattesEstudante'
=>
[
'required'
,
'string'
],
'nomeCoordenador'
=>
[
'required'
,
'string'
],
'nomeCoordenador'
=>
[
'required'
,
'string'
],
'nomeParticipante.*'
=>
[
'required'
,
'string'
],
'nomeParticipante.*'
=>
[
'required'
,
'string'
],
'emailParticipante.*'
=>
[
'string'
],
'emailParticipante.*'
=>
[
'required'
,
'string'
],
'nomePlanoTrabalho.*'
=>
[
'string'
],
'funcaoParticipante.*'
=>
[
'required'
,
'string'
],
'nomePlanoTrabalho.*'
=>
[
'required'
,
'string'
],
'anexoProjeto'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
'anexoProjeto'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
'anexoLatterCoordenador'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
'anexoLatterCoordenador'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
'anexoPlanilha'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
'anexoPlanilha'
=>
[
'required'
,
'file'
,
'mimes:pdf'
,
'max:2000000'
],
...
@@ -156,9 +158,9 @@ class TrabalhoController extends Controller
...
@@ -156,9 +158,9 @@ class TrabalhoController extends Controller
$trabalho
=
Trabalho
::
create
([
$trabalho
=
Trabalho
::
create
([
'titulo'
=>
$request
->
nomeProjeto
,
'titulo'
=>
$request
->
nomeProjeto
,
'coordenador_id'
=>
$coordenador
->
id
,
'coordenador_id'
=>
$coordenador
->
id
,
'grande_area_id'
=>
$request
->
grandeArea
Id
,
'grande_area_id'
=>
$request
->
grandeArea
,
'area_id'
=>
$request
->
area
Id
,
'area_id'
=>
$request
->
area
,
'sub_area_id'
=>
$request
->
subArea
Id
,
'sub_area_id'
=>
$request
->
subArea
,
'coordenador'
=>
$request
->
nomeCoordenador
,
'coordenador'
=>
$request
->
nomeCoordenador
,
'pontuacaoPlanilha'
=>
$request
->
pontuacaoPlanilha
,
'pontuacaoPlanilha'
=>
$request
->
pontuacaoPlanilha
,
'linkGrupoPesquisa'
=>
$request
->
linkGrupo
,
'linkGrupoPesquisa'
=>
$request
->
linkGrupo
,
...
@@ -170,7 +172,7 @@ class TrabalhoController extends Controller
...
@@ -170,7 +172,7 @@ class TrabalhoController extends Controller
//Anexos
//Anexos
'anexoProjeto'
=>
$request
->
anexoProjeto
,
'anexoProjeto'
=>
$request
->
anexoProjeto
,
'anexoAutorizacaoComiteEtica'
=>
$request
->
anexoComiteEtica
,
'anexoAutorizacaoComiteEtica'
=>
$request
->
anexoComiteEtica
,
'
J
ustificativaAutorizacaoEtica'
=>
$request
->
J
ustificativaAutorizacaoEtica
,
'
j
ustificativaAutorizacaoEtica'
=>
$request
->
j
ustificativaAutorizacaoEtica
,
'anexoLattesCoordenador'
=>
$request
->
anexoLatterCoordenador
,
'anexoLattesCoordenador'
=>
$request
->
anexoLatterCoordenador
,
'anexoPlanilhaPontuacao'
=>
$request
->
anexoPlanilha
,
'anexoPlanilhaPontuacao'
=>
$request
->
anexoPlanilha
,
]);
]);
...
...
config/mail.php
View file @
ae44f10e
...
@@ -133,4 +133,11 @@ return [
...
@@ -133,4 +133,11 @@ return [
'log_channel'
=>
env
(
'MAIL_LOG_CHANNEL'
),
'log_channel'
=>
env
(
'MAIL_LOG_CHANNEL'
),
'stream'
=>
[
'ssl'
=>
[
'allow_self_signed'
=>
true
,
'verify_peer'
=>
false
,
'verify_peer_name'
=>
false
,
],
],
];
];
resources/views/evento/submeterTrabalho.blade.php
View file @
ae44f10e
...
@@ -31,14 +31,14 @@
...
@@ -31,14 +31,14 @@
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-sm-4"
>
<
div
class
=
"col-sm-4"
>
<
label
for
=
"grandeArea"
class
=
"col-form-label"
>
{{
__
(
'Grande Área:'
)
}}
</
label
>
<
label
for
=
"grandeArea"
class
=
"col-form-label"
>
{{
__
(
'Grande Área:'
)
}}
</
label
>
<
select
class
=
"form-control @error('grandeArea') is-invalid @enderror"
id
=
"grandeArea"
name
=
"grandeArea
Id
"
>
<
select
class
=
"form-control @error('grandeArea') is-invalid @enderror"
id
=
"grandeArea"
name
=
"grandeArea"
>
<
option
value
=
""
disabled
selected
hidden
>--
Grande
Área
--</
option
>
<
option
value
=
""
disabled
selected
hidden
>--
Grande
Área
--</
option
>
@
foreach
(
$grandeAreas
as
$grandeArea
)
@
foreach
(
$grandeAreas
as
$grandeArea
)
<
option
value
=
"
{
{$grandeArea->id}}">{{$grandeArea->nome}
}
</option>
<
option
value
=
"
{
{$grandeArea->id}}">{{$grandeArea->nome}
}
</option>
@endforeach
@endforeach
</select>
</select>
@error('grandeArea
Id
')
@error('grandeArea')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
<strong>{{
$message
}}</strong>
</span>
</span>
...
@@ -46,14 +46,14 @@
...
@@ -46,14 +46,14 @@
</div>
</div>
<div class="
col
-
sm
-
4
">
<div class="
col
-
sm
-
4
">
<label for="
area
" class="
col
-
form
-
label
">{{ __('Área:') }}</label>
<label for="
area
" class="
col
-
form
-
label
">{{ __('Área:') }}</label>
<select class="
form
-
control
@
error
(
'area'
)
is
-
invalid
@
enderror
" id="
area
" name="
area
Id
">
<select class="
form
-
control
@
error
(
'area'
)
is
-
invalid
@
enderror
" id="
area
" name="
area
">
<option value="" disabled selected hidden>-- Área --</option>
<option value="" disabled selected hidden>-- Área --</option>
@foreach(
$areas
as
$area
)
@foreach(
$areas
as
$area
)
<option value="
{{
$area
->
id
}}
">
{
{$area->nome}
}
</option>
<option value="
{{
$area
->
id
}}
">
{
{$area->nome}
}
</option>
@endforeach
@endforeach
</select>
</select>
@error('area
Id
')
@error('area')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
<strong>{{
$message
}}</strong>
</span>
</span>
...
@@ -61,14 +61,14 @@
...
@@ -61,14 +61,14 @@
</div>
</div>
<div class="
col
-
sm
-
4
">
<div class="
col
-
sm
-
4
">
<label for="
subArea
" class="
col
-
form
-
label
">{{ __('Sub Área:') }}</label>
<label for="
subArea
" class="
col
-
form
-
label
">{{ __('Sub Área:') }}</label>
<select class="
form
-
control
@
error
(
'subArea'
)
is
-
invalid
@
enderror
" id="
subArea
" name="
subArea
Id
">
<select class="
form
-
control
@
error
(
'subArea'
)
is
-
invalid
@
enderror
" id="
subArea
" name="
subArea
">
<option value="" disabled selected hidden>-- Sub Área --</option>
<option value="" disabled selected hidden>-- Sub Área --</option>
@foreach(
$subAreas
as
$subArea
)
@foreach(
$subAreas
as
$subArea
)
<option value="
{{
$subArea
->
id
}}
">
{
{$subArea->nome}
}
</option>
<option value="
{{
$subArea
->
id
}}
">
{
{$subArea->nome}
}
</option>
@endforeach
@endforeach
</select>
</select>
@error('subArea
Id
')
@error('subArea')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
<strong>{{
$message
}}</strong>
</span>
</span>
...
@@ -96,20 +96,38 @@
...
@@ -96,20 +96,38 @@
</div>
</div>
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">Link Lattes do Proponente</label>
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">Link Lattes do Proponente</label>
<input class="
form
-
control
" type="
text
" name="
linkLattesEstudante
" @if(Auth()->user()->proponentes->linkLattes != null)
<input class="
form
-
control
@
error
(
'linkLattesEstudante'
)
is
-
invalid
@
enderror
" type="
text
" name="
linkLattesEstudante
"
@if(Auth()->user()->proponentes->linkLattes != null)
value="
{{
Auth
()
->
user
()
->
proponentes
->
linkLattes
}}
"
value="
{{
Auth
()
->
user
()
->
proponentes
->
linkLattes
}}
"
@else
@else
value=""
value=""
@endif >
@endif >
@error('linkLattesEstudante')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
</div>
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Pontuação da Planilha de Pontuação :') }}</label>
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Pontuação da Planilha de Pontuação :') }}</label>
<input class="
form
-
control
" type="
text
" name="
pontuacaoPlanilha
">
<input class="
form
-
control
@
error
(
'pontuacaoPlanilha'
)
is
-
invalid
@
enderror
" type="
text
" name="
pontuacaoPlanilha
">
@error('pontuacaoPlanilha')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
</div>
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
6
">
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Link do grupo de pesquisa:') }}</label>
<label for="
nomeTrabalho
" class="
col
-
form
-
label
">{{ __('Link do grupo de pesquisa:') }}</label>
<input class="
form
-
control
" type="
text
" name="
linkGrupo
">
<input class="
form
-
control
@
error
(
'linkGrupo'
)
is
-
invalid
@
enderror
" type="
text
" name="
linkGrupo
">
@error('linkGrupo')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
</div>
</div>
</div>
...
@@ -126,7 +144,7 @@
...
@@ -126,7 +144,7 @@
<div class="
input
-
group
">
<div class="
input
-
group
">
<div class="
custom
-
file
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
" id="
anexoProjeto
" aria-describedby="
inputGroupFileAddon01
" name="
anexoProjeto
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoProjeto'
)
is
-
invalid
@
enderror
" id="
anexoProjeto
" aria-describedby="
inputGroupFileAddon01
" name="
anexoProjeto
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
anexoProjeto
">O arquivo deve ser no formato PDF de até 2mb.</label>
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
anexoProjeto
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
</div>
</div>
...
@@ -143,11 +161,11 @@
...
@@ -143,11 +161,11 @@
<div class="
input
-
group
">
<div class="
input
-
group
">
<div class="
custom
-
file
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
" id="
inputGroupFile01
" aria-describedby="
anexoLatterCoordenador
" name="
anexoLatterCoordenador
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoLatterCoordenador'
)
is
-
invalid
@
enderror
" id="
inputGroupFile01
" aria-describedby="
anexoLatterCoordenador
" name="
anexoLatterCoordenador
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
</div>
</div>
@error('a
rquivo
')
@error('a
nexoLatterCoordenador
')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
<strong>{{
$message
}}</strong>
</span>
</span>
...
@@ -166,11 +184,11 @@
...
@@ -166,11 +184,11 @@
<div class="
custom
-
file
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
" id="
inputEtica
" aria-describedby="
inputGroupFileAddon01
" name="
anexoComiteEtica
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoComiteEtica'
)
is
-
invalid
@
enderror
" id="
inputEtica
" aria-describedby="
inputGroupFileAddon01
" name="
anexoComiteEtica
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
</div>
</div>
@error('a
rquivo
')
@error('a
nexoComiteEtica
')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
<strong>{{
$message
}}</strong>
</span>
</span>
...
@@ -183,11 +201,11 @@
...
@@ -183,11 +201,11 @@
<div class="
input
-
group
">
<div class="
input
-
group
">
<div class="
custom
-
file
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
" id="
anexoPlanilha
" aria-describedby="
anexoPlanilhaDescribe
" name="
anexoPlanilha
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoPlanilha'
)
is
-
invalid
@
enderror
" id="
anexoPlanilha
" aria-describedby="
anexoPlanilhaDescribe
" name="
anexoPlanilha
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
anexoPlanilha
">O arquivo deve ser no formato PDF de até 2mb.</label>
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
anexoPlanilha
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
</div>
</div>
@error('a
rquivo
')
@error('a
nexoPlanilha
')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
<strong>{{
$message
}}</strong>
</span>
</span>
...
@@ -201,11 +219,11 @@
...
@@ -201,11 +219,11 @@
<div class="
custom
-
file
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
" id="
inputJustificativa
" aria-describedby="
inputGroupFileAddon01
" disabled="
disabled
" name="
J
ustificativaAutorizacaoEtica
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'justificativaAutorizacaoEtica'
)
is
-
invalid
@
enderror
" id="
inputJustificativa
" aria-describedby="
inputGroupFileAddon01
" disabled="
disabled
" name="
j
ustificativaAutorizacaoEtica
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
</div>
</div>
@error('
arquivo
')
@error('
justificativaAutorizacaoEtica
')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
<strong>{{
$message
}}</strong>
</span>
</span>
...
@@ -220,11 +238,11 @@
...
@@ -220,11 +238,11 @@
<div class="
input
-
group
">
<div class="
input
-
group
">
<div class="
custom
-
file
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
" id="
anexoCONSU
" aria-describedby="
inputGroupFileAddon01
" name="
anexoCONSU
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoCONSU'
)
is
-
invalid
@
enderror
" id="
anexoCONSU
" aria-describedby="
inputGroupFileAddon01
" name="
anexoCONSU
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
</div>
</div>
@error('a
rquivo
')
@error('a
nexoCONSU
')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
<strong>{{
$message
}}</strong>
</span>
</span>
...
@@ -247,11 +265,21 @@
...
@@ -247,11 +265,21 @@
<div class="
row
">
<div class="
row
">
<div class="
col
-
sm
-
5
">
<div class="
col
-
sm
-
5
">
<label>Nome Completo</label>
<label>Nome Completo</label>
<input type="
text
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
emailCoautor
" name="
nomeParticipante
[]
" placeholder="
Nome
" required>
<input type="
text
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
@
error
(
'nomeParticipante'
)
is
-
invalid
@
enderror
" name="
nomeParticipante
[]
" placeholder="
Nome
" required>
@error('nomeParticipante')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
</div>
<div class="
col
-
sm
-
4
">
<div class="
col
-
sm
-
4
">
<label>E-mail</label>
<label>E-mail</label>
<input type="
email
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
emailCoautor
" name="
emailParticipante
[]
" placeholder="
E
-
mail
" required>
<input type="
email
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
@
error
(
'emailParticipante'
)
is
-
invalid
@
enderror
" name="
emailParticipante
[]
" placeholder="
E
-
mail
" required>
@error('emailParticipante')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
</div>
<div class="
col
-
sm
-
3
">
<div class="
col
-
sm
-
3
">
<label>Função:</label>
<label>Função:</label>
...
@@ -260,6 +288,12 @@
...
@@ -260,6 +288,12 @@
@foreach(
$funcaoParticipantes
as
$funcaoParticipante
)
@foreach(
$funcaoParticipantes
as
$funcaoParticipante
)
<option value="
{{
$funcaoParticipante
->
id
}}
">
{
{$funcaoParticipante->nome}
}
</option>
<option value="
{{
$funcaoParticipante
->
id
}}
">
{
{$funcaoParticipante->nome}
}
</option>
@endforeach
@endforeach
@error('funcaoParticipante')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</select>
</select>
</div>
</div>
</div>
</div>
...
@@ -270,7 +304,13 @@
...
@@ -270,7 +304,13 @@
<div class="
row
">
<div class="
row
">
<div class="
col
-
sm
-
4
">
<div class="
col
-
sm
-
4
">
<label>Titulo </label>
<label>Titulo </label>
<input type="
text
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
emailCoautor
" name="
nomePlanoTrabalho
[]
" placeholder="
Nome
" required>
<input type="
text
" style="
margin
-
bottom
:
10
px
" class="
form
-
control
@
error
(
'nomePlanoTrabalho'
)
is
-
invalid
@
enderror
" name="
nomePlanoTrabalho
[]
" placeholder="
Nome
" required>
@error('nomePlanoTrabalho')
<span class="
invalid
-
feedback
" role="
alert
" style="
overflow
:
visible
;
display
:
block
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
</div>
{{-- Arquivo --}}
{{-- Arquivo --}}
<div class="
col
-
sm
-
7
">
<div class="
col
-
sm
-
7
">
...
@@ -280,7 +320,7 @@
...
@@ -280,7 +320,7 @@
<span class="
input
-
group
-
text
" id="
anexoPlanoTrabalho
">Selecione um arquivo:</span>
<span class="
input
-
group
-
text
" id="
anexoPlanoTrabalho
">Selecione um arquivo:</span>
</div>
</div>
<div class="
custom
-
file
">
<div class="
custom
-
file
">
<input type="
file
" class="
custom
-
file
-
input
" id="
anexoPlanoTrabalho
" aria-describedby="
anexoPlanoTrabalho
" name="
anexoPlanoTrabalho
[]
">
<input type="
file
" class="
custom
-
file
-
input
@
error
(
'anexoPlanoTrabalho'
)
is
-
invalid
@
enderror
" id="
anexoPlanoTrabalho
" aria-describedby="
anexoPlanoTrabalho
" name="
anexoPlanoTrabalho
[]
">
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
<label class="
custom
-
file
-
label
" id="
custom
-
file
-
label
" for="
inputGroupFile01
">O arquivo deve ser no formato PDF de até 2mb.</label>
</div>
</div>
</div>
</div>
...
@@ -407,11 +447,21 @@
...
@@ -407,11 +447,21 @@
"<div class="
+
"row"
+
">"
+
"<div class="
+
"row"
+
">"
+
"<div class="
+
"col-sm-5"
+
">"
+
"<div class="
+
"col-sm-5"
+
">"
+
"<label>Nome Completo</label>"
+
"<label>Nome Completo</label>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control emailCoautor'
+
" name="
+
'nomeParticipante[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control'
+
" @error('nomeParticipante') is-invalid @enderror"
+
"name="
+
'nomeParticipante[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
"@error('nomeParticipante')"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
"<strong>{{
$message
}}</strong>"
+
"</span>"
+
"@enderror"
+
"</div>"
+
"</div>"
+
"<div class="
+
"col-sm-4"
+
">"
+
"<div class="
+
"col-sm-4"
+
">"
+
"<label>E-mail</label>"
+
"<label>E-mail</label>"
+
"<input"
+
" type="
+
'email'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control emailCoautor'
+
" name="
+
'emailParticipante[]'
+
" placeholder="
+
"E-mail"
+
" required>"
+
"<input"
+
" type="
+
'email'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control'
+
" @error('emailParticipante') is-invalid @enderror'"
+
"name="
+
'emailParticipante[]'
+
" placeholder="
+
"E-mail"
+
" required>"
+
"@error('emailParticipante')"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
"<strong>{{
$message
}}</strong>"
+
"</span>"
+
"@enderror"
+
"</div>"
+
"</div>"
+
"<div class='col-sm-3'>"
+
"<div class='col-sm-3'>"
+
"<label>Função:</label>"
+
"<label>Função:</label>"
+
...
@@ -420,6 +470,11 @@
...
@@ -420,6 +470,11 @@
"@foreach(
$funcaoParticipantes
as
$funcaoParticipante
)"
+
"@foreach(
$funcaoParticipantes
as
$funcaoParticipante
)"
+
"<option value='
{
{$funcaoParticipante->id}}'>{{$funcaoParticipante->nome}
}
</option>"
+
"<option value='
{
{$funcaoParticipante->id}}'>{{$funcaoParticipante->nome}
}
</option>"
+
"@endforeach"
+
"@endforeach"
+
"@error('funcaoParticipante')"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
"<strong>{{
$message
}}</strong>"
+
"</span>"
+
"@enderror"
+
"</select>"
+
"</select>"
+
"</div>"
+
"</div>"
+
"</div>"
+
"</div>"
+
...
@@ -427,7 +482,12 @@
...
@@ -427,7 +482,12 @@
"<div class="
+
"row"
+
">"
+
"<div class="
+
"row"
+
">"
+
"<div class="
+
"col-sm-4"
+
">"
+
"<div class="
+
"col-sm-4"
+
">"
+
"<label>Titulo</label>"
+
"<label>Titulo</label>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
'form-control emailCoautor'
+
" name="
+
'nomePlanoTrabalho[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
"<input"
+
" type="
+
'text'
+
" style="
+
"margin-bottom:10px"
+
" class="
+
"form-control @error('nomePlanoTrabalho') is-invalid @enderror"
+
" name="
+
'nomePlanoTrabalho[]'
+
" placeholder="
+
"Nome"
+
" required>"
+
"@error('nomePlanoTrabalho')"
+
"<span class='invalid-feedback'"
+
"role='alert'"
+
"style='overflow: visible; display:block'>"
+
"<strong>{{
$message
}}</strong>"
+
"</span>"
+
"@enderror"
+
"</div>"
+
"</div>"
+
"<div class="
+
"col-sm-7"
+
">"
+
"<div class="
+
"col-sm-7"
+
">"
+
"<label for="
+
"nomeTrabalho"
+
">Anexo </label>"
+
"<label for="
+
"nomeTrabalho"
+
">Anexo </label>"
+
...
@@ -437,12 +497,12 @@
...
@@ -437,12 +497,12 @@
"<span class='input-group-text' id='inputGroupFileAddon01'>Selecione um arquivo:</span>"
+
"<span class='input-group-text' id='inputGroupFileAddon01'>Selecione um arquivo:</span>"
+
"</div>"
+
"</div>"
+
"<div class='custom-file'>"
+
"<div class='custom-file'>"
+
"<input type='file' class='custom-file-input
'
id='inputGroupFile01'"
+
"<input type='file' class='custom-file-input
@error('anexoPlanoTrabalho') is-invalid @enderror"
+
"
id='inputGroupFile01'"
+
"aria-describedby='inputGroupFileAddon01' name='anexoPlanoTrabalho[]'>"
+
"aria-describedby='inputGroupFileAddon01' name='anexoPlanoTrabalho[]'>"
+
"<label class='custom-file-label' id='custom-file-label' for='inputGroupFile01'>O arquivo deve ser no formato PDF de até 2mb.</label>"
+
"<label class='custom-file-label' id='custom-file-label' for='inputGroupFile01'>O arquivo deve ser no formato PDF de até 2mb.</label>"
+
"</div>"
+
"</div>"
+
"</div>"
+
"</div>"
+
"@error('a
rquiv
o')"
+
"@error('a
nexoPlanoTrabalh
o')"
+
"<span class='invalid-feedback' role='alert' style='overflow: visible; display:block'>"
+
"<span class='invalid-feedback' role='alert' style='overflow: visible; display:block'>"
+
"<strong>{{
$message
}}</strong>"
+
"<strong>{{
$message
}}</strong>"
+
"</span>"
+
"</span>"
+
...
...
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