Koha-clms/members
Aleisha 8e91b20fa7 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>
(cherry picked from commit 853d3cfe4d)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
2016-05-16 09:22:05 +02:00
..
boraccount.pl 15623 - Spelling mistake in boraccount.pl Test - Search for writen, if not found fix is correct 2016-01-29 16:02:00 +01:00
default_messageprefs.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
deletemem.pl Bug 14544: Get rid of GetSomeShelfNames 2015-11-05 09:58:02 -03:00
discharge.pl Bug 15823: Can still access patron discharge slip without having the syspref on 2016-05-16 09:22:05 +02:00
discharges.pl Bug 8007: Discharge management 2015-04-30 12:33:56 -03:00
files.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
guarantor_search.pl Bug 15109: Make name the default sort order for all patron searches 2015-11-17 09:49:21 -03:00
mancredit.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
maninvoice.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
member-flags.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
member-password.pl Bug 15542 [QA Followup] - Tidy member-password.pl 2016-01-25 13:04:46 +01:00
member.pl Bug 15930: Make patron searches defaulting on 'contain' 2016-04-22 12:21:14 +02:00
memberentry.pl Bug 15619: Spelling mistake in memberentry.pl 2016-01-29 15:59:49 +01:00
members-home.pl Bug 12525: FIX patron lists dropdown is empty 2015-09-07 11:49:03 -03:00
members-update-do.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
members-update.pl Bug 10904: (QA followup) Use branch limit if either IndependentBranches or IndependentBranchesPatronModifications is enabled 2015-11-02 12:34:46 -03:00
mod_debarment.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
moremember.pl Bug 15928 - Show unlinked guarantor 2016-04-14 15:17:06 +02:00
nl-search.pl Bug 15163: Do not erase patron attributes if limited to another library 2016-03-23 07:38:54 +01:00
notices.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
patronimage.pl Bug 14566: Fix permissions in patronimage.pl 2015-08-24 10:29:49 -03:00
pay.pl Bug 15746: Same fix for "write off" 2016-02-26 15:46:01 +01:00
paycollect.pl Bug 16054: Fix variable scope error in paycollect.pl 2016-03-17 08:53:28 +01:00
print_overdues.pl Bug 12933: (QA followup) Rename GetOverdues to GetOverduesForPatron 2015-11-04 12:41:29 -03:00
printfeercpt.pl Bug 15622 - Spelling mistake in printfeercpt.pl writen -> written 2016-02-26 16:40:44 +01:00
printinvoice.pl Bug 15621: Spelling mistake in printinvice.pl 2016-01-29 16:01:58 +01:00
printslip.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
purchase-suggestions.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
readingrec.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
routing-lists.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
setstatus.pl Bug 14910: Redirect to the circulation module after a renew 2015-10-02 14:22:16 -03:00
statistics.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
summary-print.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
update-child.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00