Bug 12591

Summary: CRUD operations for handling notices should all be managed in Koha::Notice::Template
Product: Koha Reporter: David Cook <dcook>
Component: NoticesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
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:

Description David Cook 2014-07-17 04:47:24 UTC
Currently, all the CRUD subroutines for Notices/Letters occur in letters.pl, when they should be handled in C4::Letters or a new module in the Koha namespace.

I always wondered where the subs for Letters CRUD were...and just happened to stumble across them today. 

Perhaps Chris will be doing something with this with his Koha::Email module, but I don't know.
Comment 1 David Cook 2022-12-06 06:28:05 UTC
Closing this due to age and lack of a concrete solution
Comment 2 Katrin Fischer 2022-12-07 00:05:33 UTC
Isn't the solution to have a proper Koha namespace library for the letters?
Comment 3 Katrin Fischer 2023-07-15 20:16:13 UTC
This is not solved completely as there is still some SQL in letter.pl, but certainly much improved with Koha::Notice::Template.