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
pad-upe
Commits
87de8006
Commit
87de8006
authored
Aug 18, 2023
by
PedroLopesUPE
Browse files
Adição de botão para baixar PAD de cada professor. Visão de avaliador
Usando rota user-pad-pdf de UserPadController.
parent
47114de8
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/PadController.php
View file @
87de8006
...
...
@@ -888,6 +888,7 @@ class PadController extends Controller
if
(
$professor
->
ch_ensino
||
$professor
->
ch_pesquisa
||
$professor
->
ch_extensao
||
$professor
->
ch_gestao
)
{
$professor
->
status
=
"Enviado"
;
$professor
->
pad_id
=
$userPad
->
{
'id'
};
}
}
...
...
resources/views/components/buttons/btn-download.blade.php
View file @
87de8006
{{
--
@
include
(
'components.buttons.btn-download'
,
[
'
id'
=>
''
,
'
route'
=>
''
,
'content'
=>
''
'
route'
=>
''
,
'
id'
=>
''
,
'content'
=>
''
])
--
}}
...
...
resources/views/pad/relatorio/relatorio.blade.php
View file @
87de8006
...
...
@@ -80,6 +80,7 @@
<
th
scope
=
'col'
>
CH
Extensão
</
th
>
<
th
scope
=
'col'
>
CH
Gestão
</
th
>
<
th
scope
=
'col'
>
Campus
</
th
>
<
th
scope
=
'col'
></
th
>
</
tr
>
</
thead
>
...
...
@@ -97,6 +98,13 @@
<
td
>
{{
$professor
->
ch_gestao
}}
</
td
>
<
td
>
{{
$professor
->
campus
}}
</
td
>
<
td
>
@
include
(
'components.buttons.btn-download'
,
[
'route'
=>
route
(
'user-pad_pdf'
,
[
'user_pad_id'
=>
$professor
->
pad_id
]),
'id'
=>
''
,
'content'
=>
''
])
</
td
>
</
tr
>
@
php
$index
+=
1
@
endphp
@
endif
...
...
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