Instead of using the KohaAdminEmailAddress system preference, the PREDUE and DUE notices should send 'from' the email address configured in the branch management area, just like Overdues. KohaAdminEmailAddress should be a fallback if no address is configured for the branch. The branch selected should be the same as is selected for overdues. Work to be done: - Find the patch that added the functionality to overdues - Duplicate the functionality for DUE and PREDUE templates
Created attachment 3393 [details] [review] patch
Created attachment 3484 [details] [review] patch Removed debug
Created attachment 4355 [details] [review] Squashed, Signed off commit for fix Takes the previous two attachments, squashes, and adds a minor fix to template toolkit compatibility.
Pushed to master please test
Tested on production system, works. Marking as resolved.