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 c79214e7
authored
2024-06-19 19:38:12 -0300
by
Tu Nombre
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Se agrega dinamico en el reporte
1 parent
a5a71c87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
6 deletions
static/src/pdf2.js
static/src/pdf2.js
View file @
c79214e
...
@@ -218,15 +218,28 @@ class PDF2 {
...
@@ -218,15 +218,28 @@ class PDF2 {
trasero
.
addRelativeChildren
([
trasero
.
addRelativeChildren
([
new
Text
(
`
${
this
.
Dominio
}
- Diagnóstico de Frenos - Eje Trasero - Frenos de Mano`
,
new
Vector
(
Pos
.
beg
,
Pos
.
third
,
),
this
.
font
),
new
Text
(
`
${
this
.
Dominio
}
- Diagnóstico de Frenos - Eje Trasero - Frenos de Mano`
,
new
Vector
(
Pos
.
beg
,
Pos
.
third
-
25
,
),
this
.
font
),
new
Text
(
"Fuerza IZ"
,
new
Vector
(
Pos
.
beg_margin
,
Pos
.
two_thirds
),
this
.
font
),
new
Text
(
"Peso Lado Izquierdo"
,
new
Vector
(
Pos
.
beg_margin
,
Pos
.
quarter
),
this
.
font
),
new
Text
(
`
${
data
[
'peso_estatico'
]}
Kg`
,
new
Vector
(
Pos
.
beg_margin
+
3
,
Pos
.
quarter
+
15
),
this
.
font
),
new
Text
(
"Peso del Eje "
,
new
Vector
(
Pos
.
middle
-
10
,
Pos
.
quarter
),
this
.
font
),
new
Text
(
`
${
data
[
'peso_estatico'
]}
Kg`
,
new
Vector
(
Pos
.
middle
-
5
,
Pos
.
quarter
+
15
),
this
.
font
),
new
Text
(
"Peso Lado Derecho"
,
new
Vector
(
Pos
.
three_quarters
,
Pos
.
quarter
),
this
.
font
),
new
Text
(
`
${
data
[
'peso_estatico'
]}
KG`
,
new
Vector
(
Pos
.
three_quarters
+
3
,
Pos
.
quarter
+
15
),
this
.
font
),
new
Text
(
"Fuerza IZ"
,
new
Vector
(
Pos
.
beg_margin
,
Pos
.
middle
+
5
),
this
.
font
),
new
Text
(
`
${
data
[
'fuerza_izquierda'
]}
KN`
,
new
Vector
(
Pos
.
beg_margin
+
3
,
Pos
.
middle
+
20
),
this
.
font
),
new
Text
(
"Diferencia"
,
new
Vector
(
Pos
.
middle
-
10
,
Pos
.
middle
+
5
),
this
.
font
),
new
Text
(
`
${
data
[
'diferencia_freno_mano'
]}
Kg`
,
new
Vector
(
Pos
.
middle
-
5
,
Pos
.
middle
+
20
),
this
.
font
),
new
Text
(
"Fuerza DE"
,
new
Vector
(
Pos
.
three_quarters
,
Pos
.
middle
+
5
),
this
.
font
),
new
Text
(
`
${
data
[
'fuerza_derecha'
]}
KN`
,
new
Vector
(
Pos
.
three_quarters
+
3
,
Pos
.
middle
+
20
),
this
.
font
)
new
Text
(
data
[
'fuerza_izquierda'
],
new
Vector
(
Pos
.
beg_margin
,
Pos
.
end
),
this
.
font
),
new
Text
(
"Fuerza DE"
,
new
Vector
(
Pos
.
three_quarters
,
Pos
.
two_thirds
),
this
.
font
),
new
Text
(
data
[
'fuerza_derecha'
],
new
Vector
(
Pos
.
three_quarters
,
Pos
.
end
),
this
.
font
),
//new Text("Fuerza IZ", new Vector(Pos.beg_margin, Pos.two_thirds), this.font),
//new Text(data['fuerza_izquierda'], new Vector(Pos.beg_margin, Pos.end), this.font),
//new Text("Fuerza DE", new Vector(Pos.three_quarters, Pos.two_thirds), this.font),
//new Text(data['fuerza_derecha'], new Vector(Pos.three_quarters, Pos.end), this.font),
]);
]);
...
...
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