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
f91b17c9
Commit
f91b17c9
authored
Aug 03, 2023
by
PedroLopesUPE
Browse files
Adição do front-end do Anexo B
Estilização inicial simples
parent
34920dc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/UserPadController.php
View file @
f91b17c9
...
@@ -311,8 +311,6 @@ class UserPadController extends Controller
...
@@ -311,8 +311,6 @@ class UserPadController extends Controller
}
}
}
}
$treated_anexo_pad
=
[];
$treated_anexo_pad
=
[];
$treated_anexo_item_valor
=
""
;
$treated_anexo_item_nome
=
""
;
foreach
(
$anexoPad
as
$nome_valor
=>
$valor
)
foreach
(
$anexoPad
as
$nome_valor
=>
$valor
)
{
{
if
(
in_array
(
$nome_valor
,
$valores_lista_negra
))
if
(
in_array
(
$nome_valor
,
$valores_lista_negra
))
...
@@ -344,7 +342,6 @@ class UserPadController extends Controller
...
@@ -344,7 +342,6 @@ class UserPadController extends Controller
$treated_anexo_pad
[
$nome_valor
]
=
$valor
;
$treated_anexo_pad
[
$nome_valor
]
=
$valor
;
}
}
}
}
$model
[
'anexo'
]
=
$treated_anexo_pad
;
date_default_timezone_set
(
"America/Recife"
);
date_default_timezone_set
(
"America/Recife"
);
$dateTime
=
now
()
->
format
(
'd/m/Y (H:i:s)'
);
$dateTime
=
now
()
->
format
(
'd/m/Y (H:i:s)'
);
...
@@ -355,6 +352,7 @@ class UserPadController extends Controller
...
@@ -355,6 +352,7 @@ class UserPadController extends Controller
'nome'
=>
$userPad
->
user
->
{
'name'
},
'nome'
=>
$userPad
->
user
->
{
'name'
},
'email'
=>
$userPad
->
user
->
{
'email'
}
'email'
=>
$userPad
->
user
->
{
'email'
}
],
],
'anexo'
=>
$treated_anexo_pad
,
'model'
=>
$treated_model
,
'model'
=>
$treated_model
,
'horas'
=>
$horas
'horas'
=>
$horas
);
);
...
@@ -363,7 +361,6 @@ class UserPadController extends Controller
...
@@ -363,7 +361,6 @@ class UserPadController extends Controller
// // $userPad->pesquisaCoordenacoes->toArray(),
// // $userPad->pesquisaCoordenacoes->toArray(),
// $anexoPad,
// $anexoPad,
// $treated_anexo_pad,
// $treated_anexo_pad,
// // $model['anexo'],
// $cursos,
// $cursos,
// // ($model['extensao']['1. EXTENSÃO (COORDENAÇÃO DE ATIVIDADES DE EXTENSÃO HOMOLOGADA NA PROEC)']),
// // ($model['extensao']['1. EXTENSÃO (COORDENAÇÃO DE ATIVIDADES DE EXTENSÃO HOMOLOGADA NA PROEC)']),
// // public_path('\images\estado_pe_logo.png'),
// // public_path('\images\estado_pe_logo.png'),
...
...
resources/views/pad/teacher/report_pdf.blade.php
View file @
f91b17c9
...
@@ -13,6 +13,15 @@
...
@@ -13,6 +13,15 @@
</header>
</header>
<div
style=
"display: flex; flex-direction: column; padding-left:5mm; gap: 10mm"
>
<div
style=
"display: flex; flex-direction: column; padding-left:5mm; gap: 10mm"
>
<h1
style=
"font-size: 16px; font-weight: bold; text-align: center"
>
ANEXO B
</h1>
@foreach ($data['anexo'] as $nome=>$valor)
<h4
style=
"font-size: 12px; font-weight: normal; padding-bottom: 5px"
>
<b>
{{$nome}}
</b>
: {{$valor}}
</h4>
@endforeach
<hr>
@foreach ($data['model'] as $nome_dimensao=>$dimensao)
@foreach ($data['model'] as $nome_dimensao=>$dimensao)
<h1
style=
"font-size: 16px; font-weight: bold"
>
<h1
style=
"font-size: 16px; font-weight: bold"
>
{{$nome_dimensao}}
{{$nome_dimensao}}
...
...
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