diff options
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 |
