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
3e48f4d1
Unverified
Commit
3e48f4d1
authored
Jul 05, 2022
by
GuilhermeGz
Committed by
GitHub
Jul 05, 2022
Browse files
Merge pull request #440 from antonioDurval/master
Correções de erro e atualizações da semana
parents
b2677c52
de299588
Changes
6
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/ProponenteController.php
View file @
3e48f4d1
...
@@ -110,12 +110,16 @@ class ProponenteController extends Controller
...
@@ -110,12 +110,16 @@ class ProponenteController extends Controller
}
}
public
function
projetosEdital
(
$id
)
{
public
function
projetosEdital
(
$id
)
{
$edital
=
Evento
::
find
(
$id
);
$edital
=
Evento
::
find
(
$id
);
$projetos
=
Trabalho
::
where
(
'evento_id'
,
'='
,
$id
)
->
where
(
'proponente_id'
,
Auth
::
user
()
->
proponentes
->
id
)
->
orderBy
(
'titulo'
)
->
paginate
(
10
);
if
(
Auth
::
user
()
->
proponentes
!=
null
){
$hoje
=
Carbon
::
today
(
'America/Recife'
);
$projetos
=
Trabalho
::
where
(
'evento_id'
,
'='
,
$id
)
->
where
(
'proponente_id'
,
Auth
::
user
()
->
proponentes
->
id
)
->
orderBy
(
'titulo'
)
->
paginate
(
10
);
$hoje
=
$hoje
->
toDateString
();
$hoje
=
Carbon
::
today
(
'America/Recife'
);
$hoje
=
$hoje
->
toDateString
();
return
view
(
'proponente.projetosEdital'
)
->
with
([
'edital'
=>
$edital
,
'projetos'
=>
$projetos
,
'hoje'
=>
$hoje
]);
return
view
(
'proponente.projetosEdital'
)
->
with
([
'edital'
=>
$edital
,
'projetos'
=>
$projetos
,
'hoje'
=>
$hoje
]);
}
else
{
return
redirect
()
->
route
(
'inicial'
);
}
}
}
public
function
solicitarDesligamento
(
Request
$request
){
public
function
solicitarDesligamento
(
Request
$request
){
...
...
resources/views/administrador/analisarProposta.blade.php
View file @
3e48f4d1
...
@@ -991,13 +991,13 @@
...
@@ -991,13 +991,13 @@
<
input
class
=
"col-md-1"
type
=
"radio"
id
=
"aprovado"
name
=
"statusProp"
<
input
class
=
"col-md-1"
type
=
"radio"
id
=
"aprovado"
name
=
"statusProp"
value
=
"aprovado"
required
value
=
"aprovado"
required
@
if
(
$trabalho
->
status
==
"aprovado"
)
checked
@
endif
>
@
if
(
$trabalho
->
status
==
"aprovado"
)
checked
@
endif
>
<
a
style
=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Recomendad
o
</
a
>
<
a
style
=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Recomendad
a
</
a
>
<
br
>
<
br
>
<
input
class
=
"col-md-1"
type
=
"radio"
id
=
"reprovado"
name
=
"statusProp"
<
input
class
=
"col-md-1"
type
=
"radio"
id
=
"reprovado"
name
=
"statusProp"
value
=
"reprovado"
required
value
=
"reprovado"
required
@
if
(
$trabalho
->
status
==
"reprovado"
)
checked
@
endif
>
@
if
(
$trabalho
->
status
==
"reprovado"
)
checked
@
endif
>
<
a
style
=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Não
Recomendad
o
</
a
>
<
a
style
=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Não
Recomendad
a
</
a
>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -1575,7 +1575,7 @@
...
@@ -1575,7 +1575,7 @@
document
.
getElementById
(
"aprovado"
)
.
onclick
=
function
()
{
document
.
getElementById
(
"aprovado"
)
.
onclick
=
function
()
{
var
s
=
document
.
getElementById
(
"comentario"
);
var
s
=
document
.
getElementById
(
"comentario"
);
s
.
innerHTML
=
'Proposta cumpriu todos os requisitos estabelecidos no edital'
;
s
.
innerHTML
=
'Proposta cumpriu todos os requisitos estabelecidos no edital
.
'
;
};
};
document
.
getElementById
(
"reprovado"
)
.
onclick
=
function
()
{
document
.
getElementById
(
"reprovado"
)
.
onclick
=
function
()
{
var
s
=
document
.
getElementById
(
"comentario"
);
var
s
=
document
.
getElementById
(
"comentario"
);
...
...
resources/views/projeto/editaFormulario/proponente.blade.php
View file @
3e48f4d1
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
<div
class=
"col-md-11"
>
<div
class=
"col-md-11"
>
<br>
<br>
<input
class=
"form-control @error('linkLattesEstudante') is-invalid @enderror"
type=
"text"
name=
"linkLattesEstudante"
<input
class=
"form-control @error('linkLattesEstudante') is-invalid @enderror"
type=
"text"
name=
"linkLattesEstudante"
readonly=
"readonly"
@
if
(
Auth
()
-
>
user()->proponentes != null
&&
Auth()->user()->proponentes->linkLattes != null)
@
if
(
Auth
()
-
>
user()->proponentes != null
&&
Auth()->user()->proponentes->linkLattes != null)
value="{{ Auth()->user()->proponentes->linkLattes }}"
value="{{ Auth()->user()->proponentes->linkLattes }}"
@else
@else
...
...
resources/views/projeto/formularioVisualizar/resultado2.blade.php
View file @
3e48f4d1
...
@@ -16,12 +16,12 @@
...
@@ -16,12 +16,12 @@
<div
class=
"col-md-3"
style=
"margin-top: 15px"
>
<div
class=
"col-md-3"
style=
"margin-top: 15px"
>
<input
class=
"col-md-1"
type=
"radio"
id=
"aprovado"
name=
"statusProp"
value=
"aprovado"
required
disabled
<input
class=
"col-md-1"
type=
"radio"
id=
"aprovado"
name=
"statusProp"
value=
"aprovado"
required
disabled
@
if
($
projeto-
>
status=="aprovado") checked @endif>
@
if
($
projeto-
>
status=="aprovado") checked @endif>
<a
style=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Recomendad
o
</a>
<a
style=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Recomendad
a
</a>
<br>
<br>
<input
class=
"col-md-1"
type=
"radio"
id=
"reprovado"
name=
"statusProp"
value=
"reprovado"
required
disabled
<input
class=
"col-md-1"
type=
"radio"
id=
"reprovado"
name=
"statusProp"
value=
"reprovado"
required
disabled
@
if
($
projeto-
>
status=="reprovado") checked @endif>
@
if
($
projeto-
>
status=="reprovado") checked @endif>
<a
style=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Não Recomendad
o
</a>
<a
style=
"color: #234B8B; font-weight: bold;font-size: 18px;"
>
Não Recomendad
a
</a>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
resources/views/proponente/projetos.blade.php
View file @
3e48f4d1
...
@@ -87,12 +87,13 @@
...
@@ -87,12 +87,13 @@
<
img
src
=
"
{
{asset('img/icons/ellipsis-v-solid.svg')}
}
"
style
=
"width:8px"
>
<
img
src
=
"
{
{asset('img/icons/ellipsis-v-solid.svg')}
}
"
style
=
"width:8px"
>
</
a
>
</
a
>
<
div
class
=
"dropdown-menu"
>
<
div
class
=
"dropdown-menu"
>
<
a
href
=
"{{ route('trabalho.editar', ['id' =>
$projeto->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
@
if
(
$hoje
<=
$projeto
->
evento
->
inicioProjeto
)
Editar
<
a
href
=
"{{ route('trabalho.editar', ['id' =>
$projeto->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
</
a
>
Editar
<
hr
class
=
"dropdown-hr"
>
</
a
>
<
hr
class
=
"dropdown-hr"
>
@
endif
@
if
(
$projeto
->
status
==
'aprovado'
)
@
if
(
$projeto
->
status
==
'aprovado'
)
<
a
href
=
"{{route('trabalho.trocaParticipante', ['evento_id' =>
$projeto->evento
->id, 'projeto_id' =>
$projeto->id
])}}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
<
a
href
=
"{{route('trabalho.trocaParticipante', ['evento_id' =>
$projeto->evento
->id, 'projeto_id' =>
$projeto->id
])}}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
...
...
resources/views/proponente/projetosEdital.blade.php
View file @
3e48f4d1
...
@@ -108,11 +108,14 @@
...
@@ -108,11 +108,14 @@
<
img
src
=
"
{
{asset('img/icons/ellipsis-v-solid.svg')}
}
"
style
=
"width:8px"
>
<
img
src
=
"
{
{asset('img/icons/ellipsis-v-solid.svg')}
}
"
style
=
"width:8px"
>
</
a
>
</
a
>
<
div
class
=
"dropdown-menu"
>
<
div
class
=
"dropdown-menu"
>
@
if
(
$hoje
<=
$edital
->
inicioProjeto
)
<
a
href
=
"{{ route('trabalho.editar', ['id' =>
$projeto->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
<
a
href
=
"{{ route('trabalho.editar', ['id' =>
$projeto->id
]) }}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
Editar
Editar
</
a
>
</
a
>
<
hr
class
=
"dropdown-hr"
>
<
hr
class
=
"dropdown-hr"
>
@
endif
@
if
(
$projeto
->
status
==
'aprovado'
)
@
if
(
$projeto
->
status
==
'aprovado'
)
<
a
href
=
"{{route('trabalho.trocaParticipante', ['evento_id' =>
$projeto->evento
->id, 'projeto_id' =>
$projeto->id
])}}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
<
a
href
=
"{{route('trabalho.trocaParticipante', ['evento_id' =>
$projeto->evento
->id, 'projeto_id' =>
$projeto->id
])}}"
class
=
"dropdown-item"
style
=
"text-align: center;"
>
Solicitar
Substituições
Solicitar
Substituições
...
...
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