diff --git a/admin/branch_transfer_limits.pl b/admin/branch_transfer_limits.pl index 4aa41dd85c..f94f666cd9 100755 --- a/admin/branch_transfer_limits.pl +++ b/admin/branch_transfer_limits.pl @@ -64,12 +64,8 @@ for my $thisbranch (sort { $branches->{$a}->{branchname} cmp $branches->{$b}->{b } -# Set the template language for the correct limit type -my $limit_phrase = 'Collection Code'; +# Set the template language for the correct limit type using $limitType my $limitType = C4::Context->preference("BranchTransferLimitsType") || "ccode"; -if ( $limitType eq 'itemtype' ) { - $limit_phrase = 'Item Type'; -} my @codes; my @branchcodes; @@ -143,7 +139,7 @@ $template->param( branchcode_loop => \@branchcode_loop, branchcode => $branchcode, branchname => $branchname, - limit_phrase => $limit_phrase, + limitType => $limitType, ); output_html_with_http_headers $input, $cookie, $template->output; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt index 5c10b0d20d..7e8165f957 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt @@ -70,7 +70,7 @@
Check the boxes for the libraries you accept to checkin items from.
- +