Koha-clms/members
Owen Leonard a4e804fceb Bug 9917 - Routing list tab on patron account should depend on syspref/permission
The routing list tab displays on patron pages even if the RoutingSerials
preference is OFF. Display of the tab should be conditional on that pref
being turned on.

This patch adds a check for the RoutingSerials preference to the menu
include files and amends the affected scripts to make the variable
available on the pages where those includes are used.

To test, view the following pages with RoutingSerials both on and off.
The routing list tab should be shown and hidden accordingly:

- Circulation
- Patron details
- Patron fines
- Pay fines
- Pay amount/selected (click from the Pay fines page)
- Create manual invoice
- Create manual credit
- Patron circulation history
- Patron modification log
- Patron notices
- Patron routing lists
- Patron statistics
- Patron files
- Patron permissions
- Set patron password
- "Can't delete patron" page (try to delete a patron with checkouts).

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Touches a lot of files, but only a tiny change in each, works well.
Could perhaps be set in C4/Auth instead, but that's no reason not to
sign off

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests and QA script pass.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-03-31 08:52:35 -04:00
..
boraccount.pl Bug 9917 - Routing list tab on patron account should depend on syspref/permission 2013-03-31 08:52:35 -04:00
default_messageprefs.pl Fix FSF address in directory members/ 2010-03-16 20:17:55 -04:00
deletemem.pl Bug 9917 - Routing list tab on patron account should depend on syspref/permission 2013-03-31 08:52:35 -04:00
files.pl Bug 9917 - Routing list tab on patron account should depend on syspref/permission 2013-03-31 08:52:35 -04:00
guarantor_search.pl bug_6253: Unified member Search() 2011-10-19 16:23:02 +13:00
mancredit.pl Bug 9917 - Routing list tab on patron account should depend on syspref/permission 2013-03-31 08:52:35 -04:00
maninvoice.pl Bug 9917 - Routing list tab on patron account should depend on syspref/permission 2013-03-31 08:52:35 -04:00
member-flags.pl Bug 9917 - Routing list tab on patron account should depend on syspref/permission 2013-03-31 08:52:35 -04:00
member-password.pl Bug 9917 - Routing list tab on patron account should depend on syspref/permission 2013-03-31 08:52:35 -04:00
member-picupload.pl Bug 6679 :[SIGNED-OFF] members dir now passes perlcritic tests 2012-04-10 13:44:53 +02:00
member.pl Bug 9407: patrons search should match substrings 2013-01-22 18:56:23 -05:00
memberentry.pl Bug 9484: userid not generated consistently (different editing pages) 2013-03-30 21:54:42 -04:00
members-home.pl Bug 7067 [Follow-up: templates] allow patron self registration via the opac 2012-12-14 08:08:59 -05:00
members-update-do.pl Bug 7067 - OPAC Borrower Self Registration 2012-12-14 08:08:59 -05:00
members-update.pl Bug 7067 - OPAC Borrower Self Registration 2012-12-14 08:08:59 -05:00
moremember.pl Bug 9917 - Routing list tab on patron account should depend on syspref/permission 2013-03-31 08:52:35 -04:00
notices.pl Bug 9917 - Routing list tab on patron account should depend on syspref/permission 2013-03-31 08:52:35 -04:00
patronimage.pl Bug 5385: POD Cleanups (part 1) 2010-11-12 10:06:55 +13:00
pay.pl Bug 9917 - Routing list tab on patron account should depend on syspref/permission 2013-03-31 08:52:35 -04:00
paycollect.pl Bug 9917 - Routing list tab on patron account should depend on syspref/permission 2013-03-31 08:52:35 -04:00
printfeercpt.pl Bug 4440: Revised combined patch to print fee receipts and invoices 2010-11-18 14:33:27 +13:00
printinvoice.pl Bug 7671 : add a real primary key accountlines_id in accountlines 2012-09-15 07:31:58 +02:00
printslip.pl Bug 7563 - Silent print slips using Firefox PlugIn jsPrintSetup and new staff client preference 2012-07-06 18:23:39 +02:00
readingrec.pl Bug 9917 - Routing list tab on patron account should depend on syspref/permission 2013-03-31 08:52:35 -04:00
routing-lists.pl Bug 9917 - Routing list tab on patron account should depend on syspref/permission 2013-03-31 08:52:35 -04:00
setdebar.pl Bug 9953 - When OpacMaintenance breaks lifting debarment 2013-03-30 17:08:27 -04:00
setstatus.pl Bug 9406: ensure confirmation of patron renewal is displayed 2013-03-30 21:22:00 -04:00
statistics.pl Bug 9917 - Routing list tab on patron account should depend on syspref/permission 2013-03-31 08:52:35 -04:00
update-child.pl Bug 5673: test guarantorid consistently 2011-02-03 22:10:24 +13:00