Commit 11e1ccb6 by Juan Pablo dure

dwsa

1 parent cf910cee
...@@ -52,9 +52,9 @@ class PDF2 { ...@@ -52,9 +52,9 @@ class PDF2 {
const header = this.A4.addRelativeChild(new Div(pointer, new Vector(Pos.end, 5))); const header = this.A4.addRelativeChild(new Div(pointer, new Vector(Pos.end, 5)));
header.addRelativeChildren([ header.addRelativeChildren([
new Text("Dominio: " + data['patente'], new Vector(Pos.beg_margin + 2, Pos.third), this.font), new Text("Dominio: " + data['patente'], new Vector(Pos.beg_margin , 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),
new Text("Ingeniero: " + data['ingeniero'], new Vector(Pos.quarter, Pos.two_thirds), this.font) new Text("Fecha y hora " + data['fecha'] + data['hora'], new Vector(Pos.beg_margin + 2, Pos.two_thirds), this.font)
]); ]);
return pointer.addxy(0, 3); return pointer.addxy(0, 3);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!