Koha/members
Aleisha 853d3cfe4d Bug 15823: Can still access patron discharge slip without having the syspref on
EDIT: Fix for OPAC side
EDIT: Comment 10
EDIT: Merge conflicts

To test:
1) Ensure syspref useDischarge is disabled
2) Go to /cgi-bin/koha/members/discharge.pl?borrowernumber=X&discharge=1
3) Validate that you are still able to generate a discharge slip for this patron
4) Apply patch and refresh page
5) Confirm that you are redirected to the circulation.pl page for the user and that an error message is there.
OPAC SIDE
6) Go to the OPAC
7) Go to /cgi-bin/koha/opac-discharge.pl
8) Confirm you get a message saying discharges are disabled
9) Go to /cgi-bin/koha/opac-discharge.pl?op=request
10) Confirm you see same message

Sponsored-by: Catalyst IT

Followed test plan, works as expected (both staff client and OPAC).
Re-tested, works OK.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2016-05-06 04:20:48 +00:00
..
boraccount.pl
default_messageprefs.pl
deletemem.pl
discharge.pl Bug 15823: Can still access patron discharge slip without having the syspref on 2016-05-06 04:20:48 +00:00
discharges.pl
files.pl Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
guarantor_search.pl
mancredit.pl
maninvoice.pl
member-flags.pl Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
member-password.pl
member.pl Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
memberentry.pl Bug 16154: Fix some other occurrences 2016-04-26 23:16:44 +00:00
members-home.pl
members-update-do.pl
members-update.pl
mod_debarment.pl Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
moremember.pl Bug 14497 - Add warning to patron details page if patron's fines exceed noissuescharge 2016-04-29 12:15:01 +00:00
nl-search.pl Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
notices.pl
patronimage.pl
pay.pl
paycollect.pl Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
print_overdues.pl
printfeercpt.pl
printinvoice.pl
printslip.pl
purchase-suggestions.pl
readingrec.pl
routing-lists.pl Bug 16429 - Fix root problem 2016-05-05 10:20:44 +00:00
setstatus.pl
statistics.pl
summary-print.pl
update-child.pl