Commit c79214e7 by Tu Nombre

Se agrega dinamico en el reporte

1 parent a5a71c87
......@@ -218,15 +218,28 @@ class PDF2 {
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("Fuerza IZ", new Vector(Pos.beg_margin, Pos.two_thirds), 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("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),
]);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!