diff --git a/circ/circulation.pl b/circ/circulation.pl
index 7ca62f20ac..ca0862bb7e 100755
--- a/circ/circulation.pl
+++ b/circ/circulation.pl
@@ -721,6 +721,7 @@ $template->param(
activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
SuspendHoldsIntranet => C4::Context->preference('SuspendHoldsIntranet'),
AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'),
+ RoutingSerials => C4::Context->preference('RoutingSerials'),
);
# save stickyduedate to session
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc
index f2cd877b6a..fb283eca44 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc
@@ -69,7 +69,7 @@
[% IF ( CAN_user_updatecharges ) %]
[% IF ( finesview ) %]
[% ELSE %][% END %]Fines
[% END %]
- [% IF ( routinglistview ) %][% ELSE %][% END %]Routing Lists
+ [% IF ( RoutingSerials ) %][% IF ( routinglistview ) %][% ELSE %][% END %]Routing lists[% END %]
[% IF ( intranetreadinghistory ) %]
[% IF ( readingrecordview ) %][% ELSE %][% END %]Circulation history
[% END %]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt
index ced2858671..abcdccdbb2 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt
@@ -72,6 +72,7 @@ in the global namespace %]
[% IF ( CAN_user_updatecharges ) %]
[% IF ( finesview ) %][% ELSE %][% END %]Fines
[% END %]
+ [% IF ( RoutingSerials ) %][% IF ( routinglistview ) %][% ELSE %][% END %]Routing lists[% END %]
[% IF ( intranetreadinghistory ) %][% IF ( readingrecordview ) %][% ELSE %][% END %]Circulation history[% END %]
[% IF ( CAN_user_parameters ) %][% IF ( logview ) %][% ELSE %][% END %]Modification log[% END %]
[% IF ( EnhancedMessagingPreferences ) %]
diff --git a/members/boraccount.pl b/members/boraccount.pl
index eebc8d3a44..48e26209f6 100755
--- a/members/boraccount.pl
+++ b/members/boraccount.pl
@@ -129,6 +129,7 @@ $template->param(
reverse_col => $reverse_col,
accounts => $accts,
activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
+ RoutingSerials => C4::Context->preference('RoutingSerials'),
);
output_html_with_http_headers $input, $cookie, $template->output;
diff --git a/members/deletemem.pl b/members/deletemem.pl
index a813cd68d7..7a78ead7b2 100755
--- a/members/deletemem.pl
+++ b/members/deletemem.pl
@@ -104,6 +104,7 @@ if ($countissues > 0 or $flags->{'CHARGES'} or $data->{'borrowernumber'}){
branchcode => $bor->{'branchcode'},
branchname => GetBranchName($bor->{'branchcode'}),
activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
+ RoutingSerials => C4::Context->preference('RoutingSerials'),
);
if ($countissues >0) {
$template->param(ItemsOnIssues => $countissues);
diff --git a/members/files.pl b/members/files.pl
index 84bc41edd4..77d7be5e27 100755
--- a/members/files.pl
+++ b/members/files.pl
@@ -104,6 +104,7 @@ else {
$template->param(
categoryname => $data->{'description'},
branchname => GetBranchName($data->{'branchcode'}),
+ RoutingSerials => C4::Context->preference('RoutingSerials'),
);
if (C4::Context->preference('ExtendedPatronAttributes')) {
diff --git a/members/mancredit.pl b/members/mancredit.pl
index d8e7f6afdd..b011d1a10b 100755
--- a/members/mancredit.pl
+++ b/members/mancredit.pl
@@ -108,6 +108,7 @@ if (C4::Context->preference('ExtendedPatronAttributes')) {
branchname => GetBranchName($data->{'branchcode'}),
is_child => ($data->{'category_type'} eq 'C'),
activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
+ RoutingSerials => C4::Context->preference('RoutingSerials'),
);
output_html_with_http_headers $input, $cookie, $template->output;
}
diff --git a/members/maninvoice.pl b/members/maninvoice.pl
index 5bd756a06d..633153530e 100755
--- a/members/maninvoice.pl
+++ b/members/maninvoice.pl
@@ -135,6 +135,7 @@ if (C4::Context->preference('ExtendedPatronAttributes')) {
branchname => GetBranchName($data->{'branchcode'}),
is_child => ($data->{'category_type'} eq 'C'),
activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
+ RoutingSerials => C4::Context->preference('RoutingSerials'),
);
output_html_with_http_headers $input, $cookie, $template->output;
}
diff --git a/members/member-flags.pl b/members/member-flags.pl
index ca8c9d0860..d1c165c1c9 100755
--- a/members/member-flags.pl
+++ b/members/member-flags.pl
@@ -192,6 +192,7 @@ $template->param(
loop => \@loop,
is_child => ($bor->{'category_type'} eq 'C'),
activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
+ RoutingSerials => C4::Context->preference('RoutingSerials'),
);
output_html_with_http_headers $input, $cookie, $template->output;
diff --git a/members/member-password.pl b/members/member-password.pl
index ebba80ac97..bed8fc44c9 100755
--- a/members/member-password.pl
+++ b/members/member-password.pl
@@ -121,7 +121,8 @@ if (C4::Context->preference('ExtendedPatronAttributes')) {
destination => $destination,
is_child => ($bor->{'category_type'} eq 'C'),
activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
- minPasswordLength => $minpw
+ minPasswordLength => $minpw,
+ RoutingSerials => C4::Context->preference('RoutingSerials'),
);
if( scalar(@errors )){
diff --git a/members/moremember.pl b/members/moremember.pl
index e6f80dd48e..df6a6640b4 100755
--- a/members/moremember.pl
+++ b/members/moremember.pl
@@ -424,6 +424,7 @@ $template->param(
activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'),
SuspendHoldsIntranet => C4::Context->preference('SuspendHoldsIntranet'),
+ RoutingSerials => C4::Context->preference('RoutingSerials'),
);
$template->param( $error => 1 ) if $error;
diff --git a/members/notices.pl b/members/notices.pl
index 51a843c2f6..16935d96fd 100755
--- a/members/notices.pl
+++ b/members/notices.pl
@@ -69,6 +69,7 @@ $template->param(
branchname => GetBranchName($borrower->{'branchcode'}),
categoryname => $borrower->{'description'},
activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
+ RoutingSerials => C4::Context->preference('RoutingSerials'),
);
output_html_with_http_headers $input, $cookie, $template->output;
diff --git a/members/pay.pl b/members/pay.pl
index 4b918aefd9..7dbe3eb138 100755
--- a/members/pay.pl
+++ b/members/pay.pl
@@ -100,7 +100,10 @@ for (@names) {
}
}
-$template->param( activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne '') );
+$template->param(
+ activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
+ RoutingSerials => C4::Context->preference('RoutingSerials'),
+);
add_accounts_to_template();
diff --git a/members/paycollect.pl b/members/paycollect.pl
index d66702ec72..9828fb3acb 100755
--- a/members/paycollect.pl
+++ b/members/paycollect.pl
@@ -141,6 +141,7 @@ $template->param(
borrower => $borrower,
total => $total_due,
activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
+ RoutingSerials => C4::Context->preference('RoutingSerials'),
);
output_html_with_http_headers $input, $cookie, $template->output;
diff --git a/members/readingrec.pl b/members/readingrec.pl
index ba9414990f..d41e3f9818 100755
--- a/members/readingrec.pl
+++ b/members/readingrec.pl
@@ -140,6 +140,7 @@ $template->param(
loop_reading => $issues,
activeBorrowerRelationship =>
( C4::Context->preference('borrowerRelationship') ne '' ),
+ RoutingSerials => C4::Context->preference('RoutingSerials'),
);
output_html_with_http_headers $input, $cookie, $template->output;
diff --git a/members/routing-lists.pl b/members/routing-lists.pl
index 25b0f85d4f..d70c1bc996 100755
--- a/members/routing-lists.pl
+++ b/members/routing-lists.pl
@@ -125,6 +125,7 @@ $template->param(
country => $borrower->{'country'},
phone => $borrower->{'phone'} || $borrower->{'mobile'},
cardnumber => $borrower->{'cardnumber'},
+ RoutingSerials => C4::Context->preference('RoutingSerials'),
);
my ($picture, $dberror) = GetPatronImage($borrower->{'cardnumber'});
diff --git a/members/statistics.pl b/members/statistics.pl
index d48cdde4cc..75a30a8a92 100755
--- a/members/statistics.pl
+++ b/members/statistics.pl
@@ -104,6 +104,7 @@ $template->param(
count_total_issues_returned => $count_total_issues_returned,
count_total_precedent_state => $count_total_precedent_state,
count_total_actual_state => $count_total_actual_state,
+ RoutingSerials => C4::Context->preference('RoutingSerials'),
);
output_html_with_http_headers $input, $cookie, $template->output;
diff --git a/tools/viewlog.pl b/tools/viewlog.pl
index 29386b3273..e48aaef4c5 100755
--- a/tools/viewlog.pl
+++ b/tools/viewlog.pl
@@ -96,6 +96,7 @@ if ($src eq 'circ') { # if we were called from circulation, use the circulatio
email => $data->{'email'},
branchcode => $data->{'branchcode'},
branchname => GetBranchName($data->{'branchcode'}),
+ RoutingSerials => C4::Context->preference('RoutingSerials'),
);
}