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
c8298a4e
Commit
c8298a4e
authored
Jan 30, 2022
by
Guilherme Silva
Browse files
Ajuste de função da listagem 'rapida' de projetos
parent
8dc750a7
Changes
1
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/AdministradorController.php
View file @
c8298a4e
...
...
@@ -2,6 +2,7 @@
namespace
App\Http\Controllers
;
use
App\Substituicao
;
use
Illuminate\Http\Request
;
use
App\Administrador
;
use
App\User
;
...
...
@@ -76,11 +77,10 @@ class AdministradorController extends Controller
public
function
showProjetos
(
Request
$request
){
$evento
=
Evento
::
where
(
'id'
,
$request
->
evento_id
)
->
first
();
$editais
=
Evento
::
with
(
'trabalhos'
)
->
get
();
$projetos
=
Trabalho
::
all
();
$projetos
=
Trabalho
::
all
()
->
where
(
'status'
,
'submetido'
);
$funcaoParticipantes
=
FuncaoParticipantes
::
all
();
return
view
(
'administrador.listaProjetos'
,
compact
(
'projetos'
,
'even
to
'
,
'
editais'
)
);
return
view
(
'administrador.listaProjetos'
)
->
with
([
'projetos'
=>
$proje
to
s
,
'
funcaoParticipantes'
=>
$funcaoParticipantes
]
);
}
public
function
showResultados
(
Request
$request
){
...
...
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