Bug 37214

Summary: We should migrate to Koha::Patron->queue_notice wherever possible
Product: Koha Reporter: Martin Renvoize (ashimema) <martin.renvoize>
Component: NoticesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 21781, 15986    
Bug Blocks:    

Description Martin Renvoize (ashimema) 2024-06-27 15:05:35 UTC
The 'queue_notice' method introduced to Koha::Patron in bug 15986 introduces a wrapper around GetPreparedLetter and EnqueueLetter that will appropriately pick the message transport type and for the patron based on their own preference and personal data provided.

We should try to use this method consistently throughout Koha rather than manually setting these in different area's of the codebase.