[Koha-bugs] [Bug 8251] Patrons are systematically debarred at checkin

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 5 15:49:02 CEST 2012


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

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

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

--- Comment #41 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 11979
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11979&action=edit
Bug 8251 Do not try to debar patrons if returns are not overdue

If a period of suspension is configured in the issuing rules
a calculation to debar the patron was called on all returns
It should be limited to overdue returns

Renamed _FixFineDaysOnReturn subroutine to _debar_user_on_return
which is more descriptive of its purpose
Removed some unnecessary or duplicated processing
Changed visibility of $today so it didnt need
calculating twice
Removed declaration of a datedue variable that is
never used

Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

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


More information about the Koha-bugs mailing list