[Koha] Calculating fines?

George Adams g_adams27 at hotmail.com
Wed Feb 27 10:39:17 NZDT 2008


Kyle, thanks for the reply.  I'll look into that script, although there'd be some value in patrons (and staff) knowing what their fines are going to be before the books are checked in (say, if they're checking their account info from home).  But at this point I'll take anything that works.

Can I infer from your message that none of the 4 scripts I mentioned are working under Koha 3?  I tried all four, but got error messages along the lines of this:

    > export PERL5LIB=/usr/share/koha/lib
    > export KOHA_CONF=/etc/koha/koha-conf.xml
    > /usr/share/koha/bin/fines2.pl
    Can't locate object method "preference" via package "C4::context" (perhaps you forgot to load "C4::context"?) at /usr/share/koha/lib/C4/Overdues.pm line 116.

How is everyone else running Koha calculating fines?  

Thanks again.


> Date: Tue, 26 Feb 2008 15:37:23 -0500
> From: kyle.m.hall at gmail.com
> To: g_adams27 at hotmail.com
> Subject: Re: [Koha] Calculating fines?
> CC: koha at lists.katipo.co.nz
> 
> >  2) Why is a cronjob even necessary?  i.e. why can't Koha look at today's date and the books' due dates, then calculate on the fly what the overdue fines are whenever the patron or librarian pulls up
> >  a record within the OPAC?
> 
> You may want to check out the fines script I wrote for our library. It
> calculates fines for items as they are checked in.
> http://koha-tools.svn.sourceforge.net/viewvc/koha-tools/finesScripts/trunk/
> 
> Kyle
> -- 
> http://www.kylehall.info
> Information Technology
> Crawford County Federated Library System ( http://www.ccfls.org )

_________________________________________________________________
Need to know the score, the latest news, or you need your Hotmail®-get your "fix".
http://www.msnmobilefix.com/Default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20080226/73622f3a/attachment.html


More information about the Koha mailing list