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
fc44964c
Unverified
Commit
fc44964c
authored
Mar 28, 2022
by
GuilhermeGz
Committed by
GitHub
Mar 28, 2022
Browse files
Merge pull request #192 from GuilhermeGz/master
Atualizações do Sistema
parents
b81c5a5b
7aeecda2
Changes
22
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/AdministradorController.php
View file @
fc44964c
...
...
@@ -131,6 +131,24 @@ class AdministradorController extends Controller
public
function
showResultados
(
Request
$request
){
$evento
=
Evento
::
where
(
'id'
,
$request
->
evento_id
)
->
first
();
$trabalhos
=
$evento
->
trabalhos
;
//foreach($trabalho->avaliadors as $avaliador)
foreach
(
$trabalhos
as
$trabalho
){
$trabalho
->
pontuacao
=
0
;
foreach
(
$trabalho
->
avaliadors
as
$avaliador
){
if
(
$avaliador
->
tipo
==
"Interno"
){
$parecerInterno
=
ParecerInterno
::
where
([[
'avaliador_id'
,
$avaliador
->
id
],[
'trabalho_id'
,
$trabalho
->
id
]])
->
first
();
if
(
$parecerInterno
!=
null
){
$trabalho
->
pontuacao
+=
$parecerInterno
->
statusAnexoPlanilhaPontuacao
;
}
}
}
}
$trabalhos
=
$trabalhos
->
sort
(
function
(
$item
,
$next
)
{
return
$item
->
pontuacao
>=
$next
->
pontuacao
?
-
1
:
1
;
});
$trabalhos
=
$this
->
paginate
(
$trabalhos
)
->
withPath
(
'/usuarios/showResultados?evento_id='
.
$evento
->
id
);;
return
view
(
'administrador.resultadosProjetos'
)
->
with
([
'evento'
=>
$evento
,
'trabalhos'
=>
$trabalhos
]);
}
...
...
app/Http/Controllers/AvaliadorController.php
View file @
fc44964c
...
...
@@ -17,6 +17,7 @@ use App\Recomendacao;
use
App\User
;
use
App\Avaliador
;
use
Carbon\Carbon
;
use
Illuminate\Support\Facades\DB
;
use
Illuminate\Support\Facades\Storage
;
class
AvaliadorController
extends
Controller
...
...
@@ -265,4 +266,36 @@ class AvaliadorController extends Controller
return
view
(
'avaliador.listarPlanos'
,
[
'planos'
=>
$planos
,
'evento'
=>
$evento
]);
}
public
function
consultaExterno
(
Request
$request
)
{
$id
=
json_decode
(
$request
->
id
)
;
$trabalho_id
=
json_decode
(
$request
->
trabalho_id
)
;
$trabalho
=
Trabalho
::
where
(
'id'
,
$trabalho_id
)
->
first
();
$avalSelecionadosId
=
$trabalho
->
avaliadors
->
pluck
(
'id'
);
$avaliadores
=
DB
::
Table
(
'avaliadors'
)
->
join
(
'users'
,
'avaliadors.user_id'
,
'='
,
'users.id'
)
->
join
(
'areas'
,
'avaliadors.area_id'
,
'='
,
'areas.id'
)
->
select
(
'avaliadors.id'
,
'areas.nome'
,
'users.name'
,
'users.instituicao'
,
'users.email'
)
->
where
(
'avaliadors.area_id'
,
$id
)
->
where
(
'avaliadors.tipo'
,
'Externo'
)
->
whereNotIn
(
'avaliadors.id'
,
$avalSelecionadosId
)
->
get
();
return
response
()
->
json
(
$avaliadores
);
return
$avaliadores
->
toJson
();
}
public
function
consultaInterno
(
Request
$request
)
{
$id
=
json_decode
(
$request
->
id
)
;
$trabalho_id
=
json_decode
(
$request
->
trabalho_id
)
;
$trabalho
=
Trabalho
::
where
(
'id'
,
$trabalho_id
)
->
first
();
$avalSelecionadosId
=
$trabalho
->
avaliadors
->
pluck
(
'id'
);
$avaliadores
=
DB
::
Table
(
'avaliadors'
)
->
join
(
'users'
,
'avaliadors.user_id'
,
'='
,
'users.id'
)
->
join
(
'areas'
,
'avaliadors.area_id'
,
'='
,
'areas.id'
)
->
select
(
'avaliadors.id'
,
'areas.nome'
,
'users.name'
,
'users.instituicao'
,
'users.email'
)
->
where
(
'avaliadors.area_id'
,
$id
)
->
where
(
'avaliadors.tipo'
,
'Interno'
)
->
whereNotIn
(
'avaliadors.id'
,
$avalSelecionadosId
)
->
get
();
return
response
()
->
json
(
$avaliadores
);
return
$avaliadores
->
toJson
();
}
}
app/Http/Controllers/EventoController.php
View file @
fc44964c
...
...
@@ -127,9 +127,6 @@ class EventoController extends Controller
'dt_inicioRelatorioFinal'
=>
[
'required'
,
'date'
],
'dt_fimRelatorioFinal'
=>
[
'required'
,
'date'
],
'pdfFormAvalExterno'
=>
[(
$request
->
pdfFormAvalExternoPreenchido
!==
'sim'
?
'required'
:
''
),
'file'
,
'mimes:pdf'
,
'max:2048'
],
'pdfFormAvalInterno'
=>
[(
$request
->
pdfFormAvalInternoPreenchido
!==
'sim'
?
'required'
:
''
),
'file'
,
'mimes:pdf'
,
'max:2048'
]
,
'pdfFormAvalInterno'
=>
[
'required'
,
'file'
],
'pdfEdital'
=>
[(
$request
->
pdfEditalPreenchido
!==
'sim'
?
'required'
:
''
),
'file'
,
'mimes:pdf'
,
'max:2048'
],
//'modeloDocumento' => [],
]);
...
...
@@ -159,7 +156,6 @@ class EventoController extends Controller
'dt_inicioRelatorioFinal'
=>
[
'required'
,
'date'
,
'after:dt_fimRelatorioParcial'
],
'dt_fimRelatorioFinal'
=>
[
'required'
,
'date'
,
'after_or_equal:dt_inicioRelatorioFinal'
],
'pdfFormAvalExterno'
=>
[(
$request
->
pdfFormAvalExternoPreenchido
!==
'sim'
?
'required'
:
''
),
'file'
,
'mimes:pdf'
,
'max:2048'
],
'pdfFormAvalInterno'
=>
[(
$request
->
pdfFormAvalInternoPreenchido
!==
'sim'
?
'required'
:
''
),
'file'
,
'mimes:pdf'
,
'max:2048'
],
'pdfEdital'
=>
[(
$request
->
pdfEditalPreenchido
!==
'sim'
?
'required'
:
''
),
'file'
,
'mimes:pdf'
,
'max:2048'
],
//'modeloDocumento' => ['file', 'mimes:zip,doc,docx,odt,pdf', 'max:2048'],
]);
...
...
@@ -220,15 +216,6 @@ class EventoController extends Controller
$evento
->
modeloDocumento
=
$path
.
$nome
;
}
if
(
isset
(
$request
->
pdfFormAvalInterno
)){
$pdfFormAvalInterno
=
$request
->
pdfFormAvalInterno
;
$extension
=
$pdfFormAvalInterno
->
extension
();
$path
=
'pdfFormAvalInterno/'
.
$evento
->
id
.
'/'
;
$nome
=
"formulario de avaliação interno"
.
"."
.
$extension
;
Storage
::
putFileAs
(
$path
,
$pdfFormAvalInterno
,
$nome
);
$evento
->
formAvaliacaoInterno
=
$path
.
$nome
;
}
if
(
isset
(
$request
->
pdfFormAvalExterno
)){
$pdfFormAvalExterno
=
$request
->
pdfFormAvalExterno
;
...
...
@@ -277,10 +264,7 @@ class EventoController extends Controller
$pasta
=
'pdfFormAvalExterno/'
.
$eventoTemp
->
id
;
$eventoTemp
->
formAvaliacaoExterno
=
Storage
::
putFileAs
(
$pasta
,
$request
->
pdfFormAvalExterno
,
'formulario de avaliação externo.pdf'
);
}
if
(
!
(
is_null
(
$request
->
pdfFormAvalInterno
))
)
{
$pasta
=
'pdfFormAvalInterno/'
.
$eventoTemp
->
id
;
$eventoTemp
->
formAvaliacaoInterno
=
Storage
::
putFileAs
(
$pasta
,
$request
->
pdfFormAvalInterno
,
'formulario de avaliação interno.pdf'
);
}
$eventoTemp
->
update
();
...
...
@@ -413,7 +397,6 @@ class EventoController extends Controller
'pdfEdital'
=>
[
'file'
,
'mimes:pdf'
,
'max:2048'
],
'modeloDocumento'
=>
[
'file'
,
'mimes:zip,doc,docx,odt,pdf'
,
'max:2048'
],
'pdfFormAvalExterno'
=>
[
'file'
,
'mimes:pdf'
,
'max:2048'
],
'pdfFormAvalInterno'
=>
[
'file'
,
'mimes:pdf'
,
'max:2048'
],
]);
}
...
...
@@ -437,7 +420,6 @@ class EventoController extends Controller
'dt_fimRelatorioFinal'
=>
[
'required'
,
'date'
,
'after_or_equal:dt_inicioRelatorioFinal'
],
'modeloDocumento'
=>
[
'file'
,
'mimes:zip,doc,docx,odt,pdf'
,
'max:2048'
],
'pdfFormAvalExterno'
=>
[
'file'
,
'mimes:pdf'
,
'max:2048'
],
'pdfFormAvalInterno'
=>
[
'file'
,
'mimes:pdf'
,
'max:2048'
],
]);
$evento
->
nome
=
$request
->
nome
;
...
...
@@ -475,15 +457,6 @@ class EventoController extends Controller
$evento
->
modeloDocumento
=
$path
.
$nome
;
}
if
(
isset
(
$request
->
pdfFormAvalInterno
)){
$pdfFormAvalInterno
=
$request
->
pdfFormAvalInterno
;
$extension
=
$pdfFormAvalInterno
->
extension
();
$path
=
'pdfFormAvalInterno/'
.
$evento
->
id
.
'/'
;
$nome
=
"formulario de avaliação interno"
.
"."
.
$extension
;
Storage
::
putFileAs
(
$path
,
$pdfFormAvalInterno
,
$nome
);
$evento
->
formAvaliacaoInterno
=
$path
.
$nome
;
}
if
(
isset
(
$request
->
pdfFormAvalExterno
)){
$pdfFormAvalExterno
=
$request
->
pdfFormAvalExterno
;
...
...
app/Http/Controllers/ParticipanteController.php
View file @
fc44964c
...
...
@@ -125,6 +125,13 @@ class ParticipanteController extends Controller
$participante
->
anexoComprovanteMatricula
=
Storage
::
putFileAs
(
$pasta
,
$request
->
comprovanteMatricula
,
"Comprovante_de_Matricula.pdf"
);
$participante
->
anexoLattes
=
Storage
::
putFileAs
(
$pasta
,
$request
->
pdfLattes
,
"Curriculo_Lattes.pdf"
);
$participante
->
linkLattes
=
$request
->
linkLattes
;
if
(
$request
->
comprovanteBancario
!=
null
){
$participante
->
anexoComprovanteBancario
=
Storage
::
putFileAs
(
$pasta
,
$request
->
comprovanteBancario
,
"Comprovante_Bancario."
.
$request
->
file
(
'comprovanteBancario'
)
->
getClientOriginalExtension
());
}
if
(
$request
->
autorizacaoPais
!=
null
){
$participante
->
anexoAutorizacaoPais
=
Storage
::
putFileAs
(
$pasta
,
$request
->
autorizacaoPais
,
"Autorização_dos_Pais.pdf"
);
}
$participante
->
update
();
return
redirect
()
->
back
()
->
with
([
'sucesso'
=>
"Documentação complementar enviada com sucesso"
]);
...
...
resources/views/administrador/analisar.blade.php
View file @
fc44964c
...
...
@@ -10,54 +10,52 @@
<
div
class
=
"container"
>
<
div
class
=
"form-row mt-3"
>
<
div
class
=
"col-md-12"
><
h5
style
=
"color: #1492E6; font-size: 20px;"
>
Edital
-
{{
$evento
->
nome
}}
</
h5
></
div
>
<
div
class
=
"col-md-12"
><
h6
style
=
"color: #234B8B; margin-bottom:-0.4rem; font-weight: bold; font-size: 14px;"
>
Propostas
Submetidas
</
h6
></
div
>
<
div
class
=
"col-md-12"
><
h6
style
=
"color: #234B8B; margin-bottom:-0.4rem; font-weight: bold; font-size: 14px;"
>
Propostas
Submetidas
</
h6
><
br
></
div
>
<
div
class
=
"col-md-12"
>
<
div
class
=
"btn-group dropup"
>
<
button
type
=
"button"
style
=
"text-transform: capitalize;"
class
=
"btn btn-primary dropdown-toggle"
data
-
toggle
=
"dropdown"
aria
-
haspopup
=
"true"
aria
-
expanded
=
"false"
>
Filtro
@
isset
(
$column
)
-
{{
$column
}}
@
endisset
</
button
>
<
div
class
=
"dropdown-menu"
aria
-
labelledby
=
"dropdownMenuLink"
>
<
a
class
=
"dropdown-item"
href
=
"{{route('admin.analisar', ['evento_id' =>
$evento->id
])}}"
>
Todos
</
a
>
<
a
class
=
"dropdown-item"
href
=
"{{route('admin.analisar', ['evento_id' =>
$evento->id
, 'column' => 'aprovado'])}}"
>
Recomendados
</
a
>
<
a
class
=
"dropdown-item"
href
=
"{{route('admin.analisar', ['evento_id' =>
$evento->id
, 'column' => 'reprovado'])}}"
>
Não
Recomendados
</
a
>
<
a
class
=
"dropdown-item"
href
=
"{{route('admin.analisar', ['evento_id' =>
$evento->id
, 'column' => 'submetido'])}}"
>
Submetidos
</
a
>
<
a
class
=
"dropdown-item"
href
=
"{{route('admin.analisar', ['evento_id' =>
$evento->id
, 'column' => 'avaliado'])}}"
>
Avaliado
</
a
>
<
a
class
=
"dropdown-item"
href
=
"{{route('admin.analisar', ['evento_id' =>
$evento->id
, 'column' => 'corrigido'])}}"
>
Parcialmente
Recomendados
</
a
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"col-sm-5"
style
=
"top: 40px; text-align: end"
>
<
h6
style
=
"color: #234B8B; font-weight: bold;font-size: 13px; text-align: right"
>
<
div
class
=
"col-sm-5"
style
=
"top: 40px; text-align: end
;
"
>
<
h6
style
=
"color: #234B8B; font-weight: bold;font-size: 13px; text-align: right
;padding-bottom: 35px
"
>
<
img
src
=
"
{
{asset('img/icons/pendente.png')}
}
"
style
=
"width: 22px"
/>
Proposta
Pendente
<
img
src
=
"
{
{asset('img/icons/aprovado.png')}
}
"
style
=
"width: 22px"
/>
Proposta
Aprov
ada
Proposta
Recomend
ada
<
img
src
=
"
{
{asset('img/icons/negado.png')}
}
"
style
=
"width: 22px"
/>
Proposta
Negada
<
br
>
<
img
src
=
"
{
{asset('img/icons/parcialmenteAprovado.png')}
}
"
style
=
"width: 22px"
/>
Proposta
Parcialmente
Aprov
ada
Proposta
Parcialmente
Recomend
ada
</
h6
>
</
div
>
</
div
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-1 mt-5"
>
<
div
class
=
"btn-group dropup"
>
<
button
type
=
"button"
class
=
"btn btn-primary dropdown-toggle"
data
-
toggle
=
"dropdown"
aria
-
haspopup
=
"true"
aria
-
expanded
=
"false"
>
Filtro
@
isset
(
$column
)
-
{{
$column
}}
@
endisset
</
button
>
<
div
class
=
"dropdown-menu"
aria
-
labelledby
=
"dropdownMenuLink"
>
<
a
class
=
"dropdown-item"
href
=
"{{route('admin.analisar', ['evento_id' =>
$evento->id
])}}"
>
Todos
</
a
>
<
a
class
=
"dropdown-item"
href
=
"{{route('admin.analisar', ['evento_id' =>
$evento->id
, 'column' => 'aprovado'])}}"
>
Aprovados
</
a
>
<
a
class
=
"dropdown-item"
href
=
"{{route('admin.analisar', ['evento_id' =>
$evento->id
, 'column' => 'reprovado'])}}"
>
Reprovados
</
a
>
<
a
class
=
"dropdown-item"
href
=
"{{route('admin.analisar', ['evento_id' =>
$evento->id
, 'column' => 'submetido'])}}"
>
Submetidos
</
a
>
<
a
class
=
"dropdown-item"
href
=
"{{route('admin.analisar', ['evento_id' =>
$evento->id
, 'column' => 'avaliado'])}}"
>
Avaliados
</
a
>
<
a
class
=
"dropdown-item"
href
=
"{{route('admin.analisar', ['evento_id' =>
$evento->id
, 'column' => 'corrigido'])}}"
>
Corrigidos
</
a
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
@@ -73,7 +71,7 @@
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"container"
>
<
div
class
=
"form-row mt-3"
>
<
div
class
=
"col-md-10"
><
h5
style
=
"color: #234B8B; font-weight: bold"
>
T
i
tulo
:
{{
$trabalho
->
titulo
}}
</
h5
></
div
>
<
div
class
=
"col-md-10"
><
h5
style
=
"color: #234B8B; font-weight: bold"
>
T
í
tulo
:
{{
$trabalho
->
titulo
}}
</
h5
></
div
>
<
div
class
=
"col-md-2"
>
@
if
(
$trabalho
->
status
==
"aprovado"
)
<
img
src
=
"
{
{asset('img/icons/aprovado.png')}
}
"
style
=
"width: 23%;margin: auto;display: flex;margin-top: 0px;justify-content: center;align-items: center;"
alt
=
""
>
...
...
resources/views/administrador/analisarProposta.blade.php
View file @
fc44964c
...
...
@@ -74,6 +74,12 @@
target
=
"_blank"
>
{{
$trabalho
->
linkGrupoPesquisa
}}
</
a
>
</
div
>
<
div
class
=
"col-md-12"
>
<
br
>
<
b
style
=
"color: #4D4D4D;"
>
Valor
da
Planilha
de
Pontuação
:
</
b
>
<
a
style
=
"color: #4D4D4D;"
>
{{
$trabalho
->
pontuacaoPlanilha
}}
</
a
>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
@@ -294,7 +300,7 @@
</
div
>
<
div
class
=
"col-sm-4"
>
<
label
for
=
"nomeTrabalho"
class
=
"col-form-label font-tam"
style
=
"font-weight: bold"
>
{{
__
(
'Autorização
do Comitê de Ética
: '
)
}}
</
label
>
<
label
for
=
"nomeTrabalho"
class
=
"col-form-label font-tam"
style
=
"font-weight: bold"
>
{{
__
(
'Autorização
Especial
: '
)
}}
</
label
>
@
if
(
$trabalho
->
anexoAutorizacaoComiteEtica
!=
null
)
<
a
href
=
"{{ route('baixar.anexo.comite', ['id' =>
$trabalho->id
]) }}"
>
<
img
class
=
""
src
=
"
{
{asset('img/icons/pdf.ico')}
}
"
style
=
"width:40px"
alt
=
""
></
a
>
@
else
...
...
@@ -309,9 +315,9 @@
</
div
>
<
div
class
=
"col-sm-4"
>
<
label
for
=
"nomeTrabalho"
class
=
"col-form-label font-tam"
style
=
"font-weight: bold"
>
{{
__
(
'
Justificativ
a: '
)
}}
</
label
>
@
if
(
$trabalho
->
justificativaAutorizacaoEtic
a
!=
null
)
<
a
href
=
"{{ route('baixar.anexo
.justificativ
a', ['id' =>
$trabalho->id
]) }}"
><
img
class
=
""
src
=
"
{
{asset('img/icons/pdf.ico')}
}
"
style
=
"width:40px"
alt
=
""
></
a
>
<
label
for
=
"nomeTrabalho"
class
=
"col-form-label font-tam"
style
=
"font-weight: bold"
>
{{
__
(
'
Grupo de Pesquis
a: '
)
}}
</
label
>
@
if
(
$trabalho
->
anexoGrupoPesquis
a
!=
null
)
<
a
href
=
"{{ route('baixar.anexo
GrupoPesquis
a', ['id' =>
$trabalho->id
]) }}"
><
img
class
=
""
src
=
"
{
{asset('img/icons/pdf.ico')}
}
"
style
=
"width:40px"
alt
=
""
></
a
>
@
else
-
@
endif
...
...
@@ -433,7 +439,7 @@
<
div
class
=
"col-md-3"
style
=
"text-align: center;overflow-y: auto;overflow-x: auto"
>
<
select
class
=
"form-control"
id
=
"grandeArea"
name
=
"grande_area_id"
onchange
=
"areas()"
>
<
select
class
=
"form-control"
id
=
"grandeArea"
name
=
"grande_area_id"
onchange
=
"areas
Filtro
()"
>
<
option
value
=
""
disabled
selected
hidden
>--
Grande
Área
--</
option
>
@
foreach
(
$grandesAreas
as
$grandeArea
)
<
option
title
=
"
{
{$grandeArea->nome}
}
"
value
=
"
{
{$grandeArea->id}}">{{$grandeArea->nome}
}
</option>
...
...
@@ -443,7 +449,7 @@
<div class="
col
-
md
-
3
" style="
text
-
align
:
center
;
overflow
-
y
:
auto
;
overflow
-
x
:
auto
">
<input type="
hidden
" id="
oldArea
" value="
{{
old
(
'area'
)
}}
" >
<select class="
form
-
control
@
error
(
'area'
)
is
-
invalid
@
enderror
" id="
area
" name="
area_id
" onchange="
subareas
(
)
" >
<select class="
form
-
control
@
error
(
'area'
)
is
-
invalid
@
enderror
" id="
area
" name="
area_id
" onchange="
(
consultaExterno
(),
consultaInterno
()
)
" >
<option value="" disabled selected hidden>-- Área --</option>
</select>
</div>
...
...
@@ -452,6 +458,9 @@
<div class="
col
-
md
-
6
">
<label style="
font
-
weight
:
bold
">Externos</label>
</div>
<input type="
hidden
" id="
trab
" value="
{{
$trabalho
->
id
}}
">
<input type="
hidden
" id="
oldAvalExterno
" value="
{{
old
(
'exampleFormControlSelect3'
)
}}
" >
<select name="
avaliadores_externos_id
[]
" multiple class="
form
-
control
" id="
exampleFormControlSelect3
">
@foreach (
$trabalho->aval
as
$avaliador
)
@if(
$avaliador->tipo
== "
Externo
")
...
...
@@ -462,6 +471,7 @@
<div class="
col
-
md
-
6
">
<label style="
font
-
weight
:
bold
">Internos</label>
</div>
<input type="
hidden
" id="
oldAvalInterno
" value="
{{
old
(
'exampleFormControlSelect2'
)
}}
" >
<select name="
avaliadores_internos_id
[]
" multiple class="
form
-
control
" id="
exampleFormControlSelect2
">
@foreach (
$trabalho->aval
as
$avaliador
)
@if(
$avaliador->tipo
== "
Interno
")
...
...
@@ -558,7 +568,7 @@
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"container"
>
<
div
class
=
"form-row mt-3"
>
<
div
class
=
"col-md-11"
><
h5
style
=
"color: #234B8B; font-weight: bold"
>
Aprov
ação
</
h5
></
div
>
<
div
class
=
"col-md-11"
><
h5
style
=
"color: #234B8B; font-weight: bold"
>
Recomend
ação
</
h5
></
div
>
</
div
>
<
hr
style
=
"border-top: 1px solid#1492E6"
>
<
form
action
=
"{{ route('trabalho.aprovarProposta', ['id' =>
$trabalho->id
]) }}"
method
=
"post"
>
...
...
@@ -570,19 +580,22 @@
>@
if
(
$trabalho
->
comentario
!=
null
){{
$trabalho
->
comentario
}}
@
endif
</
textarea
>
</
div
>
<
div
class
=
"col-md-3"
style
=
"margin-top: 15px"
>
<
input
class
=
"col-md-1"
type
=
"radio"
id
=
"aprovado"
name
=
"statusProp"
value
=
"aprovado"
required
>
<
a
style
=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Aprovado
</
a
>
<
input
class
=
"col-md-1"
type
=
"radio"
id
=
"aprovado"
name
=
"statusProp"
value
=
"aprovado"
required
@
if
(
$trabalho
->
status
==
"aprovado"
)
checked
@
endif
>
<
a
style
=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Recomendado
</
a
>
<
br
>
<
input
class
=
"col-md-1"
type
=
"radio"
id
=
"parcialAprovado"
name
=
"statusProp"
value
=
"corrigido"
required
>
<
a
style
=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Parcialmente
Aprovado
</
a
>
<
input
class
=
"col-md-1"
type
=
"radio"
id
=
"parcialAprovado"
name
=
"statusProp"
value
=
"corrigido"
required
@
if
(
$trabalho
->
status
==
"corrigido"
)
checked
@
endif
>
<
a
style
=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Parcialmente
Recomendado
</
a
>
<
br
>
<
input
class
=
"col-md-1"
type
=
"radio"
id
=
"reprovado"
name
=
"statusProp"
value
=
"reprovado"
required
>
<
a
style
=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Não
Aprovado
</
a
>
<
input
class
=
"col-md-1"
type
=
"radio"
id
=
"reprovado"
name
=
"statusProp"
value
=
"reprovado"
required
@
if
(
$trabalho
->
status
==
"reprovado"
)
checked
@
endif
>
<
a
style
=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Não
Recomendado
</
a
>
</
div
>
</
div
>
<
button
id
=
"enviar"
name
=
"enviar"
type
=
"submit"
class
=
"btn btn-primary"
style
=
"padding: 5px 10px;font-size: 18px;"
>
Envi
ar
Salv
ar
</
button
>
</
form
>
</
div
>
...
...
@@ -717,7 +730,7 @@
@
if
(
$subs
->
status
==
'Finalizada'
)
<
h5
style
=
"color: #234B8B; "
class
=
"col-md-12 text-center"
>
Status
:
Concluída
</
h5
>
@
elseif
(
$subs
->
status
==
'Negada'
)
<
h5
style
=
"color: #234B8B; "
class
=
"col-md-12 text-center"
>
Status
:
Negada
</>
<
h5
style
=
"color: #234B8B; "
class
=
"col-md-12 text-center"
>
Status
:
Negada
</
h5
>
@
elseif
(
$subs
->
status
==
'Em Aguardo'
)
<
h5
style
=
"color: #234B8B; "
class
=
"col-md-12 text-center"
>
Status
:
Pendente
</
h5
>
@
endif
...
...
@@ -1109,7 +1122,7 @@
}
}
function
areas
()
{
function
areas
Filtro
()
{
var
grandeArea
=
$
(
'#grandeArea'
)
.
val
();
$
.
ajax
({
type
:
'POST'
,
...
...
@@ -1145,6 +1158,77 @@
})
}
</
script
>
<
script
>
function
consultaExterno
()
{
var
area
=
$
(
'#area'
)
.
val
();
var
job
=
$
(
'#trab'
)
.
val
();
$
.
ajax
({
type
:
'POST'
,
url
:
'{{ route('
aval
.
consultaExterno
') }}'
,
data
:
'id='
+
area
+
"&trabalho_id="
+
job
,
headers
:
{
'X-CSRF-TOKEN'
:
$
(
'meta[name="csrf-token"]'
)
.
attr
(
'content'
)
},
success
:
(
dados
)
=>
{
if
(
dados
.
length
>
0
)
{
$
.
each
(
dados
,
function
(
i
,
obj
)
{
if
(
obj
.
instituicao
==
null
){
option
+=
'<option value="'
+
obj
.
id
+
'">'
+
obj
.
name
+
' > '
+
'Instituição indefinida'
+
' > '
+
obj
.
nome
+
' > '
+
obj
.
email
+
'</option>'
;
}
else
{
option
+=
'<option value="'
+
obj
.
id
+
'">'
+
obj
.
name
+
' > '
+
obj
.
instituicao
+
' > '
+
obj
.
nome
+
' > '
+
obj
.
email
+
'</option>'
;
}
})
}
else
{
var
option
=
"<option selected disabled>Sem Resultado</option>"
;
}
$
(
'#exampleFormControlSelect3'
)
.
html
(
option
)
.
show
();
},
error
:
(
data
)
=>
{
console
.
log
(
data
);
}
})
}
function
consultaInterno
()
{
var
area
=
$
(
'#area'
)
.
val
();
var
job
=
$
(
'#trab'
)
.
val
();
$
.
ajax
({
type
:
'POST'
,
url
:
'{{ route('
aval
.
consultaInterno
') }}'
,
data
:
'id='
+
area
+
"&trabalho_id="
+
job
,
headers
:
{
'X-CSRF-TOKEN'
:
$
(
'meta[name="csrf-token"]'
)
.
attr
(
'content'
)
},
success
:
(
dados
)
=>
{
if
(
dados
.
length
>
0
)
{
$
.
each
(
dados
,
function
(
i
,
obj
)
{
if
(
obj
.
instituicao
==
null
){
option
+=
'<option value="'
+
obj
.
id
+
'">'
+
obj
.
name
+
' > '
+
'Instituição indefinida'
+
' > '
+
obj
.
nome
+
' > '
+
obj
.
email
+
'</option>'
;
}
else
{
option
+=
'<option value="'
+
obj
.
id
+
'">'
+
obj
.
name
+
' > '
+
obj
.
instituicao
+
' > '
+
obj
.
nome
+
' > '
+
obj
.
email
+
'</option>'
;
}
})
}
else
{
var
option
=
"<option selected disabled>Sem Resultado</option>"
;
}
$
(
'#exampleFormControlSelect2'
)
.
html
(
option
)
.
show
();
},
error
:
(
data
)
=>
{
console
.
log
(
data
);
}
})
}
</
script
>
<
script
>
if
({
!!
json_encode
(
session
(
'error'
),
JSON_HEX_TAG
)
!!
})
...
...
resources/views/administrador/editais.blade.php
View file @
fc44964c
...
...
@@ -23,12 +23,10 @@
<
div
class
=
"col-sm-4"
style
=
"float: center;"
>
<
h4
class
=
"titulo-table"
>
Editais
</
h4
>
</
div
>
<
div
class
=
"col-sm-
2
"
>
<
div
class
=
"col-sm-
3
"
>
<
a
href
=
"
{
{route('evento.criar')}
}
"
class
=
"btn btn-info"
style
=
"float: right;"
>
Criar
Edital
</
a
>
</
div
>
<
div
class
=
"col-sm-1"
>
<
a
href
=
"
{
{route('bolsas.listar')}
}
"
class
=
"btn btn-info"
style
=
"float: right;"
>
Bolsas
</
a
>
</
div
>
</
div
>
<
hr
>
@
if
(
session
(
'mensagem'
))
...
...
resources/views/administrador/resultadosProjetos.blade.php
View file @
fc44964c
...
...
@@ -33,17 +33,21 @@
<
table
class
=
"table table-bordered"
style
=
"display: block; white-space: nowrap; border-radius:10px; margin-bottom:0px"
>
<
thead
>
<
tr
>
<
th
scope
=
"col"
>
Pontuação
</
th
>
<
th
scope
=
"col"
style
=
"width: 100%;"
>
Nome
do
projeto
</
th
>
<
th
scope
=
"col"
>
Proponente
</
th
>
<
th
scope
=
"col"
>
Área
</
th
>
<
th
scope
=
"col"
>
N
.
Planos
</
th
>
<
th
scope
=
"col"
>
Avaliador
Externo
</
th
>
<
th
scope
=
"col"
>
Avaliador
</
th
>
<
th
scope
=
"col"
>
Status
</
th
>
<
th
scope
=
"col"
>
Bolsas
</
th
>
</
tr
>
</
thead
>
<
tbody
id
=
"projetos"
>
@
foreach
(
$trabalhos
as
$trabalho
)
@
if
(
$trabalho
->
status
==
'aprovado'
)
<
tr
>
<
td
>
{{
$trabalho
->
pontuacao
}}
</
td
>
<
td
style
=
"max-width:100px; overflow-x:hidden; text-overflow:ellipsis"
>
{{
$trabalho
->
titulo
}}
</
td
>
...
...
@@ -61,22 +65,138 @@
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
{{
$avaliador
->
user
->
name
}}
<
br
>
@
endforeach
@
else
Sem
Atribuição
@
endif
</
td
>
@
if
(
$trabalho
->
avaliadors
->
count
()
>
0
)
<
td
>
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
{{
$avaliador
->
pivot
->
recomendacao
}}
<
br
>
@
if
(
$avaliador
->
tipo
==
"Externo"
)
{{
$avaliador
->
pivot
->
recomendacao
}}
<
br
>
@
php
$parecer
=
App\ParecerInterno
::
where
([[
'avaliador_id'
,
$avaliador
->
id
],[
'trabalho_id'
,
$trabalho
->
id
]])
->
first
();
@
endphp
@
if
(
$parecer
!=
null
&&
$parecer
->
statusParecer
!=
null
){{
$parecer
->
statusParecer
}}
@
else
Pendente
@
endif
@
endif
@
endforeach
</
td
>
@
else
<
td
>
Pendente
</
td
>
@
endif
<
td
>
<
button
type
=
"button"
class
=
"btn btn-primary"
data
-
toggle
=
"modal"
data
-
target
=
"#modalConfirmTrab
{
{$trabalho->id}
}
"
>
Definir
</
button
>
</
td
>
</
tr
>
@
endif
@
endforeach
</
tbody
>
</
table
>
</
div
>
</
div
>
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-md-12"
>
<
br
>
{{
$trabalhos
->
links
()
}}
</
div
>
</
div
>
</
div
>
{{
--
Janelas
--
}}
@
foreach
(
$trabalhos
as
$trabalho
)
<
div
class
=
"modal fade"
id
=
"modalConfirmTrab
{
{$trabalho->id}
}
"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"modalConfirmLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-md modal-dialog-centered"
role
=
"document"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
h4
class
=
"modal-title"
id
=
"modalConfirmLabel"
align
=
"center"
title
=
"Participantes do
{
{$trabalho->titulo}
}
"
>
Projeto
{{
$trabalho
->
titulo
}}
</
h4
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
style
=
"color: rgb(182, 182, 182)"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
div
>
<
div
class
=
"modal-body"
>
@
foreach
(
$trabalho
->
participantes
as
$participante
)
<
div
class
=
"row modal-header-submeta"
>
<
div
class
=
"col-sm-8"
>
<
p
style
=
"font-size: 22px"
>
Discente
:
{{
$participante
->
user
->
name
}}
</
p
>
</
div
>
<
div
class
=
"col-sm-4"
align
=
"left"
style
=
"padding-left: 0px"
>
<
button
type
=
"button"
class
=
"btn btn-primary"
data
-
dismiss
=
"modal"
data
-
toggle
=
"modal"
data
-
target
=
"#modalConfirm
{
{$participante->id}
}
"
onclick
=
"myFunction(
{
{$trabalho->id}
}
)"
>
@
if
(
$participante
->
tipoBolsa
==
null
)
Não
Definida
@
elseif
(
$participante
->
tipoBolsa
==
"Voluntario"
)
Voluntário
@
else
{{
$participante
->
tipoBolsa
}}
@
endif
</
button
>
</
div
>
</
div
>
<
br
>
@
endforeach
</
div
>
</
div
>
</
div
>
</
div
>
@
foreach
(
$trabalho
->
participantes
as
$participante
)
{{
--
Janela
de
alocação
de
bolsa
--
}}
<
div
class
=
"modal fade"
id
=
"modalConfirm
{
{$participante->id}
}
"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"modalConfirmLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-dialog-centered"
role
=
"document"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
h4
class
=
"modal-title"
id
=
"modalConfirmLabel"
align
=
"center"
>
Confirmar
alteração
do
tipo
de
bolsa
?</
h4
>
</
div
>
@
if
(
$participante
->
tipoBolsa
!=
null
)
<
div
class
=
"modal-body"
>
<
h5
class
=
"modal-title"
id
=
"modalConfirmLabel"
align
=
"center"
>
@
if
(
$participante
->
tipoBolsa
==
'Voluntario'
)
O
discente
{{
$participante
->
user
->
name
}}
será
definido
como
bolsista
@
else
O
discente
{{
$participante
->
user
->
name
}}
será
definido
como
voluntário
@
endif
</
h5
>
</
div
>
<
div
class
=
"modal-footer"
>
<
button
type
=
"button"
class
=
"btn btn-danger"
data
-
dismiss
=
"modal"
>
Não
</
button
>
<
a
type
=
"button"
href
=
"{{ route('bolsa.alterar',['id'=>
$participante->id
, 'tipo'=>1]) }}"
id
=
"btnSubmit"
class
=
"btn btn-info"
>
Sim
</
a
>
</
div
>
@
else
<
div
class
=
"modal-body"
>
<
div
class
=
"row"
>
<
div
class
=
"col-6"
>
<
a
style
=
"float: right;"
type
=
"button"
href
=
"{{ route('bolsa.alterar',['id'=>
$participante->id
, 'tipo'=>1]) }}"
id
=
"btnSubmit"
class
=
"btn btn-info"
>
Voluntário
</
a
>
</
div
>
<
div
class
=
"col-6"
>
<
a
style
=
"float: left;"
type
=
"button"
href
=
"{{ route('bolsa.alterar',['id'=>
$participante->id
, 'tipo'=>2]) }}"
id
=
"btnSubmit"
class
=
"btn btn-info"
>
Bolsista
</
a
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"modal-footer"
>
<
button
type
=
"button"
class
=
"btn btn-danger"
data
-
dismiss
=
"modal"
>
Cancelar
</
button
>
</
div
>
@
endif
</
div
>
</
div
>
</
div
>
@
endforeach
@
endforeach
@
endsection
...
...
@@ -99,5 +219,9 @@
}
}
}
function
myFunction
(
data
){
document
.
getElementById
(
'modalConfirmTrab'
+
data
)
.
modal
(
'hide'
);
}
</
script
>
@
endsection
\ No newline at end of file
resources/views/avaliador/parecer.blade.php
View file @
fc44964c
...
...
@@ -5,75 +5,39 @@
<
div
class
=
"row justify-content-center"
>
<!--
Proponente
Dados
-->
<
div
class
=
"col-md-10"
style
=
"margin-top:4rem"
>
<
div
class
=
"card"
style
=
"border-radius: 12px"
>
<
div
class
=
"card-body"
>
<
div
class
=
"container"
>
<
div
class
=
"form-row mt-3"
>
<
div
class
=
"col-md-12"
><
h5
style
=
"color: #1492E6; margin-bottom:-0.4rem"
>
Informações
do
proponente
</
h5
></
div
>
<
div
class
=
"col-md-12"
style
=
"margin-bottom: -0.8rem;"
><
hr
style
=
"border-top: 1px solid#1492E6"
></
div
>
<
div
class
=
"form-group col-md-12"
style
=
"margin-top: 15px"
>
<
label
for
=
"nomeCompletoProponente1"
>
Proponente
</
label
>
<
input
class
=
"form-control"
type
=
"text"
id
=
"nomeCompletoProponente1"
name
=
"nomeCoordenador"
disabled
=
"disabled"
value
=
"{{
$trabalho->proponente
->user->name }}"
>
</
div
>
<
div
class
=
"form-group col-md-6"
>
<
label
for
=
"linkLattesEstudante"
>
Link
do
currículo
Lattes
</
label
>
<
input
class
=
"form-control @error('linkLattesEstudante') is-invalid @enderror"
type
=
"text"
name
=
"linkLattesEstudante"
value
=
"
{
{$trabalho->linkLattesEstudante}
}
"
disabled
>
@
error
(
'linkLattesEstudante'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"form-group col-md-6"
>
<
label
for
=
"linkGrupo"
>
Link
do
grupo
de
pesquisa
</
label
>
<
input
class
=
"form-control @error('linkGrupo') is-invalid @enderror"
type
=
"url"
name
=
"linkGrupo"
value
=
"{{
$trabalho->linkGrupoPesquisa
}}"
disabled
>
@
error
(
'linkGrupo'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"col-md-10"
style
=
"margin-top:4rem;padding: 0px"
>
@
component
(
'projeto.formularioVisualizar.proponente2'
,
[
'projeto'
=>
$trabalho
])
@
endcomponent
</
div
>
<!--
Anecos
do
Projeto
-->
<
div
class
=
"col-md-10"
style
=
"margin-top:
4rem
"
>
<
div
class
=
"card"
style
=
"border-radius:
12
px"
>
<
div
class
=
"card-body"
>
<
div
class
=
"col-md-10"
style
=
"margin-top:
20px
"
>
<
div
class
=
"card"
style
=
"border-radius:
5
px"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"container"
>
<
div
class
=
"form-row mt-3"
>
<
div
class
=
"col-md-12"
><
h5
style
=
"color: #1492E6; margin-bottom:-0.4rem"
>
Anexos
</
h5
></
div
>
<
div
class
=
"col-md-12"
style
=
"margin-bottom: -0.8rem;"
><
hr
style
=
"border-top: 1px solid#1492E6"
></
div
>
{{
--
Anexo
do
Projeto
--
}}
<
div
class
=
"form-group col-md-6"
style
=
"margin-top: 10px"
>
<
div
class
=
"row justify-content-start"
>
<
div
class
=
"col-9"
>
@
component
(
'componentes.input'
,
[
'label'
=>
'Projeto (.pdf)'
])
@
endcomponent
</
div
>
@
if
(
$trabalho
->
anexoProjeto
)
<
div
class
=
"col-3 "
>
<
a
href
=
"{{ route('baixar.anexo.projeto', ['id' =>
$trabalho->id
])}}"
><
i
class
=
"fas fa-file-pdf fa-2x"
></
i
></
a
>
</
div
>
@
else
<
div
class
=
"col-3 text-danger"
>
<
p
><
i
class
=
"fas fa-times-circle fa-2x"
></
i
></
p
>
</
div
>
@
endif
</
div
>
</
div
>
<
div
class
=
"col-md-12"
><
h5
style
=
"color: #234B8B; font-weight: bold"
>
Anexos
</
h5
></
div
>
</
div
>
<
hr
style
=
"border-top: 1px solid#1492E6"
>
{{
--
Anexo
do
Projeto
--
}}
<
div
class
=
"row justify-content-left"
>
{{
--
Arquivo
--
}}
<
div
class
=
"col-sm-4"
>
<
label
for
=
"anexoProjeto"
class
=
"col-form-label font-tam"
style
=
"font-weight: bold"
>
{{
__
(
'Projeto: '
)
}}
</
label
>
<
a
href
=
"{{ route('baixar.anexo.projeto', ['id' =>
$trabalho->id
])}}"
><
img
class
=
""
src
=
"
{
{asset('img/icons/pdf.ico')}
}
"
style
=
"width:40px"
alt
=
""
></
a
>
<!--
Planos
de
Trabalho
-->
</
div
>
{{
--
Autorização
Especial
--
}}
<
div
class
=
"col-sm-4"
>
<
label
for
=
"nomeTrabalho"
class
=
"col-form-label font-tam"
style
=
"font-weight: bold"
>
{{
__
(
'Autorização Especial: '
)
}}
</
label
>
@
if
(
$trabalho
->
anexoAutorizacaoComiteEtica
!=
null
)
<
a
href
=
"{{ route('baixar.anexo.comite', ['id' =>
$trabalho->id
]) }}"
>
<
img
class
=
""
src
=
"
{
{asset('img/icons/pdf.ico')}
}
"
style
=
"width:40px"
alt
=
""
></
a
>
@
else
-
@
endif
</
div
>
{{
--
Anexo
(
s
)
do
Plano
(
s
)
de
Trabalho
--
}}
@
foreach
(
$trabalho
->
participantes
as
$participante
)
@
php
if
(
App\Arquivo
::
where
(
'participanteId'
,
$participante
->
id
)
->
first
()
!=
null
){
...
...
@@ -82,103 +46,22 @@
$planoTrabalhoTemp
=
null
;
}
@
endphp
<
div
class
=
"form-group col-md-6"
style
=
"margin-top: 10px"
>
<
div
class
=
"row justify-content-start"
>
<
div
class
=
"col-9"
>
<
label
for
=
"nomePlano"
class
=
"col-form-label"
>
Plano
:
{{
$participante
->
planoTrabalho
->
titulo
}}
</
label
>
</
div
>
@
if
(
$planoTrabalhoTemp
!=
null
)
<
div
class
=
"col-3 "
>
<
a
href
=
"{{route('download', ['file' =>
$planoTrabalhoTemp
])}}"
><
i
class
=
"fas fa-file-pdf fa-2x"
></
i
></
a
>
</
div
>
@
else
<
div
class
=
"col-3 text-danger"
>
<
p
><
i
class
=
"fas fa-times-circle fa-2x"
></
i
></
p
>
</
div
>
@
endif
</
div
>
</
div
>
@
endforeach
<!--
Anexo
da
autorizações
especiais
-->
<
div
class
=
"form-group col-md-6"
>
<
div
class
=
"row justify-content-start"
>
<
div
class
=
"col-10 "
>
<
div
class
=
"row"
>
<
div
class
=
"col-12"
>
<
label
for
=
"botao"
class
=
"col-form-label @error('botao') is-invalid @enderror"
data
-
toggle
=
"tooltip"
data
-
placement
=
"bottom"
title
=
"Se possuir, coloque todas em único arquivo pdf."
style
=
"margin-right: 15px;"
>
{{
__
(
'Possui autorizações especiais?'
)
}}
<
span
style
=
"color: red; font-weight:bold"
>*</
span
></
label
>
</
div
>
<
div
class
=
"col-12"
>
<
input
type
=
"radio"
@
if
(
$trabalho
->
anexoAutorizacaoComiteEtica
)
checked
@
endif
id
=
"radioSim"
onchange
=
"displayAutorizacoesEspeciais('sim')"
disabled
>
<
label
for
=
"radioSim"
style
=
"margin-right: 5px"
>
Sim
</
label
>
<
input
type
=
"radio"
id
=
"radioNao"
@
if
(
$trabalho
->
justificativaAutorizacaoEtica
)
checked
@
endif
onchange
=
"displayAutorizacoesEspeciais('nao')"
disabled
>
<
label
for
=
"radioNao"
style
=
"margin-right: 5px"
>
Não
</
label
><
br
>
</
div
>
</
div
>
<
span
id
=
"idAvisoAutorizacaoEspecial"
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:none"
>
<
strong
>
Selecione
a
autorização
e
envie
o
arquivo
!</
strong
>
</
span
>
<
div
class
=
"form-group"
id
=
"displaySim"
style
=
"display: block; margin-top:-1rem"
>
@
component
(
'componentes.input'
,
[
'label'
=>
'Sim, declaro que necessito de autorizações especiais (.pdf)'
])
<
div
class
=
"col-sm-4"
>
<
label
for
=
"anexoProjeto"
class
=
"col-form-label font-tam limit"
style
=
"font-weight: bold"
title
=
"
{
{$participante->planoTrabalho->titulo}
}
"
>
{{
__
(
'Projeto: '
)
}}{{
$participante
->
planoTrabalho
->
titulo
}}
</
label
>
<
div
class
=
"row justify-content-center"
>
@
if
(
$trabalho
->
anexoAutorizacaoComiteEtica
)
<
div
class
=
"col-3 mt-2"
>
<
a
href
=
"{{ route('baixar.anexo.comite', ['id' =>
$trabalho->id
]) }}"
><
i
class
=
"fas fa-file-pdf fa-2x"
></
i
></
a
>
</
div
>
@
else
<
div
class
=
"col-3 text-danger"
>
<
p
><
i
class
=
"fas fa-times-circle fa-2x"
></
i
></
p
>
</
div
>
@
endif
</
div
>
@
error
(
'anexoAutorizacaoComiteEtica'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
@
endcomponent
</
div
>
<
div
class
=
"form-group"
id
=
"displayNao"
style
=
"display: none; margin-top:-1rem"
>
@
component
(
'componentes.input'
,
[
'label'
=>
'Declaração de que não necessito de autorização especiais (.pdf)'
])
@
if
(
$trabalho
->
justificativaAutorizacaoEtica
)
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-3 mt-2"
>
<
a
href
=
"{{ route('baixar.anexo.justificativa', ['id' =>
$trabalho->id
]) }}"
><
i
class
=
"fas fa-file-pdf fa-2x"
></
i
></
a
>
</
div
>
</
div
>
@
else
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"col-3 text-danger"
>
<
p
><
i
class
=
"fas fa-times-circle fa-2x"
></
i
></
p
>
</
div
>
</
div
>
@
endif
@
error
(
'justificativaAutorizacaoEtica'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
@
endcomponent
</
div
>
</
div
>
@
if
(
$planoTrabalhoTemp
!=
null
)
<
a
href
=
"{{route('download', ['file' =>
$planoTrabalhoTemp
])}}"
><
img
src
=
"
{
{asset('img/icons/pdf.ico')}
}
"
style
=
"width:40px;margin-bottom: 35px"
alt
=
""
></
a
>
@
endif
</
div
>
</
div
>
@
endforeach
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"container"
>
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 3rem;"
>
<
div
class
=
"col-md-12"
style
=
"margin-bottom: -3rem"
>
<
div
class
=
"col-md-10"
style
=
"margin-bottom: -3rem;margin-top:20px"
>
<
div
class
=
"card card_conteudo shadow bg-white"
style
=
"border-radius:12px; border-width:0px; overflow:auto"
>
<
div
class
=
"card-header"
style
=
"border-top-left-radius: 12px; border-top-right-radius: 12px; background-color: #fff"
>
<
div
class
=
"d-flex justify-content-between align-items-center"
style
=
"margin-top: 9px; margin-bottom:-1rem"
>
...
...
@@ -214,6 +97,10 @@
<
option
@
if
(
$trabalho
->
pivot
->
recomendacao
==
'NAO-RECOMENDADO'
)
selected
@
endif
value
=
"NAO-RECOMENDADO"
>
NAO
-
RECOMENDADO
</
option
>
</
select
>
<
div
class
=
"form-group mt-3 md-3"
>
<
label
>
Formulário
do
Parecer
:
</
label
>
<
a
href
=
"{{route('download', ['file' =>
$trabalho->evento
->formAvaliacaoExterno])}}"
target
=
"_new"
style
=
"font-size: 20px; color: #114048ff;"
>
<
img
class
=
""
src
=
"
{
{asset('img/icons/file-download-solid.svg')}
}
"
style
=
"width:20px"
>
</
a
>
@
if
(
$trabalho
->
pivot
->
AnexoParecer
==
null
)
@
component
(
'componentes.input'
,
[
'label'
=>
'Anexo do Parecer'
])
<
input
type
=
"file"
class
=
"form-control-file"
id
=
"exampleFormControlFile1"
name
=
"anexoParecer"
required
>
...
...
@@ -256,8 +143,16 @@
</
div
>
</
div
>
</
div
>
</
div
>
@
endsection
<
style
>
.
limit
{
max
-
width
:
35
ch
;
overflow
:
hidden
;
text
-
overflow
:
ellipsis
;
white
-
space
:
nowrap
;
}
</
style
>
@
section
(
'javascript'
)
<
script
type
=
"text/javascript"
>
...
...
resources/views/avaliador/parecerInterno.blade.php
View file @
fc44964c
...
...
@@ -2,26 +2,71 @@
@
section
(
'content'
)
<
div
class
=
"row justify-content-center"
>
<
div
class
=
"container col-md-12"
>
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 4rem;"
>
@
component
(
'projeto.formularioVisualizar.projeto'
,
[
'grandeAreas'
=>
$grandeAreas
,
'projeto'
=>
$trabalho
,
'areas'
=>
$areas
,
'subareas'
=>
$subAreas
])
@
endcomponent
@
component
(
'projeto.formularioVisualizar.proponente'
,
[
'projeto'
=>
$trabalho
])
<
div
class
=
"col-md-10"
style
=
"padding: 0px"
@
component
(
'projeto.formularioVisualizar.projeto2'
,
[
'edital'
=>
$trabalho
->
evento
,
'projeto'
=>
$trabalho
,])
@
endcomponent
</
div
>
@
component
(
'projeto.formularioVisualizar.anexos'
,
[
'projeto'
=>
$trabalho
])
<
div
class
=
"col-md-10"
style
=
"padding: 0px"
@
component
(
'projeto.formularioVisualizar.proponente2'
,
[
'projeto'
=>
$trabalho
])
@
endcomponent
</
div
>
@
component
(
'projeto.formularioVisualizar.participantes'
,
[
'estados'
=>
$estados
,
'enum_turno'
=>
$enum_turno
,
'projeto'
=>
$trabalho
,
'participantes'
=>
$participantes
,
'arquivos'
=>
$arquivos
])
<
div
class
=
"col-md-10"
style
=
"padding: 0px"
@
component
(
'projeto.formularioVisualizar.anexos2'
,
[
'edital'
=>
$trabalho
->
evento
,
'projeto'
=>
$trabalho
])
@
endcomponent
{{
--
@
component
(
'projeto.formularioVisualizar.finalizar'
,
[
'projeto'
=>
$projeto
])
@
endcomponent
--
}}
</
div
>
<!--
Participantes
-->
<
div
class
=
"col-sm-10"
style
=
"margin-top: 20px"
>
<
div
class
=
"card"
style
=
"border-radius: 5px"
>
<
div
class
=
"card-body"
style
=
"padding-top: 0.2rem;"
>
<
div
class
=
"container"
>
<
div
class
=
"form-row mt-3"
>
<
div
class
=
"col-sm-9"
><
h5
style
=
"color: #234B8B; font-weight: bold"
>
Discentes
</
h5
></
div
>
</
div
>
<
hr
style
=
"border-top: 1px solid#1492E6"
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
@
foreach
(
$trabalho
->
participantes
as
$participante
)
<
div
class
=
"col-sm-1"
>
<
img
src
=
"
{
{asset('img/icons/usuario.svg')}
}
"
style
=
"width:60px"
alt
=
""
>
</
div
>
<
div
class
=
"col-sm-5"
>
<
h5
>
{{
$participante
->
user
->
name
}}
</
h5
>
<
h9
>
<
a
href
=
""
data
-
toggle
=
"modal"
data
-
target
=
"#modalVizuParticipante
{
{$participante->id}
}
"
class
=
"button"
>
Informações
</
a
>
</
h9
>
</
div
>
<!--
Modal
visualizar
informações
participante
-->
<
div
class
=
"modal fade"
id
=
"modalVizuParticipante
{
{$participante->id}
}
"
tabindex
=
"-1"
role
=
"dialog"
aria
-
labelledby
=
"exampleModalLabel"
aria
-
hidden
=
"true"
>
<
div
class
=
"modal-dialog modal-dialog-centered modal-lg"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
style
=
"overflow-x:auto; padding-left: 31px"
>
<
h5
class
=
"modal-title"
id
=
"exampleModalLabel"
style
=
"color:#1492E6"
>
Informações
Participante
</
h5
>
<
button
type
=
"button"
class
=
"close"
data
-
dismiss
=
"modal"
aria
-
label
=
"Close"
style
=
"padding-top: 8px; color:#1492E6"
>
<
span
aria
-
hidden
=
"true"
>&
times
;
</
span
>
</
button
>
</
div
>
<
div
class
=
"modal-body"
style
=
"padding-right: 32px;padding-left: 32px;padding-top: 20px;padding-bottom: 32px;"
>
@
include
(
'administrador.substituirParticipanteForm'
,
[
'visualizarOnly'
=>
1
])
</
div
>
</
div
>
</
div
>
</
div
>
@
endforeach
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
{{
--
Parecer
Interno
--
}}
<
div
class
=
"container col-md-11"
>
<
div
class
=
"row justify-content-center"
style
=
"margin-top: 3rem;"
>
<
div
class
=
"col-md-11"
style
=
"margin-bottom: -3rem"
>
...
...
resources/views/documentacaoComplementar/listar.blade.php
View file @
fc44964c
...
...
@@ -58,8 +58,8 @@
@
csrf
<
input
type
=
"hidden"
value
=
"
{
{$participante->id}
}
"
name
=
"partcipanteId"
>
<
div
class
=
"row col-md-12"
>
<
div
class
=
"col-md-6"
>
<
label
class
=
"control-label "
>
Termo
de
Compromisso
@
if
(
$participante
->
anexoTermoCompromisso
)
:
<
div
class
=
"col-md-6"
style
=
"margin-top: 15px"
>
<
label
class
=
"control-label "
>
Termo
de
Compromisso
<
span
style
=
"color: red"
>*</
span
>
@
if
(
$participante
->
anexoTermoCompromisso
)
:
<
a
id
=
"modeloDocumentoTemp"
href
=
"{{ route('baixar.documentosParticipante', ['pathDocumento' =>
$participante->anexoTermoCompromisso
]) }}"
>
Arquivo
atual
</
a
>
@
endif
</
label
>
...
...
@@ -74,8 +74,8 @@
@
enderror
<
br
>
</
div
>
<
div
class
=
"col-md-6"
>
<
label
class
=
"control-label "
>
Comprovante
de
Matricula
@
if
(
$participante
->
anexoComprovanteMatricula
)
:
<
div
class
=
"col-md-6"
style
=
"margin-top: 15px"
>
<
label
class
=
"control-label "
>
Comprovante
de
Matricula
<
span
style
=
"color: red"
>*</
span
>
@
if
(
$participante
->
anexoComprovanteMatricula
)
:
<
a
id
=
"modeloDocumentoTemp"
href
=
"{{ route('baixar.documentosParticipante', ['pathDocumento' =>
$participante->anexoComprovanteMatricula
]) }}"
>
Arquivo
atual
</
a
>
@
endif
</
label
>
...
...
@@ -91,7 +91,7 @@
</
div
>
<
div
class
=
"col-md-6"
>
<
label
class
=
"control-label "
>
PDF
Lattes
@
if
(
$participante
->
anexoLattes
)
:
<
label
class
=
"control-label "
>
PDF
Lattes
<
span
style
=
"color: red"
>*</
span
>
@
if
(
$participante
->
anexoLattes
)
:
<
a
id
=
"modeloDocumentoTemp"
href
=
"{{ route('baixar.documentosParticipante', ['pathDocumento' =>
$participante->anexoLattes
]) }}"
>
Arquivo
atual
</
a
>
@
endif
</
label
>
...
...
@@ -105,7 +105,7 @@
@
enderror
</
div
>
<
div
class
=
"col-md-6"
>
<
label
class
=
"control-label "
>
Link
Lattes
</
label
>
<
label
class
=
"control-label "
content
=
"required"
>
Link
Lattes
<
span
style
=
"color: red"
>*</
span
>
:
</
label
>
<
br
>
<
input
type
=
"text"
class
=
"input-group-text col-md-12"
name
=
"linkLattes"
placeholder
=
"Link Lattes"
id
=
"linkLattes
{
{$participante->id}
}
"
required
@
if
(
$participante
->
linkLattes
)
value
=
"
{
{$participante->linkLattes}
}
"
@
endif
/>
...
...
@@ -115,6 +115,33 @@
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-md-6"
style
=
"margin-top: 15px"
>
<
label
class
=
"control-label "
>
Comprovante
Bancário
@
if
(
$participante
->
anexoComprovanteBancario
)
:
<
a
id
=
"modeloDocumentoTemp"
href
=
"{{ route('baixar.documentosParticipante', ['pathDocumento' =>
$participante->anexoComprovanteBancario
]) }}"
>
Arquivo
atual
</
a
>
@
endif
</
label
>
<
br
>
<
input
type
=
"file"
class
=
"input-group-text"
value
=
""
name
=
"comprovanteBancario"
accept
=
".pdf,.jpg, .jpeg, .png"
id
=
"comprovanteBancario
{
{$participante->id}
}
"
/>
@
error
(
'comprovanteBancario'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
<
div
class
=
"col-md-6"
style
=
"margin-top: 15px"
>
<
label
class
=
"control-label "
>
Autorização
dos
Pais
@
if
(
$participante
->
anexoAutorizacaoPais
)
:
<
a
id
=
"modeloDocumentoTemp"
href
=
"{{ route('baixar.documentosParticipante', ['pathDocumento' =>
$participante->anexoAutorizacaoPais
]) }}"
>
Arquivo
atual
</
a
>
@
endif
</
label
>
<
br
>
<
input
type
=
"file"
class
=
"input-group-text"
value
=
""
name
=
"autorizacaoPais"
accept
=
".pdf"
id
=
"autorizacaoPais
{
{$participante->id}
}
"
/>
@
error
(
'autorizacaoPais '
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
</
div
>
...
...
resources/views/evento/criarEvento.blade.php
View file @
fc44964c
...
...
@@ -319,9 +319,9 @@
@enderror
</div>
</div>
<div class="
col
-
sm
-
6
">
<div class="
col
-
sm
-
12
">
<div class="
form
-
group
">
<label for="
pdfFormAvalExterno
">Formulário de avaliação extern
o
:</label>
<label for="
pdfFormAvalExterno
">Formulário de avaliação extern
a
:</label>
@if(old('pdfFormAvalExternoPreenchido') != null)
<a id="
pdfFormAvalExternoTemp
" href="
{{
route
(
'baixar.evento.temp'
,
[
'nomeAnexo'
=>
'formAvaliacaoExterno'
])}}
">Arquivo atual</a>
@endif
...
...
@@ -335,23 +335,6 @@
@enderror
</div>
</div>
<div class="
col
-
sm
-
6
">
<div class="
form
-
group
">
<label for="
pdfFormAvalExterno
">Formulário de avaliação interno:</label>
@if(old('pdfFormAvalInternoPreenchido') != null)
<a id="
pdfFormAvalExternoTemp
" href="
{{
route
(
'baixar.evento.temp'
,
[
'nomeAnexo'
=>
'formAvaliacaoInterno'
])}}
">Arquivo atual</a>
@endif
<input type="
hidden
" id="
pdfFormAvalInternoPreenchido
" name="
pdfFormAvalInternoPreenchido
" value="
{{
old
(
'pdfFormAvalInternoPreenchido'
)
}}
" >
<input type="
file
" accept="
.
pdf
" class="
form
-
control
-
file
pdf
@
error
(
'pdfFormAvalInterno'
)
is
-
invalid
@
enderror
" name="
pdfFormAvalInterno
" value="
{{
old
(
'pdfFormAvalInterno'
)
}}
" id="
pdfFormAvalInterno
" onchange="
exibirAnexoTemp
(
this
)
">
<small>O arquivo selecionado deve ser no formato PDF de até 2mb.</small>
@error('pdfFormAvalInterno')
<span class="
invalid
-
feedback
" role="
alert
">
<strong>{{
$message
}}</strong>
</span>
@enderror
</div>
</div>
</div>
<div class="
row
justify
-
content
-
center
" style="
margin
:
20
px
0
20
px
0
">
...
...
resources/views/evento/editarEvento.blade.php
View file @
fc44964c
...
...
@@ -312,9 +312,9 @@
</
div
>
</
div
>
<
div
class
=
"col-sm-
6
"
>
<
div
class
=
"col-sm-
12
"
>
<
div
class
=
"form-group"
>
<
label
for
=
"pdfEdital"
>
Formulário
de
avaliação
extern
o
:</
label
>
<
label
for
=
"pdfEdital"
>
Formulário
de
avaliação
extern
a
:</
label
>
<
a
href
=
"{{route('download', ['file' =>
$evento->formAvaliacaoExterno
])}}"
target
=
"_new"
style
=
"font-size: 20px; color: #114048ff;"
>
<
img
class
=
""
src
=
"
{
{asset('img/icons/file-download-solid.svg')}
}
"
style
=
"width:20px"
>
</
a
>
...
...
@@ -327,24 +327,7 @@
@
enderror
</
div
>
</
div
>
<
div
class
=
"col-sm-6"
>
<
div
class
=
"form-group"
>
<
label
for
=
"pdfEdital"
>
Formulário
de
avaliação
interno
:</
label
>
<
a
href
=
"{{route('download', ['file' =>
$evento->formAvaliacaoInterno
])}}"
target
=
"_new"
style
=
"font-size: 20px; color: #114048ff;"
>
<
img
class
=
""
src
=
"
{
{asset('img/icons/file-download-solid.svg')}
}
"
style
=
"width:20px"
>
</
a
>
<
input
type
=
"file"
class
=
"form-control-file @error('pdfFormAvalInterno') is-invalid @enderror"
name
=
"pdfFormAvalInterno"
value
=
"{{ old('pdfFormAvalInterno') }}"
id
=
"pdfFormAvalInterno"
>
<
small
>
O
arquivo
selecionado
deve
ser
no
formato
PDF
de
até
2
mb
.
</
small
>
@
error
(
'pdfFormAvalInterno'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
>
<
strong
>
{{
$message
}}
</
strong
>
</
span
>
@
enderror
</
div
>
</
div
>
</
div
>
<
div
class
=
"row justify-content-center"
style
=
"margin: 20px 0 20px 0"
>
...
...
resources/views/notificacao/listar.blade.php
View file @
fc44964c
...
...
@@ -116,6 +116,7 @@
<
div
class
=
"col-sm-11"
>
<
h6
style
=
"font-size: 18px"
>
Solicitação
de
desligamento
para
{{
$notificacao
->
trabalho
->
evento
->
nome
}}
</
h6
>
@
endif
{{
--
Certificado
--
}}
@
elseif
(
$notificacao
->
tipo
==
6
)
<
div
class
=
"row"
>
...
...
resources/views/projeto/formularioVisualizar/anexos2.blade.php
View file @
fc44964c
...
...
@@ -25,7 +25,7 @@
</div>
<div
class=
"col-sm-4"
>
<label
for=
"nomeTrabalho"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Autorização
do Comitê de Ética
: ') }}
</label>
<label
for=
"nomeTrabalho"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Autorização
Especial
: ') }}
</label>
@if($projeto->anexoAutorizacaoComiteEtica != null)
<a
href=
"{{ route('baixar.anexo.comite', ['id' => $projeto->id]) }}"
>
<img
class=
""
src=
"{{asset('img/icons/pdf.ico')}}"
style=
"width:40px"
alt=
""
></a>
@else
...
...
@@ -40,9 +40,9 @@
</div>
<div
class=
"col-sm-4"
>
<label
for=
"nomeTrabalho"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('
Justificativ
a: ') }}
</label>
@if($projeto->
justificativaAutorizacaoEtic
a != null)
<a
href=
"{{ route('baixar.anexo
.justificativ
a', ['id' => $projeto->id]) }}"
><img
class=
""
src=
"{{asset('img/icons/pdf.ico')}}"
style=
"width:40px"
alt=
""
></a>
<label
for=
"nomeTrabalho"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('
Grupo de Pesquis
a: ') }}
</label>
@if($projeto->
anexoGrupoPesquis
a != null)
<a
href=
"{{ route('baixar.anexo
GrupoPesquis
a', ['id' => $projeto->id]) }}"
><img
class=
""
src=
"{{asset('img/icons/pdf.ico')}}"
style=
"width:40px"
alt=
""
></a>
@else
-
@endif
...
...
resources/views/projeto/formularioVisualizar/participantes2.blade.php
View file @
fc44964c
...
...
@@ -4,10 +4,10 @@
<div
class=
"card-body"
style=
"padding-top: 0.2rem;"
>
<div
class=
"container"
>
<div
class=
"form-row mt-3"
>
<div
class=
"col-sm-
4
"
><h5
style=
"color: #234B8B; font-weight: bold"
>
Discentes
</h5></div>
<div
class=
"col-sm-4 text-sm-right"
>
<div
class=
"col-sm-
8
"
><h5
style=
"color: #234B8B; font-weight: bold"
>
Discentes
</h5></div>
{{--
<div
class=
"col-sm-4 text-sm-right"
>
<a
href=
""
data-toggle=
"modal"
data-target=
"#modalSelecionarDiscentes"
class=
"button"
>
Solicitar certificado/declaração
</a>
</div>
</div>
--}}
<div
class=
"col-sm-4 text-sm-right"
>
<a
href=
"{{route('trabalho.trocaParticipante', ['evento_id' => $projeto->evento->id, 'projeto_id' => $projeto->id])}}"
class=
"button"
>
Solicitar Substituições/Desligamentos
</a>
...
...
resources/views/projeto/formularioVisualizar/proponente2.blade.php
View file @
fc44964c
...
...
@@ -27,6 +27,13 @@
target=
"_blank"
>
{{ $projeto->linkGrupoPesquisa }}
</a>
</div>
<div
class=
"col-md-12"
>
<br>
<b
style=
"color: #4D4D4D;"
>
Valor da Planilha de Pontuação:
</b>
<a
style=
"color: #4D4D4D;"
>
{{$projeto->pontuacaoPlanilha}}
</a>
</div>
</div>
</div>
</div>
...
...
resources/views/projeto/formularioVisualizar/resultado2.blade.php
View file @
fc44964c
...
...
@@ -4,7 +4,7 @@
<div
class=
"card-body"
style=
"padding-top: 0.2rem;"
>
<div
class=
"container"
>
<div
class=
"form-row mt-3"
>
<div
class=
"col-md-11"
><h5
style=
"color: #234B8B; font-weight: bold"
>
Aprov
ação
</h5></div>
<div
class=
"col-md-11"
><h5
style=
"color: #234B8B; font-weight: bold"
>
Recomend
ação
</h5></div>
</div>
<hr
style=
"border-top: 1px solid#1492E6"
>
<div
class=
"row"
>
...
...
@@ -16,15 +16,15 @@
<div
class=
"col-md-3"
style=
"margin-top: 15px"
>
<input
class=
"col-md-1"
type=
"radio"
id=
"aprovado"
name=
"statusProp"
value=
"aprovado"
required
disabled
@
if
($
projeto-
>
status=="aprovado") checked @endif>
<a
style=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Aprov
ado
</a>
<a
style=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Recomend
ado
</a>
<br>
<input
class=
"col-md-1"
type=
"radio"
id=
"parcialAprovado"
name=
"statusProp"
value=
"corrigido"
required
disabled
@
if
($
projeto-
>
status=="corrigido") checked @endif>
<a
style=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Parcialmente
Aprov
ado
</a>
<a
style=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Parcialmente
Recomend
ado
</a>
<br>
<input
class=
"col-md-1"
type=
"radio"
id=
"reprovado"
name=
"statusProp"
value=
"reprovado"
required
disabled
@
if
($
projeto-
>
status=="reprovado") checked @endif>
<a
style=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Não
Aprov
ado
</a>
<a
style=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Não
Recomend
ado
</a>
</div>
</div>
</div>
...
...
resources/views/projeto/visualizar.blade.php
View file @
fc44964c
...
...
@@ -135,6 +135,22 @@
@
section
(
'javascript'
)
<
style
>
body
{
font
-
family
:
Calibri
,
Tahoma
,
Arial
}
.
TabControl
{
width
:
100
%
;
overflow
:
hidden
;
height
:
400
px
}
.
TabControl
#header{ width:100%; overflow:hidden}
.
TabControl
#content{ width:100%; overflow:hidden; height:100%; }
.
TabControl
.
abas
{
display
:
inline
;}
.
TabControl
.
abas
li
{
float
:
left
}
.
aba
{
width
:
100
px
;
height
:
30
px
;
border
-
radius
:
5
px
5
px
0
0
;
text
-
align
:
center
;
padding
-
top
:
5
px
;}
.
ativa
{
width
:
100
px
;
height
:
30
px
;
border
-
radius
:
5
px
5
px
0
0
;
text
-
align
:
center
;
padding
-
top
:
5
px
;
background
:
#27408B;}
.
ativa
span
,
.
selected
span
{
color
:
#fff}
.
TabControl
.
conteudo
{
width
:
100
%
;
display
:
none
;
height
:
100
%
;}
.
selected
{
width
:
100
px
;
height
:
30
px
;
border
-
radius
:
5
px
5
px
0
0
;
text
-
align
:
center
;
padding
-
top
:
5
px
;
background
:
#27408B}
</
style
>
<
script
>
...
...
resources/views/proponente/projetos.blade.php
View file @
fc44964c
...
...
@@ -97,11 +97,12 @@
<
a
href
=
"{{route('docComplementar.listar', ['projeto_id' =>
$projeto->id
])}}"
class
=
"dropdown-item"
style
=
"text-align: center"
>
Documentos
Complementares
</
a
>
<
hr
class
=
"dropdown-hr"
>
{{
--<
hr
class
=
"dropdown-hr"
>
<
a
href
=
""
class
=
"dropdown-item"
style
=
"text-align: center"
>
Solicitar
Certificado
</
a
>
</
a
>
--
}}
<
hr
class
=
"dropdown-hr"
>
@
endif
...
...
Prev
1
2
Next
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