Bug 12591 - CRUD operations for handling notices should all be managed in Koha::Notice::Template
Summary: CRUD operations for handling notices should all be managed in Koha::Notice::T...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-17 04:47 UTC by David Cook
Modified: 2023-07-15 20:16 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.