Bug 33474

Summary: Don't create a notice for patrons without email when UseEmailReceipts is used
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: Fines and feesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31448
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Katrin Fischer 2023-04-10 15:45:50 UTC
With UseEmailReceipts set to "Send" it will always create an entry in the message_queue, even if the user has no email address.

We should not create the notice, when the patron has no email.

I am not sure about falling back to print since the those would probably just be handed out and not mailed to the patron. There is also already a print option in Accounting to create a printed receipt.