https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14784
Katrin Fischer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #49283|0 |1 is obsolete| | --- Comment #10 from Katrin Fischer <[email protected]> --- Created attachment 49377 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=49377&action=edit Bug 14784 : Fix checkin message for debarred patrons If there is an overdue but finedays equals 0, then we have to see if the patron is debarred and if he was forever debarred. So we have to go through the same code a if it was a debarred patron with no overdue. Test plan : 1)Apply patch 2)Select an existing patron that doesn't have an oustanding fine 3)Check out a book for this patron 4)Click the "Restriction" tab 5)Click "Add manual restriction" 6)Write any comment and leave expiration date blank 7)Validate text on patron's checkout page: "Cannot check out! Restricted: Patron's account is restricted with the explanation:" 8)Check in the book that you checked out at step 2 9)Validate the warning message: "Check in message 013880: Heart health for Canadians : Reminder: Patron has an indefinite restriction." Then you can redo these steps and change the date at step 6 to see different messages at step 8. Signed-off-by: barton <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
