Skip to content
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

Merged
merged 1 commit into from
Mar 16, 2020
Merged

Conversation

TimAle
Copy link
Member

@TimAle TimAle commented Mar 16, 2020

No description provided.

Copy link
Contributor

@dolfinus dolfinus left a 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.

src/org/camunda/latera/bss/connectors/Imprint.groovy Outdated Show resolved Hide resolved
@sugarfree1 sugarfree1 self-requested a review March 16, 2020 13:17
@sugarfree1 sugarfree1 self-assigned this Mar 16, 2020
@@ -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...')
Copy link
Contributor

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.. :)

Copy link
Contributor

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 ]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alignment

@dolfinus dolfinus self-requested a review March 16, 2020 13:25
Copy link
Contributor

@dolfinus dolfinus left a 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.

@TimAle TimAle merged commit 8ce6e46 into master Mar 16, 2020
@TimAle TimAle deleted the HCX-58 branch March 16, 2020 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants