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
dce17016
Commit
dce17016
authored
Apr 14, 2023
by
WhiteHabbyt
Browse files
Merge branch 'master' of
https://github.com/NetoSK9/submeta
parents
cee8138e
8de688f8
Changes
24
Show whitespace changes
Inline
Side-by-side
resources/views/projeto/formularioVisualizar/anexos2.blade.php
View file @
dce17016
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
{{-- Anexo do Projeto --}}
{{-- Anexo do Projeto --}}
<div
class=
"row justify-content-start"
>
<div
class=
"row justify-content-start"
>
@if($edital->tipo != "CONTINUO")
{{-- Arquivo --}}
{{-- Arquivo --}}
<div
class=
"col-sm-4"
style=
"float: left"
>
<div
class=
"col-sm-4"
style=
"float: left"
>
<label
for=
"anexoProjeto"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Projeto: ') }}
</label>
<label
for=
"anexoProjeto"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Projeto: ') }}
</label>
...
@@ -81,6 +82,16 @@
...
@@ -81,6 +82,16 @@
@endif
@endif
</div>
</div>
@endif
@endif
@else
<div
class=
"col-sm-4"
>
<label
for=
"anexo_SIPAC"
class=
"col-form-label font-tam"
style=
"font-weight: bold"
>
{{ __('Anexo SIPAC: ') }}
</label>
<a
href=
"{{ route('baixar.anexo.SIPAC', ['id' => $projeto->id])}}"
><img
class=
""
src=
"{{asset('img/icons/pdf.ico')}}"
style=
"width:40px"
alt=
""
></a>
</div>
@endif
</div>
</div>
</div>
</div>
...
...
resources/views/projeto/formularioVisualizar/relatorio.blade.php
View file @
dce17016
...
@@ -44,6 +44,7 @@
...
@@ -44,6 +44,7 @@
<input
id=
"dt_fimRelatorioFinal{{$edital->id}}"
type=
"date"
class=
"form-control"
name=
"dt_fimRelatorioFinal"
value=
"{{$edital->dt_fimRelatorioFinal}}"
required
autocomplete=
"dt_fimRelatorioFinal"
disabled
autofocus
>
<input
id=
"dt_fimRelatorioFinal{{$edital->id}}"
type=
"date"
class=
"form-control"
name=
"dt_fimRelatorioFinal"
value=
"{{$edital->dt_fimRelatorioFinal}}"
required
autocomplete=
"dt_fimRelatorioFinal"
disabled
autofocus
>
</div>
</div>
</div>
</div>
<br>
<br>
<div
class=
"row justify-content-start"
>
<div
class=
"row justify-content-start"
>
<div
class=
"col-md-3"
><h6
style=
"color: #234B8B; font-weight: bold"
>
Avaliações dos Relatórios
</h6></div>
<div
class=
"col-md-3"
><h6
style=
"color: #234B8B; font-weight: bold"
>
Avaliações dos Relatórios
</h6></div>
...
@@ -52,17 +53,24 @@
...
@@ -52,17 +53,24 @@
<thead>
<thead>
<tr>
<tr>
<th
style=
"color: black;"
>
Avaliador
</th>
<th
style=
"color: black;"
>
Avaliador
</th>
<th
style=
"color: black;"
>
Discente
</th>
<th
style=
"color: black;"
>
Relatório
</th>
<th
style=
"color: black;"
>
Relatório
</th>
<th
style=
"color: black;"
>
Nota
</th>
<th
style=
"color: black;"
>
Nota
</th>
<th
style=
"color: black;"
>
Apresentação
</th>
<th
style=
"color: black;"
>
Visualizar
</th>
<th
style=
"color: black;"
>
Visualizar
</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
@foreach($AvalRelatParcial as $aval)
@foreach($AvalRelatParcial as $aval)
@php $arquivo = \App\Arquivo::find($aval->arquivo_id);@endphp
<tr>
<tr>
<th
style=
"color: black;"
>
{{$cont += 1}}
</th>
<th
style=
"color: black;"
>
{{$cont += 1}}
</th>
<td>
@if($arquivo->participanteId != null) {{\App\Participante::find($arquivo->participanteId)->user->name}}@endif
</td>
<td>
Parcial
</td>
<td>
Parcial
</td>
<td>
@if($aval->nota == null) Pendente @else {{$aval->nota}} @endif
</td>
<td>
@if($aval->nota == null) Pendente @else {{$aval->nota}} @endif
</td>
<td>
@if($aval->nota_apresentacao == null) Pendente @else {{$aval->nota}} @endif
</td>
<td><a
href=
""
data-toggle=
"modal"
data-target=
"#modalVizuRelatParcial{{$aval->id}}"
class=
"button"
>
Visualizar
</a></td>
<td><a
href=
""
data-toggle=
"modal"
data-target=
"#modalVizuRelatParcial{{$aval->id}}"
class=
"button"
>
Visualizar
</a></td>
</tr>
</tr>
...
@@ -87,10 +95,15 @@
...
@@ -87,10 +95,15 @@
</div>
</div>
@endforeach
@endforeach
@foreach($AvalRelatFinal as $aval)
@foreach($AvalRelatFinal as $aval)
@php $arquivo = \App\Arquivo::find($aval->arquivo_id);@endphp
<tr>
<tr>
<th
style=
"color: black;"
>
{{$cont += 1}}
</th>
<th
style=
"color: black;"
>
{{$cont += 1}}
</th>
<td>
@if($arquivo->participanteId != null) {{\App\Participante::find($arquivo->participanteId)->user->name}}@endif
</td>
<td>
Final
</td>
<td>
Final
</td>
<td>
@if($aval->nota == null) Pendente @else {{$aval->nota}} @endif
</td>
<td>
@if($aval->nota == null) Pendente @else {{$aval->nota}} @endif
</td>
<td>
@if($aval->nota_apresentacao == null) Pendente @else {{$aval->nota}} @endif
</td>
<td><a
href=
""
data-toggle=
"modal"
data-target=
"#modalVizuRelatFinal{{$aval->id}}"
class=
"button"
>
Visualizar
</a></td>
<td><a
href=
""
data-toggle=
"modal"
data-target=
"#modalVizuRelatFinal{{$aval->id}}"
class=
"button"
>
Visualizar
</a></td>
</tr>
</tr>
<!-- Modal visualizar informações participante -->
<!-- Modal visualizar informações participante -->
...
...
resources/views/projeto/visualizar.blade.php
View file @
dce17016
...
@@ -42,10 +42,11 @@
...
@@ -42,10 +42,11 @@
@
endcomponent
@
endcomponent
@
endif
@
endif
@
if
(
$edital
->
tipo
!=
"CONTINUO"
)
@
component
(
'projeto.formularioVisualizar.relatorio'
,[
'edital'
=>
$edital
,
'projeto'
=>
$projeto
,
'flagSubstituicao'
=>
$flagSubstituicao
,
@
component
(
'projeto.formularioVisualizar.relatorio'
,[
'edital'
=>
$edital
,
'projeto'
=>
$projeto
,
'flagSubstituicao'
=>
$flagSubstituicao
,
'AvalRelatParcial'
=>
$AvalRelatParcial
,
'AvalRelatFinal'
=>
$AvalRelatFinal
,
'cont'
=>
0
])
'AvalRelatParcial'
=>
$AvalRelatParcial
,
'AvalRelatFinal'
=>
$AvalRelatFinal
,
'cont'
=>
0
])
@
endcomponent
@
endcomponent
@
endif
@
component
(
'projeto.formularioVisualizar.resultado2'
,
@
component
(
'projeto.formularioVisualizar.resultado2'
,
[
'projeto'
=>
$projeto
])
[
'projeto'
=>
$projeto
])
@
endcomponent
@
endcomponent
...
...
routes/web.php
View file @
dce17016
...
@@ -219,6 +219,7 @@ Route::group(['middleware' => ['isTemp', 'auth', 'verified']], function () {
...
@@ -219,6 +219,7 @@ Route::group(['middleware' => ['isTemp', 'auth', 'verified']], function () {
Route
::
get
(
'/baixar/evento-temp/{nomeAnexo}'
,
'TrabalhoController@baixarEventoTemp'
)
->
name
(
'baixar.evento.temp'
);
Route
::
get
(
'/baixar/evento-temp/{nomeAnexo}'
,
'TrabalhoController@baixarEventoTemp'
)
->
name
(
'baixar.evento.temp'
);
Route
::
get
(
'/baixar/documentosParticipante'
,
'ParticipanteController@baixarDocumento'
)
->
name
(
'baixar.documentosParticipante'
);
Route
::
get
(
'/baixar/documentosParticipante'
,
'ParticipanteController@baixarDocumento'
)
->
name
(
'baixar.documentosParticipante'
);
Route
::
get
(
'/baixar/anexoDocExtra/{id}'
,
'TrabalhoController@baixarAnexoDocExtra'
)
->
name
(
'baixar.anexo.docExtra'
);
Route
::
get
(
'/baixar/anexoDocExtra/{id}'
,
'TrabalhoController@baixarAnexoDocExtra'
)
->
name
(
'baixar.anexo.docExtra'
);
Route
::
get
(
'/baixar/anexoSIPAC/{id}'
,
'TrabalhoController@baixarAnexoSIPAC'
)
->
name
(
'baixar.anexo.SIPAC'
);
});
});
Route
::
get
(
'/baixar/edital/{id}'
,
'EventoController@baixarEdital'
)
->
name
(
'baixar.edital'
);
Route
::
get
(
'/baixar/edital/{id}'
,
'EventoController@baixarEdital'
)
->
name
(
'baixar.edital'
);
...
@@ -319,7 +320,7 @@ Route::prefix('cursos')->name('cursos.')->group(function (){
...
@@ -319,7 +320,7 @@ Route::prefix('cursos')->name('cursos.')->group(function (){
//############ Evento ##############################################
//############ Evento ##############################################
Route
::
prefix
(
'evento'
)
->
name
(
'evento.'
)
->
group
(
function
()
{
Route
::
prefix
(
'evento'
)
->
name
(
'evento.'
)
->
group
(
function
()
{
Route
::
get
(
'/criar'
,
'EventoController@create'
)
->
name
(
'criar'
)
->
middleware
(
'checkRoles:coordenador,administrador'
);
Route
::
get
(
'/criar'
,
'EventoController@create'
)
->
name
(
'criar'
)
->
middleware
(
'checkRoles:coordenador,administrador'
);
Route
::
post
(
'/criar'
,
'EventoController@store'
)
->
name
(
'criar'
)
->
middleware
(
'checkRoles:coordenador,
a
dministrador'
);
Route
::
post
(
'/criar'
,
'EventoController@store'
)
->
name
(
'criar'
)
->
middleware
(
'checkRoles:coordenador,
checkA
dministrador'
);
Route
::
get
(
'/visualizar/{id}'
,
'EventoController@show'
)
->
name
(
'visualizar'
)
->
middleware
(
'auth'
);
Route
::
get
(
'/visualizar/{id}'
,
'EventoController@show'
)
->
name
(
'visualizar'
)
->
middleware
(
'auth'
);
Route
::
get
(
'/listar'
,
'EventoController@listar'
)
->
name
(
'listar'
)
->
middleware
(
'auth'
);
Route
::
get
(
'/listar'
,
'EventoController@listar'
)
->
name
(
'listar'
)
->
middleware
(
'auth'
);
Route
::
delete
(
'/excluir/{id}'
,
'EventoController@destroy'
)
->
name
(
'deletar'
)
->
middleware
(
'checkRoles:coordenador,administrador'
);
Route
::
delete
(
'/excluir/{id}'
,
'EventoController@destroy'
)
->
name
(
'deletar'
)
->
middleware
(
'checkRoles:coordenador,administrador'
);
...
...
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