-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HCX-58 Add PDF conversion option to Imprint print interface #50
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add line to CHANGELOG.md with pull request link.
@@ -36,7 +36,7 @@ class Imprint { | |||
) | |||
} | |||
|
|||
def print(CharSequence template, Map data = [:]) { | |||
def print(CharSequence template, Map data = [:], Boolean convertToPDF = false) { | |||
logger.info('Printing begin...') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i wonder how it looks when you have thousands of requests.. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean?
@@ -54,7 +54,8 @@ class Imprint { | |||
monthFull : format(now, MONTH_FULL_FORMAT, this.locale), | |||
todayFull : format(now, FULL_DATE_FORMAT, this.locale), | |||
homsOrderCode : execution.getVariable('homsOrderCode') | |||
] + data | |||
] + data, | |||
options : [ convert_to_pdf : convertToPDF ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alignment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add line to CHANGELOG.md with pull request link.
No description provided.