Koha/misc/cronjobs
Chris Nighswonger 599887a185 Bugfix: [1/3] overdue_notices.pl does not process all advertised fields
Note: overdue_notices.pl really needs to be completely re-written.

The script does not process all fields advertised in tools/letter.pl
This patch adds code to process all fields advertised as well as any
from the items table.

It also adds two additional tags for use in the letter templates:

<item></item> which should enclose all fields from the biblio, biblioitems,
and items tables.

<fine></fine> which should be enclosed by the item tag and should
enclose a currency identifier per ISO 4217. If this tag is present with
a proper identifier, the fine for that item will be displayed in the
proper currency format. Note: ISO 4217 changes from time to time therefore
all currencies may not be supported. If you find one that is not
supported, please file a bug with the Locale::Currency::Format author
Tan D Nguyen <tnguyen at cpan doe org>.

An example of the implimentation of these two tags in a notice template
might be like:

The following item(s) is/are currently overdue:

<item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <fine>GBP</fine></item>

Which, assuming two items were overdue, would result in a notice like:

The following item(s) is/are currently overdue:

"A Short History of Western Civilization" by Harrison, John B, 909.09821 H2451, Barcode: 08030003 Fine: £3.50
"History of Western Civilization" by Hayes, Carlton Joseph Huntley, 909.09821 H3261 v.1, Barcode: 08030004 Fine: £3.50

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-17 06:36:01 -05:00
..
holds (bug #3925) fix build_holds_queue.pl 2009-12-20 14:31:39 +01:00
rss
stats monthly_circulation_statistics.pl :Hard Coded date inside 2010-01-28 15:11:56 +01:00
advance_notices.pl Changes to advance_notices.pl cronjob 2009-12-20 14:28:52 +01:00
backup.sh
build_browser_and_cloud.pl Silence extraneous messages when in batch mode on build_browser_and_cloud.pl 2009-09-29 19:13:46 -04:00
cart_to_shelf.pl bug 3481: imporve cart_to_shelf.pl 2009-08-23 13:07:33 -04:00
check-url.pl Bug 2959 - Add a timeout parameter to the URL checker 2010-02-16 06:48:01 -05:00
cleanup_database.pl Created database-tidying cron script 2009-08-02 11:25:44 -04:00
cloud-kw.pl Fixes bug #2875 2008-12-31 09:47:57 -06:00
cloud-sample.conf
create_koc_db.pl Updated create_koc_db.pl 2010-01-15 10:00:36 +01:00
crontab.example Created database-tidying cron script 2009-08-02 11:25:44 -04:00
fines.pl Modified write in fines.pl to silence message unless verbose is set. 2009-08-12 21:31:45 -04:00
j2a.pl
longoverdue.pl Bug 2883 - longoverdue cronjob fails to implement required functionality. 2009-03-05 10:30:29 -06:00
MARC21_parse_test.pl Script to check for corruption of marcxml, and optionally to attempt fix. 2009-05-12 05:21:11 -05:00
notifyMailsOp.pl
overdue_notices.pl Bugfix: [1/3] overdue_notices.pl does not process all advertised fields 2010-02-17 06:36:01 -05:00
printoverdues.sh MT2268 Printing html notices on pdf printers 2010-01-28 15:11:56 +01:00
process_message_queue.pl
runreport.pl Bug 3090 - Add perldoc details 2009-04-08 12:30:53 -05:00
serialsUpdate.pl (bug #3020) forgotten cronjob 2009-05-22 13:46:36 -05:00
services_throttle.pl Minor updates to minor cronjob script. 2008-12-31 09:47:54 -06:00
smsoverdues.pl
zebraqueue_start.pl