diff --git a/circ/returns.pl b/circ/returns.pl index 7e601a4716..1e221eec5e 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -272,9 +272,7 @@ if ($barcode) { $template->param( title => $biblio->{'title'}, homebranch => $biblio->{'homebranch'}, - homebranchname => GetBranchName( $biblio->{'homebranch'} ), returnbranch => $returnbranch, - returnbranchname => GetBranchName( $returnbranch ), author => $biblio->{'author'}, itembarcode => $biblio->{'barcode'}, itemtype => $biblio->{'itemtype'}, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 1b2aec6f30..a831c80b9c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -277,7 +277,7 @@ $(document).ready(function () { [% IF ( transfer ) %]
-

Please return [% title or "item" |html %] to [% returnbranchname %]
( Print slip )

+

Please return [% title or "item" |html %] to [% Branches.GetName( returnbranchname ) %]
( Print slip )

[% IF ( soundon ) %] @@ -289,7 +289,7 @@ $(document).ready(function () { [% IF ( soundon ) %] [% END %] -

This item needs to be transferred to [% returnbranchname %]

+

This item needs to be transferred to [% Branches.GetName( returnbranchname ) %]

Transfer now?
[% IF itemnumber %]