From e3b31f0c895ac34b5bf2820b5f2fe2664ff2855e Mon Sep 17 00:00:00 2001 From: Greenscreener Date: Sat, 23 Jan 2021 03:44:20 +0100 Subject: [PATCH] Changed pdf layout --- form/res-judicata/src/views/Edit.vue | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/form/res-judicata/src/views/Edit.vue b/form/res-judicata/src/views/Edit.vue index dddfe6f..01320be 100644 --- a/form/res-judicata/src/views/Edit.vue +++ b/form/res-judicata/src/views/Edit.vue @@ -274,17 +274,25 @@ export default { } ]).flat(), + { - text: `Dne ${this.zaloba.datum} v České republice`, + text: "_____________________", + color: "#fff", alignment: "right", - margin: [0, 30, 0, 0] + margin: [0, 50, 0, 0], + decoration: "underline", + decorationColor: "#000" }, { - text: "__________________________", + text: `${this.zaloba.zalobci[0].jmeno} ${this.zaloba.zalobci[0].prijmeni}`, alignment: "right", - margin: [0, 30, 0, 0] + margin: [0, 10, 0, 0] + }, + { + text: `${this.zaloba.zalobci[0].sidlo.mesto}, dne ${this.zaloba.datum}`, + alignment: "right", + }, - } ], defaultStyle: { font: 'SourceSerifPro'