[Koha-bugs] [Bug 14784] Missing checkin message for debarred patrons when issuing rules 'fine days = 0'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 21 07:48:51 CET 2016


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

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

--- Comment #10 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
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 <barton at bywatersolutions.com>

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


More information about the Koha-bugs mailing list