Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Luciano Barletta
/
Pruebas-RTO
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 54ad3c28
authored
2023-09-08 18:00:17 -0300
by
Juan Pablo dure
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Otra prueba de titulo
1 parent
9757e390
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
static/src/pdf2.js
static/src/pdf2.js
View file @
54ad3c2
...
...
@@ -52,10 +52,9 @@ class PDF2 {
const
header
=
this
.
A4
.
addRelativeChild
(
new
Div
(
pointer
,
new
Vector
(
Pos
.
end
,
3
)));
header
.
addRelativeChildren
([
new
Text
(
"Dominio: "
+
data
[
'patente'
],
new
Vector
(
Pos
.
beg_margin
,
Pos
.
two_thirds
),
this
.
font
),
new
Text
(
"Fecha: "
+
data
[
'fecha'
],
new
Vector
(
Pos
.
third
,
Pos
.
two_thirds
),
this
.
font
),
new
Text
(
"Hora: "
+
data
[
'hora'
],
new
Vector
(
Pos
.
beg_margin
,
Pos
.
three_quarters
),
this
.
font
),
new
Text
(
"Ingeniero: "
+
data
[
'ingeniero'
],
new
Vector
(
Pos
.
third
+
2
,
Pos
.
two_thirds
),
this
.
font
)
new
Text
(
"Dominio: "
+
data
[
'patente'
],
new
Vector
(
Pos
.
beg_margin
+
2
,
Pos
.
third
),
this
.
font
),
new
Text
(
"Fecha y hora "
+
data
[
'fecha'
]
+
data
[
'hora'
],
new
Vector
(
Pos
.
beg_margin
+
2
,
Pos
.
two_thirds
),
this
.
font
),
new
Text
(
"Ingeniero: "
+
data
[
'ingeniero'
],
new
Vector
(
Pos
.
quarter
,
Pos
.
two_thirds
),
this
.
font
)
]);
return
pointer
.
addxy
(
0
,
3
);
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment