Bug 30751 - Print autorenewal notice to console when running in verbose.
Summary: Print autorenewal notice to console when running in verbose.
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Martin Renvoize
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-13 15:07 UTC by Martin Renvoize
Modified: 2022-05-15 20:13 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 30751: Add notice printing to automatic_renewals.pl (4.90 KB, patch)
2022-05-13 15:18 UTC, Martin Renvoize
Details | Diff | Splinter Review
Bug 30751: Add notice printing to automatic_renewals.pl (4.95 KB, patch)
2022-05-13 16:53 UTC, Lucas Gass
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Renvoize 2022-05-13 15:07:36 UTC
It would be really helpful to be able to preview how the notices look for autorenewals.

It's fairly simple to add this to the script when running in verbose mode.
Comment 1 Martin Renvoize 2022-05-13 15:18:36 UTC
Created attachment 134980 [details] [review]
Bug 30751: Add notice printing to automatic_renewals.pl

This patch adds notice preview to the automatic_renewals.pl script.

Test plan
1) Setup automtic renewals and add some checkouts with autorenewal
   enabled
2) Run the automatic_renewals.pl script with verbose mode. (without
   confirm if your testing and don't want to actually send notice or
   perform the renewals)
3) Confirm that you no get notices printed at the end of the output
Comment 2 Lucas Gass 2022-05-13 16:53:39 UTC
Created attachment 134984 [details] [review]
Bug 30751: Add notice printing to automatic_renewals.pl

This patch adds notice preview to the automatic_renewals.pl script.

Test plan
1) Setup automtic renewals and add some checkouts with autorenewal
   enabled
2) Run the automatic_renewals.pl script with verbose mode. (without
   confirm if your testing and don't want to actually send notice or
   perform the renewals)
3) Confirm that you no get notices printed at the end of the output

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>