Koha/C4
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
..
AuthoritiesMarc
Barcodes bug 2509: fix file permissions 2008-08-21 18:55:02 -05:00
Cache Modules for caching - C4::Cache is the base class, C4::Cache::Memcached and C4::Cache::FastMemcached are subclasses 2009-09-06 09:23:32 -04:00
ClassSortRoutine bug 2505: enable warnings in call number normalization modules 2009-06-07 20:09:23 -05:00
Creators Bugfix: Uncommenting pagination code 2010-02-09 11:03:18 -05:00
External bug 3204: tweaks to AWS request signing 2009-08-13 09:29:57 -04:00
Form bug 3222: moved messaging preference editing 2009-05-22 13:20:56 -05:00
Heading bug 2479: allow MARC21 bib 440 to link to authorities 2008-08-06 14:49:55 -05:00
ILSDI fixed remaining calls to GetMember() that used old argument style 2010-02-05 08:24:05 -05:00
Labels Removing depricated file from the C4::Labels module. 2010-02-08 20:54:40 -05:00
Members Adding a function in C4/Members/Attributes.pm 2009-09-30 11:30:37 +02:00
Output New framework for AJAX services 2009-05-14 07:29:18 -05:00
Patroncards Bringing label, patroncard, and creator modules into conformity with the rest of C4 style. 2010-02-08 20:54:34 -05:00
Reports bug 1542: remove now unneeded parameter 2010-02-14 18:31:58 -05:00
Search FRBR: added OPAC search result grouping option 2008-02-11 16:35:17 -06:00
Serials fix POD errors reported by xt/author/podcorrectness.t 2010-02-03 15:57:31 -05:00
SIP Bug 3723 Correct return of Institution in Patron Info Resp 2010-02-08 21:22:29 -05:00
tests
VirtualShelves Changes to further work on Bug 3550, Use GetRecordValue to get the subtitle 2010-02-14 14:39:42 -05:00
Accounts.pm Modifying Members : Add Mod and GetMember 2009-09-30 11:29:23 +02:00
Acquisition.pm Bug 4133 Ensure that orders have a valid quantity received 2010-02-08 11:21:48 -05:00
Auth.pm Additional changes to fix Bug 3920, XSLTdetailDisplay syspref controls both OPAC and Intranet 2010-02-10 22:36:25 -05:00
Auth_with_cas.pm Added debug mode for CAS warn messages 2009-11-23 16:34:31 +01:00
Auth_with_ldap.pm Adding Extended Attributes management to Auth_with_LDAP 2010-01-20 22:29:10 +01:00
AuthoritiesMarc.pm Bug 2505 Enabled warnings in authorities/* 2010-02-08 21:47:53 -05:00
BackgroundJob.pm C4 - BEGIN blocks and 1; __END__ for modules 2008-01-07 20:02:18 -06:00
Barcodes.pm bug 2509: fix file permissions 2008-08-21 18:55:02 -05:00
Biblio.pm Revert "Populated MARC 952$2 field for serials-edit.pl" 2010-02-02 19:26:33 -05:00
Bookseller.pm [replace previous] fix for 3612 (bookseller improvements) 2009-09-30 11:30:34 +02:00
Boolean.pm Using warn instead of die 2009-09-30 11:30:07 +02:00
Branch.pm Fix for bug 2885, now an error message is thrown instead of a silent fail 2010-02-14 20:29:44 -05:00
Breeding.pm bug 2505: enable warnings in C4::Breeding 2009-06-07 20:09:25 -05:00
Budgets.pm Fix pod markup errors in C4/Budgets.pm 2010-02-03 15:12:26 -05:00
Cache.pm Modules for caching - C4::Cache is the base class, C4::Cache::Memcached and C4::Cache::FastMemcached are subclasses 2009-09-06 09:23:32 -04:00
Calendar.pm Bug 3268: Adds the ability to edit the description of a holiday. 2009-06-03 13:26:40 -05:00
Category.pm remove editor settings 2009-02-04 14:47:42 -06:00
Charset.pm fix POD errors reported by xt/author/podcorrectness.t 2010-02-03 15:57:31 -05:00
Circulation.pm UpdateDataBase for smart-rules modification 2009-09-30 11:22:21 +02:00
ClassSortRoutine.pm bug 2505: enable warnings in call number normalization modules 2009-06-07 20:09:23 -05:00
ClassSource.pm bug 2505: enable warnings in call number normalization modules 2009-06-07 20:09:23 -05:00
Context.pm fix POD errors reported by xt/author/podcorrectness.t 2010-02-03 15:57:31 -05:00
Contract.pm [MT1234] Huge rewritte to use the API instead of hardcoded SQL in the script 2010-01-28 15:11:44 +01:00
Creators.pm Bringing label, patroncard, and creator modules into conformity with the rest of C4 style. 2010-02-08 20:54:34 -05:00
Csv.pm MT2116: Addons to the CSV export 2010-01-28 15:11:54 +01:00
Dates.pm Dates : improvements string recognition 2010-01-28 15:11:47 +01:00
Debug.pm
Heading.pm
ImportBatch.pm Bug 3930 link to biblio was missing in manage staged marc import 2009-12-20 14:31:43 +01:00
Input.pm mostly reindenting 2009-09-30 11:30:19 +02:00
Installer.pm Enhancement: Make web installer log errors to error log 2010-01-15 10:00:36 +01:00
ItemCirculationAlertPreference.pm remove editor settings 2009-02-04 14:47:42 -06:00
Items.pm bug Fixing : 3640 2010-02-10 08:57:00 -05:00
ItemType.pm remove editor settings 2009-02-04 14:47:42 -06:00
Koha.pm Bugfix: Stop C4::Koha from filling the log with pesky warns 2010-02-02 19:16:06 -05:00
Labels.pm Bringing label, patroncard, and creator modules into conformity with the rest of C4 style. 2010-02-08 20:54:34 -05:00
Languages.pm graceful degradation if memcached option is not configured in koha-conf.xml 2009-08-24 07:53:59 -04:00
Letters.pm Bugfix: [1/3] overdue_notices.pl does not process all advertised fields 2010-02-17 06:36:01 -05:00
Log.pm bug 2505: enable warnings in C4::Log 2009-06-07 20:09:24 -05:00
Maintainance.pm
Matcher.pm Code Improvement : C4/Matcher.pm 2009-10-05 07:48:52 +02:00
Members.pm corrected POD for GetMember() 2010-02-05 08:24:11 -05:00
Message.pm remove editor settings 2009-02-04 14:47:42 -06:00
NewsChannels.pm bug 3303: removed references to news_channels* 2009-06-07 20:09:18 -05:00
Output.pm Bug 3797, second part of the patch, extending output_html_with_http_headers to take a status parameter (optional) 2010-02-10 14:11:53 -05:00
Overdues.pm fixing overdue checking (today is not late) 2009-11-10 22:23:48 +01:00
Patroncards.pm Bringing label, patroncard, and creator modules into conformity with the rest of C4 style. 2010-02-08 20:54:34 -05:00
Print.pm Bug 2900: fix GetPendingIssues. 2009-01-08 11:08:27 -06:00
Record.pm MT2116 : Addons to the CSV Export 2010-01-28 15:11:55 +01:00
Reports.pm removing comments 2009-05-28 17:32:39 -05:00
Reserves.pm Fixing bug with CanBookBeReserved ... rules for default borrower codes were being ignored 2009-12-20 14:31:37 +01:00
Review.pm bug 2505: turn on warnings in seven modules 2009-06-07 20:09:16 -05:00
Ris.pm Adding RIS and bibtex export 2009-09-30 11:22:22 +02:00
RotatingCollections.pm Rotating Collections Fixes 2010-02-02 19:22:05 -05:00
Scheduler.pm Bug 2400 [2/18]: fixing pod syntax in C4/Scheduler.pm 2008-08-12 19:39:23 -05:00
Scrubber.pm Unescape Comment, now that we trust Scrubber to block bad markup. 2008-05-29 06:30:51 -05:00
Search.pm BZ4116: results from cataloging search is different from advanced search results 2010-02-11 06:31:57 -05:00
Serials.pm Bug 4083 subroutine HasItems needs to be exported 2010-02-02 18:46:05 -05:00
Service.pm Add new system preferences editor 2009-09-06 23:02:47 -06:00
SMS.pm Bug 2400 [5/18]: fixing pod syntax in C4/SMS.pm 2008-08-12 19:40:03 -05:00
SQLHelper.pm Bug Fixing Search By initials incorrect 2010-01-28 15:11:55 +01:00
Stats.pm bug 2505: turn on warnings in seven modules 2009-06-07 20:09:16 -05:00
Suggestions.pm Suggestions.pm :Changing $$ notation to $ -> 2010-01-28 15:11:51 +01:00
Tags.pm bugfix for ??? 2009-09-30 11:30:14 +02:00
UploadedFile.pm C4 - BEGIN blocks and 1; __END__ for modules 2008-01-07 20:02:18 -06:00
Utils.pm Big LDAP changes, module test for Context.pm, still more yet to come. 2007-12-04 17:27:06 -06:00
VirtualShelves.pm (bug #4004) disallow access for non-logged in users in opac 2010-01-28 15:11:52 +01:00
XISBN.pm Syndetics and Amazon bugfix enhancements 2009-03-27 17:23:51 -05:00
XSLT.pm Removing noisy warn in C4/XSLT.pm 2010-02-08 07:39:50 -05:00
Z3950.pm Z3950.pm - BEGIN block VERSION and vars related to export. 2008-01-07 20:02:50 -06:00