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
619606e8
Commit
619606e8
authored
Aug 31, 2021
by
José Rômulo
Browse files
Modificações na tela de requisitar substituicoes
parent
bcf80980
Changes
2
Hide whitespace changes
Inline
Side-by-side
resources/views/administrador/analisar.blade.php
View file @
619606e8
...
@@ -149,7 +149,9 @@
...
@@ -149,7 +149,9 @@
<
hr
>
<
hr
>
<
h4
>
Discentes
</
h4
>
<
h4
>
Discentes
</
h4
>
<
a
href
=
"{{route('trabalho.telaAnaliseSubstituicoes', ['trabalho_id' =>
$trabalho->id
])}}"
class
=
""
>
Substituições
</
a
>
{{
--
Participantes
--
}}
{{
--
Participantes
--
}}
<
div
class
=
"row"
style
=
"margin-top:20px"
>
<
div
class
=
"row"
style
=
"margin-top:20px"
>
<
div
class
=
"col-sm-12"
>
<
div
class
=
"col-sm-12"
>
...
...
resources/views/administrador/substituirParticipante.blade.php
View file @
619606e8
...
@@ -88,6 +88,118 @@
...
@@ -88,6 +88,118 @@
</
div
>
</
div
>
</
div
>
</
div
>
@
if
(
$substituicoesPendentes
->
count
()
>
0
)
<
h4
style
=
"margin-top: 50px"
>
Substituições
Pendentes
</
h4
>
<
div
style
=
"margin-top: 20px"
>
<
div
class
=
"card-header"
>
<
div
class
=
"row"
>
<
div
class
=
"col-4"
>
<
h5
class
=
"card-title"
style
=
"color:#1492E6"
>
Participante
Substituido
</
h5
>
</
div
>
<
div
class
=
"col-4"
>
<
h5
class
=
"card-title"
style
=
"color:#1492E6"
>
Participante
Substituto
</
h5
>
</
div
>
<
div
class
=
"col-4"
>
<
h5
class
=
"card-title"
style
=
"color:#1492E6"
>
Tipo
</
h5
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"card-body"
>
@
foreach
(
$substituicoesPendentes
as
$substituicao
)
<
div
class
=
"row"
style
=
"margin-bottom: 20px;"
>
<
div
class
=
"col-4"
>
<
h4
style
=
"font-size:18px"
>
{{
$substituicao
->
participanteSubstituido
->
user
->
name
}}
</
h4
>
</
div
>
<
div
class
=
"col-4"
>
<
h4
style
=
"font-size:18px"
>
{{
$substituicao
->
participanteSubstituto
->
user
->
name
}}
</
h4
>
</
div
>
<
div
class
=
"col-4"
>
@
if
(
$substituicao
->
tipo
==
'ManterPlano'
)
<
h5
>
Manter
Plano
</
h5
>
@
elseif
(
$substituicao
->
tipo
==
'TrocarPlano'
)
<
h5
>
Alterar
Plano
</
h5
>
@
elseif
(
$substituicao
->
tipo
==
'Completa'
)
<
h5
>
Completa
</
h5
>
@
endif
</
div
>
</
div
>
@
endforeach
</
div
>
</
div
>
@
endif
@
if
(
$substituicoesNegadas
->
count
()
>
0
)
<
h4
style
=
"margin-top: 50px"
>
Substituições
Negadas
</
h4
>
<
div
style
=
"margin-top: 20px"
>
<
div
class
=
"card-header"
>
<
div
class
=
"row"
>
<
div
class
=
"col-3"
>
<
h5
class
=
"card-title"
style
=
"color:#1492E6"
>
Participante
Substituido
</
h5
>
</
div
>
<
div
class
=
"col-3"
>
<
h5
class
=
"card-title"
style
=
"color:#1492E6"
>
Participante
Substituto
</
h5
>
</
div
>
<
div
class
=
"col-2"
>
<
h5
class
=
"card-title"
style
=
"color:#1492E6"
>
Tipo
</
h5
>
</
div
>
<
div
class
=
"col-2"
>
<
h5
class
=
"card-title"
style
=
"color:#1492E6"
>
Justificativa
</
h5
>
</
div
>
<
div
class
=
"col-2"
>
<
h5
class
=
"card-title"
style
=
"color:#1492E6"
>
Data
</
h5
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"card-body"
>
@
foreach
(
$substituicoesNegadas
as
$substituicao
)
<
div
class
=
"row"
style
=
"margin-bottom: 20px;"
>
<
div
class
=
"col-3"
>
@
if
(
$substituicao
->
participanteSubstituido
()
->
first
()
!=
null
)
<
h4
style
=
"font-size:18px"
>
{{
$substituicao
->
participanteSubstituido
->
user
->
name
}}
</
h4
>
@
else
<
h4
style
=
"font-size:18px"
>
{{
$substituicao
->
participanteSubstituido
()
->
withTrashed
()
->
first
()
->
user
->
name
}}
</
h4
>
@
endif
</
div
>
<
div
class
=
"col-3"
>
<
h4
style
=
"font-size:18px"
>
{{
$substituicao
->
participanteSubstituto
()
->
withTrashed
()
->
first
()
->
user
->
name
}}
</
h4
>
</
div
>
<
div
class
=
"col-2"
>
@
if
(
$substituicao
->
tipo
==
'ManterPlano'
)
<
h5
>
Manter
Plano
</
h5
>
@
elseif
(
$substituicao
->
tipo
==
'TrocarPlano'
)
<
h5
>
Alterar
Plano
</
h5
>
@
elseif
(
$substituicao
->
tipo
==
'Completa'
)
<
h5
>
Completa
</
h5
>
@
endif
</
div
>
<
div
class
=
"col-2"
>
<
p
style
=
"max-height: 60px; overflow:auto"
>
{{
$substituicao
->
justificativa
}}
</
p
>
</
div
>
<
div
class
=
"col-2"
>
<
p
>
{{
$substituicao
->
concluida_em
}}
</
p
>
</
div
>
</
div
>
@
endforeach
</
div
>
</
div
>
@
endif
<
h4
style
=
"margin-top: 50px"
>
Histórico
de
participantes
</
h4
>
<
h4
style
=
"margin-top: 50px"
>
Histórico
de
participantes
</
h4
>
<
div
style
=
"margin-top: 20px"
>
<
div
style
=
"margin-top: 20px"
>
<
div
class
=
"card-header"
>
<
div
class
=
"card-header"
>
...
...
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