[Koha-bugs] [Bug 2720] Fines that debar automatically, should undebar automatically when paid.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 14 15:28:01 CEST 2012


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

Kyle M Hall <kyle.m.hall at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kyle.m.hall at gmail.com

--- Comment #2 from Kyle M Hall <kyle.m.hall at gmail.com> ---
Right now, Koha debars a borrower when borrowers.debarred is set to a date (
which is the date the borrower's debarment will expire ). An optional comment
is stored in borrowers.debarredocmment.

Since there are numerous reasons for debarment, not just fines, but overdues,
or a manual debarment, I imagine the best way to go about this is to add a
table borrower_debarment which would have the fields borrowernumber, reason,
date, comment. Reason would be an enumerated data type such as fines, overdues,
and manual.

When a borrowers fines go over the limit, a debarment for the borrower would go
into this table. The same for overdues and manual debarment. 

If a borrower has a least one row in this table, they will be debarred.

Paying fines will automatically remove a fines debarment, and returning overdue
books will automatically remove an overdues debarment.

This would require modifying all code that involves debarring, in particular
C4::Overdues::CheckBorrowerDebarred, the borrower editing page, and the
circulation pages.

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


More information about the Koha-bugs mailing list