[Koha-bugs] [Bug 16463] OPAC discharge page should warn the user about checkouts before they request

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 31 01:30:18 CEST 2017


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

--- Comment #1 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Created attachment 66659
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66659&action=edit
Bug 16463: Replace discharge link with error message if user has checked out
items

To test:
1) Ensure the useDischarge syspref is enabled
2) Check out an item to a borrower
3) Log in to the OPAC as this borrower
4) Click the 'ask for a discharge' link in the nav
5) Click the 'Ask for a discharge' link
6) Notice you cannot be discharged because you have checkouts
7) Apply the patch, click the 'ask for a discharge' link in the nav
8) Notice the link has been replaced with an appropriate error message
9) Attempt to force the discharge URL:
/cgi-bin/koha/opac-discharge?op=request
10) Notice the message and you cannot be discharged.
11) Confirm that when you check in your item, the discharge link shows
again and works as expected.

Sponsored-by: Catalyst IT

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


More information about the Koha-bugs mailing list