https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18532
--- Comment #26 from AgustÃn Moyano <[email protected]> --- Created attachment 98079 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98079&action=edit Bug 18532: set auto_renewals as patron messaging preference This patch adds the "Auto renewals" messaging preference on intranet and OPAC, and adds digest feature to misc/cronjobs/automatic_renewals.pl script. To test: 1. apply patches 2. perl installer/data/mysql/updatedatabase.pl 3. make sure automatic renewals are allowed in circ rules 4. grab a patron and go to details page CHECK => patron's messaging preferences has a "Auto renewals" row 5. change autorenewals digest settings and save 6. go to opac with that same patron to "your messaging" option CHECK => patron's messaging preferences has a "Auto renewals" row, and displays changes made in staff interface. 7. go to patron categories in administration of staff interface and choose a category. CHECK => in "Default messaging preferences for this patron category" has a "Auto renewals" row 8. set "Auto renewals" messaging preference for a patron and check email and digest. 9. check out an item for that patron, and set it as automatic renewal and set due date as your current date and time 10. perl misc/cronjobs/automatic_renewals.pl --send-notices -v SUCCESS => item was renewed, and in message_queue table there now should be message of type AUTO_RENEWALS_DGST for the patron 11. Sign off Signed-off-by: tgoat <[email protected]> Signed-off-by: Kelly McElligott <[email protected]> Signed-off-by: Kelly McElligott <[email protected]> Signed-off-by: Marti Fuerst <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
