diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2019-03-26 18:24:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-26 18:24:02 +0100 |
| commit | f435520663d59378546426ea7263e78d51362c44 (patch) | |
| tree | e199df485cbc558336e0c7cfabf512c0da1be50d /lib | |
| parent | 0b9f95ed88f6d4eb47c774c69e4fa9a03546b4b5 (diff) | |
Add Custom Page to Print PDF (#418)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/extensions/print_pdf.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/extensions/print_pdf.py b/lib/extensions/print_pdf.py index c718fa09..4913a32a 100644 --- a/lib/extensions/print_pdf.py +++ b/lib/extensions/print_pdf.py @@ -353,7 +353,13 @@ class Print(InkstitchExtension): template = env.get_template('index.html') return template.render( - view={'client_overview': False, 'client_detailedview': False, 'operator_overview': True, 'operator_detailedview': True}, + view={ + 'client_overview': False, + 'client_detailedview': False, + 'operator_overview': True, + 'operator_detailedview': True, + 'custom_page': False + }, logo={'src': '', 'title': 'LOGO'}, date=date.today(), client="", |
