599887a185
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> |
||
---|---|---|
.. | ||
holds | ||
rss | ||
stats | ||
advance_notices.pl | ||
backup.sh | ||
build_browser_and_cloud.pl | ||
cart_to_shelf.pl | ||
check-url.pl | ||
cleanup_database.pl | ||
cloud-kw.pl | ||
cloud-sample.conf | ||
create_koc_db.pl | ||
crontab.example | ||
fines.pl | ||
j2a.pl | ||
longoverdue.pl | ||
MARC21_parse_test.pl | ||
notifyMailsOp.pl | ||
overdue_notices.pl | ||
printoverdues.sh | ||
process_message_queue.pl | ||
runreport.pl | ||
serialsUpdate.pl | ||
services_throttle.pl | ||
smsoverdues.pl | ||
zebraqueue_start.pl |