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 | |
| parent | c6b6f89e7cda2621fd3d0dfa0768d010fc41d437 (diff) | |
| download | gyraf1gov-develop.tar.gz gyraf1gov-develop.tar.bz2 gyraf1gov-develop.zip | |
Diffstat (limited to 'public/app/views/templates')
| -rw-r--r-- | public/app/views/templates/admin_petitions.php | 2 | ||||
| -rw-r--r-- | public/app/views/templates/create_pdf.php | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/public/app/views/templates/admin_petitions.php b/public/app/views/templates/admin_petitions.php index 52f2a89..c4374bb 100644 --- a/public/app/views/templates/admin_petitions.php +++ b/public/app/views/templates/admin_petitions.php @@ -88,7 +88,7 @@ <div class="modal-body"> <div class="row form-group"> - <label class="control-label col-sm-12" for="protocol">Αριθμός Πρψτοκόλλου</label> + <label class="control-label col-sm-12" for="protocol">Αριθμός Πρωτοκόλλου</label> <div class="col-sm-12"> <input class="form-control form-control-sm" type="text" name="protocol" value="" required=""> </div> 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 |
