[Koha-bugs] [Bug 16849] Move IsDebarred to Koha::Patron->is_debarred

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 6 15:54:50 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16849

--- Comment #4 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Marc Véron from comment #3)
> Regarding /3 Make sure he cannot get a discharge
> 
> I added a manual restriction to a patron, and I can discharge her with and
> without patch.
> Should discharges be blocked by restrictions?

Actually it's a bit tricky :)
The expected behavior is:
Discharge a patron for the first time will debar the patron and generate a
discharge.
Click on discharge again: no new discharge will be generated (the pdf will, but
no new entries in the discharges table).
Remove the debarment and generate a new discharge will create a new entry in
the discharges table.

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


More information about the Koha-bugs mailing list