diff options
| author | Geo Xalkis <gx23100@gmail.com> | 2023-07-31 01:53:36 +0300 |
|---|---|---|
| committer | Geo Xalkis <gx23100@gmail.com> | 2023-07-31 01:53:36 +0300 |
| commit | d5746829da07894db10b01f12219cee78f8af882 (patch) | |
| tree | efc9c7c563f845f7770fe07a70d55c3564cfbf89 /public/app/views/templates/create_pdf.php | |
| parent | c6b6f89e7cda2621fd3d0dfa0768d010fc41d437 (diff) | |
| download | gyraf1gov-d5746829da07894db10b01f12219cee78f8af882.tar.gz gyraf1gov-d5746829da07894db10b01f12219cee78f8af882.tar.bz2 gyraf1gov-d5746829da07894db10b01f12219cee78f8af882.zip | |
Diffstat (limited to 'public/app/views/templates/create_pdf.php')
| -rw-r--r-- | public/app/views/templates/create_pdf.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/app/views/templates/create_pdf.php b/public/app/views/templates/create_pdf.php index 2549cda..52be9ab 100644 --- a/public/app/views/templates/create_pdf.php +++ b/public/app/views/templates/create_pdf.php @@ -50,6 +50,7 @@ </body> <script> var data = <?=json_encode($petition, JSON_PRETTY_PRINT|JSON_UNESCAPED_UNICODE)?>; +console.log(data); pdfMake.fonts = { FiraSans: { @@ -64,7 +65,7 @@ pdfMake.fonts = { } pdfMake.createPdf( - designer( data.form_structure, data.form_structure.ref ) + designer( data.form_structure, data.form_structure.ref, data.protocol ) ).download('<?=$petition['signature']?>.pdf'); </script> </html>
\ No newline at end of file |
