Skip to content

Commit

Permalink
[FIX] account_check_printing: Close print check Pop-Up when printed
Browse files Browse the repository at this point in the history
When printing a check, the pop-up window remains on the screen even after the user has already printed the check and this can confuse the user and print the check multiple times. So, closing the pop up when check is printed and downloaded.

Task ID: 3860354

closes #162067

Signed-off-by: Wala Gauthier (gawa) <[email protected]>
  • Loading branch information
seifgneedy committed May 8, 2024
1 parent 6ba4a50 commit 60d6a40
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ def print_checks(self):
for payment in payments:
payment.check_number = '%0{}d'.format(number_len) % check_number
check_number += 1
return payments.do_print_checks()
checks_action = payments.do_print_checks()
checks_action.update({'close_on_report_download': True})
return checks_action

0 comments on commit 60d6a40

Please sign in to comment.