Bug 16063

Summary: logic from overdue_notice.pl should be moved into a module
Product: Koha Reporter: Barton Chittenden <barton>
Component: Command-line UtilitiesAssignee: Galen Charlton <gmcharlt>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: koha, robin
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26884
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on:    
Bug Blocks: 26884    

Description Barton Chittenden 2016-03-14 14:16:41 UTC
Large parts of the logic from overdue_notice.pl can and should be moved into a module. This would

a) Allow for unit tests
b) Allow the code to be shared with other parts of Koha
c) De-couple the notice generation and patron debarment functions of overdue_notice.pl
d) Fix Bug 2389 - overdue_notices.pl needs a test mode