Koha-clms/circ
Andrew Moore 8ae66932cd Bug 2274 [3/5]: consolidating overdue notice cronjobs into one
This patch adds the misc/cronjobs/overdue_notices.pl script that is intended to replace
overduenotices.pl, overduenotices-30.pl and overduenotices-csv.pl. It adds messages to
the message_queue to be sent later (by process_message_queue.pl). It also marks borrowers
as debarred if their issues become too overdue.

It is intended to be run from cron nightly with usage something like:
0 2 * * * misc/cronjobs/overdue_notices.pl

C4::Members:
 - improved documentation on ModMember
 - made ModMember return a useful value (the return value of the database call)
 - added a DebarMember method
 - adding t/lib/KohaTest/Members/DebarMember.pm to test ModMember

misc/cronjobs/overdue_notices.pl
 - designed to replace overduenotices.pl, overduenotices-30.pl, and overduenotice-csv

Changes to C4::Letters:
 - EnqueueLetter now lets you pass in to_address and from_address which can override defaults
 - _send_message_by_email pays attention to these defaults.
 - now handles attachments with MIME::Lite

C4::Overdues
 - added GetBranchcodesWithOverdueRules
   - added t/lib/KohaTest/Overdues/GerBranchcodesWithOverdueRules.pm to test that.

circ/overdue.pl
 - replaced call to obsolete overduenotices-csv.pl with call to overdue_notices.pl

KohaTest:
 - added three helper methods: random_phone, random_email, random_ip
   - these can be used to populate example records
 - you can now pass an optional lengh to random_string

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-10 09:10:46 -05:00
..
billing.pl more XHTML corrections for new circ reports 2008-04-03 14:42:21 -05:00
bookcount.pl created old_issues and old_reserves tables 2008-03-15 08:36:31 -05:00
branchoverdues.pl fix errors with using today's date and format_date 2008-03-15 08:37:21 -05:00
branchtransfers.pl Fix for bug 1400, some variables not being passed to the branch transfers 2008-01-09 14:49:59 -06:00
circulation-home.pl Adding new circulation-home, what we ultimately hope to be a "dashboard" interface for circulation functions. circulation-home.pl was created by copy-and-paste, so it should be reviewed. Circulation sub-pages' breadcrumb links have been updated to point to circulation-home. 2007-10-18 16:26:04 -05:00
circulation.pl More changes to update-child process. Many scripts missing necessary data for checking how to process an update-child request. Also cleaning up update-child.tmpl for formatting. Minor text change (translation problem?) 2008-07-08 18:09:38 -05:00
hold-transfer-slip.pl remove some warns 2008-06-17 14:05:49 -05:00
overdue.pl Bug 2274 [3/5]: consolidating overdue notice cronjobs into one 2008-07-10 09:10:46 -05:00
pendingreserves.pl bugfixing pending reserves 2008-05-13 17:40:30 -05:00
reserveratios.pl more XHTML corrections for new circ reports 2008-04-03 14:42:21 -05:00
returns.pl display itemnote on check-out (added, was not here) & check-in (red-ed, was already here) 2008-06-03 06:04:14 -05:00
selectbranchprinter.pl Sort dropdowns for libraries by name instead of branchcode in several staff-side interfaces. 2008-06-02 00:50:33 -05:00
stats.pl circ/stats.pl - debugify warnings 2008-01-03 20:19:22 -06:00
transferstoreceive.pl bug 2171: remove cancel transfer 2008-07-04 09:22:19 -05:00
view_holdsqueue.pl Circulate permission misspelling 2008-06-18 19:46:13 -05:00
waitingreserves.pl Adding checks for dateformat preference so that tablesorter script can be passed an extra parameter for proper sorting of metric dates (Bug 2089, dates & table ordering with jquery) 2008-05-12 10:06:32 -05:00
ysearch.pl Fix an encoding issue on circulation autocompletion 2008-05-20 12:55:08 -05:00