[Koha-bugs] [Bug 4904] New: Problem with printing fines in overdue notices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 24 11:08:13 CEST 2010


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4904

           Summary: Problem with printing fines in overdue notices
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P5
         Component: Notices
        AssignedTo: henridamien at koha-fr.org
        ReportedBy: katrin.fischer at bsz-bw.de
         QAContact: koha-bugs at lists.koha-community.org
   Estimated Hours: 0.0


In 3.2 there is a new option to print the current fine in overdue notices.

Documentation:
http://git.koha-community.org/gitweb/?p=koha.git;a=commit;h=599887a1855349de6bafe9c1b6ce155ed9be5fb5

While USD works fine, there is a problem with other currencies. I tested with
EUR and GBP:

<item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>,
Barcode: <<items.barcode>> Fine: <fine>USD</fine></item>
= ... Fine: $4.50

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

<item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>,
Barcode: <<items.barcode>> Fine: <fine>EUR</fine></item>
= €1,50

I see the same output in sent mails (Outlook) and in my database (Koha reports
module and MySQL Query Browser)

I have installed Locale::Currency::Format 1.28. Koha Version is 3.01.00.139.

The overdue_notices.pl cronjob prints following error:
Use of uninitialized value $fine in string at
/home/koha/kohaclone/misc/cronjobs/overdue_notices.pl line 666.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list