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
3ca111fe
Commit
3ca111fe
authored
Jun 26, 2023
by
PedroLopesUPE
Browse files
Bug fix
parent
98401e4f
Changes
1
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/UserPadController.php
View file @
3ca111fe
...
...
@@ -111,7 +111,7 @@ class UserPadController extends Controller
public
function
generatePDF
(
$user_pad_id
)
{
$user_id
=
UserPad
::
where
Pad
Id
(
$user_pad_id
)
->
first
()
->
{
'id'
};
$user_id
=
UserPad
::
whereId
(
$user_pad_id
)
->
first
()
->
{
'id'
};
$user_data
=
[
'nome'
=>
User
::
whereId
(
$user_id
)
->
first
()
->
{
'name'
},
'email'
=>
User
::
whereId
(
$user_id
)
->
first
()
->
{
'email'
}
...
...
@@ -393,6 +393,7 @@ class UserPadController extends Controller
// // public_path('\images\estado_pe_logo.png'),
// // url('images\estado_pe_logo.png'),
// // asset('images\estado_pe_logo.png'),
// UserPad::wherePadId($user_pad_id)->first()->{'id'},
// $user_data,
// $treated_model,
// // array_values($model['ensino'])[0],
...
...
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