[Koha-bugs] [Bug 13018] Static fine should apply only once for a given borrower

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 14 13:34:40 CEST 2014


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

Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31967|0                           |1
        is obsolete|                            |

--- Comment #2 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 32295
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32295&action=edit
Bug 13018 : Static fine should be charged only once

Test plan (see Bug 6858 for using staticfine.pl) :

For a user (of a given category and library) with several overdues, launch the
script :

staticfines.pl --category CAT,AMOUNT --library LIB --delay DELAY

Then, check that the user has been charged of AMOUNT if the due date of the
most late item plus the delay is *before* today.

One day later, re-execute the script with the same parameters and check that
the fine has not been charged twice.

Without patch, the fine is charged twice, with patch the user already charged
is skipped (see output in debug mode)

Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list