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
197e7487
"database/seeders/DatabaseSeeder.php" did not exist on "5de5a5999b6a65aaea6d0eaf43d557ac4c33adf6"
Commit
197e7487
authored
Jul 01, 2022
by
unknown
Browse files
Merge branch 'master' of
https://github.com/antonioDurval/submeta
parents
83f7ecb1
d234560f
Changes
6
Hide whitespace changes
Inline
Side-by-side
app/Http/Requests/StoreTrabalho.php
View file @
197e7487
...
...
@@ -62,6 +62,7 @@ class StoreTrabalho extends FormRequest
}
if
(
$this
->
has
(
'rascunho'
))
{
$rules
=
[];
return
$rules
;
}
else
{
$evento
=
Evento
::
find
(
$this
->
editalId
);
...
...
@@ -123,4 +124,4 @@ class StoreTrabalho extends FormRequest
'nomePlanoTrabalho.*.required'
=>
'O :attribute é obrigatório'
,
];
}
}
}
\ No newline at end of file
app/Http/Requests/UpdateTrabalho.php
View file @
197e7487
...
...
@@ -56,6 +56,7 @@ class UpdateTrabalho extends FormRequest
$rules
[
'total_periodos.'
.
$value
]
=
[
'required'
,
'string'
];
$rules
[
'media_do_curso.'
.
$value
]
=
[
'required'
,
'string'
];
$rules
[
'nomePlanoTrabalho.'
.
$value
]
=
[
'required'
,
'string'
];
$rules
[
'anexoPlanoTrabalho.'
.
$value
]
=
[
'required'
,
'mimes:pdf'
];
}
}
...
...
@@ -67,7 +68,7 @@ class UpdateTrabalho extends FormRequest
return
$rules
;
}
else
{
$rules
=
[];
//
$rules = [];
if
(
$evento
->
tipo
!=
"PIBEX"
){
$rules
[
'anexoPlanilhaPontuacao'
]
=
[
'required'
];
$rules
[
'anexoLattesCoordenador'
]
=
[
'required'
,
'mimes:pdf'
];
...
...
@@ -102,4 +103,4 @@ class UpdateTrabalho extends FormRequest
];
}
}
}
\ No newline at end of file
resources/views/administrador/analisarProposta.blade.php
View file @
197e7487
...
...
@@ -169,7 +169,7 @@
<!--
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-l
g
"
>
<
div
class
=
"modal-dialog modal-dialog-centered modal-
x
l"
>
<
div
class
=
"modal-content"
>
<
div
class
=
"modal-header"
style
=
"overflow-x:auto; padding-left: 31px"
>
...
...
resources/views/administrador/substituirParticipanteForm.blade.php
View file @
197e7487
...
...
@@ -4,7 +4,7 @@
<div
class=
"container-fluid"
>
<div
class=
"row"
>
<div
class=
"col-md-12 mt-3"
>
<h5>
Dados do discente
</h5>
<h5
style=
"font-weight: bold;"
>
Dados do discente
</h5>
</div>
</div>
<div
class=
"row"
>
...
...
@@ -46,7 +46,7 @@
</div>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<h5>
Endereço
</h5>
<h5
style=
"font-weight: bold;"
>
Endereço
</h5>
</div>
</div>
<div
class=
"row"
>
...
...
@@ -97,7 +97,7 @@
</div>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<h5>
Dados do curso
</h5>
<h5
style=
"font-weight: bold;"
>
Dados do curso
</h5>
</div>
</div>
<div
class=
"row"
>
...
...
@@ -161,7 +161,7 @@
@endif
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<h5>
Plano de trabalho
</h5>
<h5
style=
"font-weight: bold;"
>
Plano de trabalho
</h5>
</div>
</div>
<div
class=
"row justify-content-center"
>
...
...
@@ -178,6 +178,72 @@
</div>
@endif
</div>
{{--Documentação complementar quando o projeto está aprovado--}}
@if($trabalho->status =="aprovado")
<br>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<h5
style=
"font-weight: bold;"
>
Documentação Complementar
</h5>
</div>
</div>
<div
class=
"row col-md-12"
>
<div
class=
"col-md-6 pl-0"
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]) }}"
><i
class=
"ml-1 fas fa-file-pdf fa-2x"
></i></a>
@endif
</label>
</div>
<div
class=
"col-md-6 pl-0"
style=
"margin-top: 15px"
>
<label
class=
"control-label "
>
Comprovante de Matrícula
<span
style=
"color: red"
>
*
</span>
@if($participante->anexoComprovanteMatricula)
<a
id=
"modeloDocumentoTemp"
href=
"{{ route('baixar.documentosParticipante', ['pathDocumento' => $participante->anexoComprovanteMatricula]) }}"
><i
class=
"ml-1 fas fa-file-pdf fa-2x"
></i></a>
@endif
</label>
</div>
<div
class=
"col-md-6 pl-0"
style=
"margin-top: 15px"
>
<label
class=
"control-label "
>
Documentos Pessoais (CPF/RG ou CNH)
<span
style=
"color: red"
>
*
</span>
@if($participante->anexo_cpf_rg)
<a
id=
"modeloDocumentoTemp"
href=
"{{ route('baixar.documentosParticipante', ['pathDocumento' => $participante->anexo_cpf_rg]) }}"
><i
class=
"ml-1 fas fa-file-pdf fa-2x"
></i></a>
@endif
</label>
</div>
@if($trabalho->evento->tipo != "PIBEX")
<div
class=
"col-md-6 pl-0"
style=
"margin-top: 15px"
>
<label
class=
"control-label "
>
PDF Lattes
<span
style=
"color: red"
>
*
</span>
@if($participante->anexoLattes)
<a
id=
"modeloDocumentoTemp"
href=
"{{ route('baixar.documentosParticipante', ['pathDocumento' => $participante->anexoLattes]) }}"
><i
class=
"ml-1 fas fa-file-pdf fa-2x"
></i></a>
@endif
</label>
</div>
<div
class=
"col-md-6 pl-0"
style=
"margin-top: 15px"
>
<div
class=
"row"
>
<div
class=
"col-sm-3 pr-0"
>
<label
class=
"control-label "
content=
"required"
>
Link Lattes
<span
style=
"color: red"
>
*
</span>
</label>
</div>
<div
class=
"col-sm-9 pl-0"
>
<input
@
if
($
trabalho-
>
status!="aprovado")disabled="disabled" @endif 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 maxlength="250" style="width: 322px;"/>
</div>
</div>
</div>
@endif
<div
class=
"col-md-6 pl-0"
style=
"margin-top: 15px"
>
<label
class=
"control-label "
>
Comprovante Bancário (Foto do cartão)
@if($participante->anexoComprovanteBancario)
<a
id=
"modeloDocumentoTemp"
href=
"{{ route('baixar.documentosParticipante', ['pathDocumento' => $participante->anexoComprovanteBancario]) }}"
><i
class=
"ml-1 fas fa-file-pdf fa-2x"
></i></a>
@endif
</label>
</div>
<div
class=
"col-md-6 pl-0"
style=
"margin-top: 15px"
>
<label
class=
"control-label "
>
Autorização dos Pais (Em caso de menor de idade)
@if($participante->anexoAutorizacaoPais)
<a
id=
"modeloDocumentoTemp"
href=
"{{ route('baixar.documentosParticipante', ['pathDocumento' => $participante->anexoAutorizacaoPais]) }}"
><i
class=
"ml-1 fas fa-file-pdf fa-2x"
></i></a>
@endif
</label>
</div>
</div>
@endif
</div>
...
...
resources/views/documentacaoComplementar/listar.blade.php
View file @
197e7487
...
...
@@ -99,8 +99,7 @@
</
label
>
<
br
>
<
input
@
if
(
$trabalho
->
status
!=
"aprovado"
)
disabled
=
"disabled"
@
endif
type
=
"file"
class
=
"input-group-text"
value
=
""
name
=
"anexo_cpf_rg"
accept
=
".pdf"
id
=
"anexo_cpf_rg
{
{$participante->id}
}
"
required
"
/>
<
input
@
if
(
$trabalho
->
status
!=
"aprovado"
)
disabled
=
"disabled"
@
endif
type
=
"file"
class
=
"input-group-text"
value
=
""
name
=
"anexo_cpf_rg"
accept
=
".pdf"
id
=
"anexo_cpf_rg
{
{$participante->id}
}
"
required
/>
@
error
(
'anexo_cpf_rg'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
strong
>
{{
$message
}}
</
strong
>
...
...
resources/views/projeto/formularioVisualizar/participantes2.blade.php
View file @
197e7487
...
...
@@ -26,10 +26,9 @@
<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-l
g
"
>
<div
class=
"modal-dialog modal-dialog-centered modal-
x
l"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
style=
"overflow-x:auto; padding-left: 31px"
>
...
...
@@ -41,7 +40,7 @@
</div>
<div
class=
"modal-body"
style=
"padding-right: 32px;padding-left: 32px;padding-top: 20px;padding-bottom: 32px;"
>
@include('administrador.substituirParticipanteForm', ['visualizarOnly' => 1])
@include('administrador.substituirParticipanteForm', ['visualizarOnly' => 1
,'trabalho' => $projeto
])
</div>
</div>
</div>
...
...
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