[Koha-bugs] [Bug 30222] Auto_renew_digest still sends every day when renewals are not allowed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 15 16:06:52 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30222

Andrew Fuerste-Henry <andrew at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #131663|0                           |1
        is obsolete|                            |

--- Comment #11 from Andrew Fuerste-Henry <andrew at bywatersolutions.com> ---
Created attachment 131729
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131729&action=edit
Bug 30222: Simplify logic for reporting

This patch adds two new variables:
$wants_email and $wants digest

These are used to simplify checks on whether notices should be sent

To test:
1 - Apply patch
2 - Confirm notices are not sent of pref is 'cron' and send_notcies flag not
set
3 - Confirm notices are sent if pref is cron and send_notices flag is set and
borrower
    does not have preference set for auto renewals
4 - Confirm notices not sent if pref is set to follow messaging preference and
borrower
    does not have preferences set for auto_renewals
5 - Confirm regular notices sent if pref is set to follow messaging preferences
and borrower
    does have the preference set but not digest
6 - Confirm digest notices sent if pref is set to follow messaging preferences
and borrower
    does have the preference set and wants digest

Signed-off-by: Andrew Fuerste-Henry <andrew at bywatersolutions.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list