Koha/misc
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
..
bin Have zebrasrv log less 2008-08-13 16:37:07 -05:00
cronjobs Bugfix: [1/3] overdue_notices.pl does not process all advertised fields 2010-02-17 06:36:01 -05:00
installer_devel_notes/data/en/marcflavour replacing SHELF_LOC by LOC, as decided with kados on the chat 2007-12-26 14:33:02 -06:00
interface_customization Adding source files for Koha logo and OPAC button background. Bug 3680. 2010-02-02 18:35:25 -05:00
load_testing Adding a couple benchmark scripts 2008-03-20 08:40:48 -05:00
maintenance (bug #3688) add index for acqdate in unimarc and fix maintenance script 2009-10-21 10:06:52 +02:00
migration_tools Bug 4125 - Reformat with perldoc bulkmarcimport.pl doc 2010-02-06 08:06:07 -05:00
release_notes forward-port rest of changes to 3.0.1 release notes 2010-02-08 13:38:01 -05:00
spellcheck_suggest kohabug 2345: bad comparisons pervade reports 2008-07-27 06:11:08 -05:00
translator Update fr-FR preferences 2010-02-16 06:09:50 -05:00
batchCompareMARCvsFrameworks.pl Avoid numeric comparisons with leading zeroes 2009-08-20 21:01:52 -04:00
batchDeleteUnusedSubfields.pl remove some unneeded use statements 2008-03-21 21:46:29 -05:00
batchImportMARCWithBiblionumbers.pl do not let MARC::Batch open MARC files 2008-03-21 21:46:39 -05:00
batchRebuildBiblioTables.pl Update references to batchRebuildBiblioTables 2009-06-15 12:43:22 -05:00
batchRepairMissingBiblionumbers.pl Repair the old repairmissingbiblionumbers script 2009-04-18 15:39:24 -05:00
batchupdateISBNs.pl bugfixing batchupdateISBN.pl 2008-05-20 12:55:06 -05:00
check_sysprefs.pl moving some files and deleting cataloguing/updateitem.pl, the _real_ updateitem.pl is in catalogue/ 2007-12-30 12:09:52 -06:00
commit_biblios_file.pl speed boost: command-line stage and commit biblios 2008-01-03 16:26:24 -06:00
exportauth.pl bug 2615: remove unneeded 'require Exporter' 2008-09-26 09:05:08 -05:00
koha-install-log kohabug 1776 - try to locate Zebra during install 2008-04-22 17:59:00 -05:00
kohalib.pl Still fixing permission and first line of scripts 2008-08-20 20:23:54 -05:00
link_bibs_to_authorities.pl bug 2258 - do not duplicate embedded items 2008-06-18 19:25:07 -05:00
perlmodule_ls.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
perlmodule_rm.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
sax_parser_print.pl Bug 2617: Add strict (and warnings), partial fix. 2009-03-11 08:36:55 -05:00
sax_parser_test.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
stage_biblios_file.pl Add no-replace option to stage_biblios_file.pl, allowing incoming bibs to not overwrite existing bibs. 2008-07-18 13:22:31 -05:00