[Koha-bugs] [Bug 21241] New: Set suggestion notices message_transport_type to sms if patrons has no email but smsalertnumber set

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 17 00:50:38 CEST 2018


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

            Bug ID: 21241
           Summary: Set suggestion notices message_transport_type to sms
                    if patrons has no email but smsalertnumber set
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Notices
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: alexbuckley at catalyst.net.nz
        QA Contact: testopia at bugs.koha-community.org

Presently the message_transport_type of suggestion module notices is hardcoded
to email in C4/Suggestions.pm.

If a patron does not have an email address set, but does have a smsalertnumber
set then they will not receieve their suggestion notices. 

This patch introduces a conditional to C4/Suggestions.pm to check if no patron
email exists AND a patron smsalertnumber does exist then the
message_transport_type of the suggestion notice is set to 'sms'. Otherwise the
message_transport_type is set to 'email'.

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


More information about the Koha-bugs mailing list