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
6e996fe1
Commit
6e996fe1
authored
May 27, 2022
by
Guilherme Silva
Browse files
Restrição de envio da documentação complementar por status da proposta na página de envio da mesma
parent
87436d84
Changes
1
Show whitespace changes
Inline
Side-by-side
resources/views/documentacaoComplementar/listar.blade.php
View file @
6e996fe1
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
@
section
(
'content'
)
@
section
(
'content'
)
<
div
class
=
"container"
>
<
div
class
=
"container"
style
=
"margin-bottom: 279px"
>
@
if
(
session
(
'sucesso'
))
@
if
(
session
(
'sucesso'
))
<
div
class
=
"alert alert-success"
role
=
"alert"
>
<
div
class
=
"alert alert-success"
role
=
"alert"
>
{{
session
(
'sucesso'
)
}}
{{
session
(
'sucesso'
)
}}
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<td style="
text
-
align
:
center
;
text
-
transform
:
capitalize
;
" >
{
{$trabalho->status}
}
</td>
<td style="
text
-
align
:
center
;
text
-
transform
:
capitalize
;
" >
{
{$trabalho->status}
}
</td>
<td style="
text
-
align
:
center
;
" title="
{{
$participante
->
user
->
name
}}
">
{
{$participante->user->name}
}
</td>
<td style="
text
-
align
:
center
;
" title="
{{
$participante
->
user
->
name
}}
">
{
{$participante->user->name}
}
</td>
<td style="
text
-
align
:
center
;
">
<td style="
text
-
align
:
center
;
">
<button type="
button
" class="
btn
btn
-
primary
" data-toggle="
modal
" data-target="
#modalConfirm{{$participante->id}}"
@if($trabalho->status!="aprovado")disabled="disabled" @endif
>
<button type="
button
" class="
btn
btn
-
primary
" data-toggle="
modal
" data-target="
#modalConfirm{{$participante->id}}" >
@
if
(
$participante
->
anexoComprovanteMatricula
==
null
||
$participante
->
anexoTermoCompromisso
==
null
@
if
(
$participante
->
anexoComprovanteMatricula
==
null
||
$participante
->
anexoTermoCompromisso
==
null
||
$participante
->
anexoLattes
==
null
||
$participante
->
linkLattes
==
null
)
||
$participante
->
anexoLattes
==
null
||
$participante
->
linkLattes
==
null
)
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<
form
id
=
"formDocComplementar"
method
=
"post"
action
=
"
{
{route('docComplementar.enviar')}
}
"
enctype
=
"multipart/form-data"
>
<
form
id
=
"formDocComplementar"
method
=
"post"
action
=
"
{
{route('docComplementar.enviar')}
}
"
enctype
=
"multipart/form-data"
>
@
csrf
@
csrf
<
input
type
=
"hidden"
value
=
"
{
{$participante->id}
}
"
name
=
"partcipanteId"
>
<
input
type
=
"hidden"
value
=
"
{
{$participante->id}
}
"
name
=
"partcipanteId"
>
<
div
class
=
"row col-md-12"
>
<
div
class
=
"row col-md-12"
>
<
div
class
=
"col-md-6"
style
=
"margin-top: 15px"
>
<
div
class
=
"col-md-6"
style
=
"margin-top: 15px"
>
<
label
class
=
"control-label "
>
Termo
de
Compromisso
<
span
style
=
"color: red"
>*</
span
>@
if
(
$participante
->
anexoTermoCompromisso
)
:
<
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
>
<
a
id
=
"modeloDocumentoTemp"
href
=
"{{ route('baixar.documentosParticipante', ['pathDocumento' =>
$participante->anexoTermoCompromisso
]) }}"
>
Arquivo
atual
</
a
>
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
</
label
>
</
label
>
<
br
>
<
br
>
<
input
type
=
"file"
class
=
"input-group-text"
value
=
""
name
=
"termoCompromisso"
accept
=
".pdf"
id
=
"termoCompromisso
{
{$participante->id}
}
"
required
<
input
@
if
(
$trabalho
->
status
!=
"aprovado"
)
disabled
=
"disabled"
@
endif
type
=
"file"
class
=
"input-group-text"
value
=
""
name
=
"termoCompromisso"
accept
=
".pdf"
id
=
"termoCompromisso
{
{$participante->id}
}
"
required
/>
/>
@
error
(
'termoCompromisso'
)
@
error
(
'termoCompromisso'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
</
label
>
</
label
>
<
br
>
<
br
>
<
input
type
=
"file"
class
=
"input-group-text"
value
=
""
name
=
"comprovanteMatricula"
accept
=
".pdf"
id
=
"comprovanteMatricula
{
{$participante->id}
}
"
required
/>
<
input
@
if
(
$trabalho
->
status
!=
"aprovado"
)
disabled
=
"disabled"
@
endif
type
=
"file"
class
=
"input-group-text"
value
=
""
name
=
"comprovanteMatricula"
accept
=
".pdf"
id
=
"comprovanteMatricula
{
{$participante->id}
}
"
required
/>
@
error
(
'comprovanteMatricula'
)
@
error
(
'comprovanteMatricula'
)
<
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
>
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
@
endif
@
endif
</
label
>
</
label
>
<
br
>
<
br
>
<
input
type
=
"file"
class
=
"input-group-text"
value
=
""
name
=
"pdfLattes"
accept
=
".pdf"
id
=
"pdfLattes
{
{$participante->id}
}
"
<
input
@
if
(
$trabalho
->
status
!=
"aprovado"
)
disabled
=
"disabled"
@
endif
type
=
"file"
class
=
"input-group-text"
value
=
""
name
=
"pdfLattes"
accept
=
".pdf"
id
=
"pdfLattes
{
{$participante->id}
}
"
required
/>
required
/>
@
error
(
'pdfLattes'
)
@
error
(
'pdfLattes'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
<
div
class
=
"col-md-6"
>
<
div
class
=
"col-md-6"
>
<
label
class
=
"control-label "
content
=
"required"
>
Link
Lattes
<
span
style
=
"color: red"
>*</
span
>
:
</
label
>
<
label
class
=
"control-label "
content
=
"required"
>
Link
Lattes
<
span
style
=
"color: red"
>*</
span
>
:
</
label
>
<
br
>
<
br
>
<
input
type
=
"text"
class
=
"input-group-text col-md-12"
name
=
"linkLattes"
placeholder
=
"Link Lattes"
id
=
"linkLattes
{
{$participante->id}
}
"
<
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
/>
required
@
if
(
$participante
->
linkLattes
)
value
=
"
{
{$participante->linkLattes}
}
"
@
endif
/>
@
error
(
'linkLattes'
)
@
error
(
'linkLattes'
)
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
<
span
class
=
"invalid-feedback"
role
=
"alert"
style
=
"overflow: visible; display:block"
>
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
@
endif
@
endif
</
label
>
</
label
>
<
br
>
<
br
>
<
input
type
=
"file"
class
=
"input-group-text"
value
=
""
name
=
"comprovanteBancario"
accept
=
".pdf,.jpg, .jpeg, .png"
id
=
"comprovanteBancario
{
{$participante->id}
}
"
/>
<
input
@
if
(
$trabalho
->
status
!=
"aprovado"
)
disabled
=
"disabled"
@
endif
type
=
"file"
class
=
"input-group-text"
value
=
""
name
=
"comprovanteBancario"
accept
=
".pdf,.jpg, .jpeg, .png"
id
=
"comprovanteBancario
{
{$participante->id}
}
"
/>
@
error
(
'comprovanteBancario'
)
@
error
(
'comprovanteBancario'
)
<
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
>
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
@
endif
@
endif
</
label
>
</
label
>
<
br
>
<
br
>
<
input
type
=
"file"
class
=
"input-group-text"
value
=
""
name
=
"autorizacaoPais"
accept
=
".pdf"
id
=
"autorizacaoPais
{
{$participante->id}
}
"
/>
<
input
@
if
(
$trabalho
->
status
!=
"aprovado"
)
disabled
=
"disabled"
@
endif
type
=
"file"
class
=
"input-group-text"
value
=
""
name
=
"autorizacaoPais"
accept
=
".pdf"
id
=
"autorizacaoPais
{
{$participante->id}
}
"
/>
@
error
(
'autorizacaoPais '
)
@
error
(
'autorizacaoPais '
)
<
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
>
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
<
button
type
=
"button"
class
=
"btn btn-danger"
data
-
dismiss
=
"modal"
>
<
button
type
=
"button"
class
=
"btn btn-danger"
data
-
dismiss
=
"modal"
>
Cancelar
Cancelar
</
button
>
</
button
>
<
button
type
=
"submit"
href
=
""
id
=
"btnSubmit"
class
=
"btn btn-info"
>
<
button
type
=
"submit"
href
=
""
id
=
"btnSubmit"
class
=
"btn btn-info"
@
if
(
$trabalho
->
status
!=
"aprovado"
)
disabled
=
"disabled"
@
endif
>
Salvar
Salvar
</
button
>
</
button
>
</
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