1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!-- Proponente -->
<div class="col-md-12" 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-md-12"><h5 style="color: #234B8B; font-weight: bold">Informações do Proponente</h5></div>
</div>
<hr style="border-top: 1px solid#1492E6">
<div class="form-row mt-3">
<div class="col-md-12">
<p style="color: #4D4D4D; padding: 0px"><b>Nome:</b> {{ App\Proponente::find($projeto->proponente_id)->user->name }}</p>
</div>
<div class="col-md-12">
<b style="color: #4D4D4D;">Lattes:</b>
@if(App\Proponente::where('id', $projeto->proponente_id)->first()->linkLattes != null)
<a style="color: #4D4D4D;" href="{{ App\Proponente::where('id', $projeto->proponente_id)->first()->linkLattes }}"
target="_blank"
>{{ App\Proponente::where('id', $projeto->proponente_id)->first()->linkLattes }}</a>
@endif
</div>
@if( (Auth::user()->avaliadors != null) && (Auth::user()->avaliadors->tipo != 'Externo' || Auth::user()->avaliadors->tipo == null)
&& ($edital->natureza_id != 3 || $projeto->status != "rascunho"))
<!-- só pagar oq tem dps do || para funcionar para submetido e rascunho! EXTENSÃO(3)!!! -->
<div class="col-md-12">
<br>
<b style="color: #4D4D4D;">Grupo de Pesquisa: </b>
<a style="color: #4D4D4D;" href="{{ $projeto->linkGrupoPesquisa }}"
target="_blank"
>{{ $projeto->linkGrupoPesquisa }}</a>
</div>
@if(!isset($mostrar_val_planilha))
<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>
@endif
@endif
@if($edital->natureza_id == 3)
<div class="col-md-12">
<br>
<b style="color: #4D4D4D;">Área Temática:</b>
<a style="color: #4D4D4D;">{{App\AreaTematica::where('id', $projeto->area_tematica_id)->first()->nome}}</a>
</div>
<div class="row col-md-12">
<div class="form-group col-md-12">
<br>
<b style="color: #4D4D4D;">Objetivo de Densenvolvimento Sustentável:</b>
<br>
<div class="row col-md-12">
@foreach($projeto->ods as $ods)
<div class="col-md-6">
<a style="color: #4D4D4D;">
{{ $ods->nome }}
</a>
</div>
@endforeach
</div>
</div>
</div>
@endif
@if($projeto->modalidade!=null)
<div class="col-md-12">
<br>
<b style="color: #4D4D4D;">Modalidade: </b>
@if($projeto->modalidade=="RecemDoutor")
<a style="color: #4D4D4D;">Recém Doutor</a>
@else
<a style="color: #4D4D4D;">Ampla Concorrência</a>
@endif
</div>
@endif
@if ($edital->numParticipantes == 0)
@php
$arquivo = App\Arquivo::where("trabalhoId", $projeto->id)->first();
@endphp
<div class="col-md-12">
<br>
<b style="color: #4D4D4D;">Título do Plano de Trabalho: </b>
<a style="color: #4D4D4D;">{{$arquivo->titulo}}</a>
</div>
<div class="col-sm-4" style="float: left">
<label for="anexoProjeto" class="col-form-label font-tam" style="font-weight: bold">{{ __('Anexo do Plano de Trabalho: ') }}</label>
<a href="{{ route('baixar.plano', ['id' => $arquivo->id]) }}"><img class="" src="{{asset('img/icons/pdf.ico')}}" style="width:40px" alt=""></a>
</div>
@endif
@if ($projeto->conflitosInteresse != null &&
(Auth::user()->tipo == 'administrador' ||
Auth::user()->tipo == 'administradorResponsavel' ||
Auth::user()->tipo == 'coordenador' ||
Auth::user()->id == $projeto->proponente->user->id))
<div class="col-md-12">
<br>
<b style="color: #4D4D4D;">Conflitos de Interesse: </b>
<a style="color: #4D4D4D;">{{ $projeto->conflitosInteresse }}</a>
</div>
@endif
</div>
</div>
</div>
</div>
</div>
<!--X Proponente X-->