From 74f6e35c60b46866d758d3dc38999147afa8fdd2 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 1 Apr 2010 15:45:25 +0000 Subject: [PATCH] Replace branch codes in on returns screen with branch names. Signed-off-by: Galen Charlton --- circ/returns.pl | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/circ/returns.pl b/circ/returns.pl index 0ff2407585..e3f6bb2057 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -217,6 +217,7 @@ if ($barcode) { $template->param( title => $biblio->{'title'}, homebranch => $biblio->{'homebranch'}, + homebranchname => GetBranchName( $biblio->{'homebranch'} ), author => $biblio->{'author'}, itembarcode => $biblio->{'barcode'}, itemtype => $biblio->{'itemtype'}, @@ -289,6 +290,7 @@ if ( $messages->{'Wrongbranch'} ){ # case of wrong transfert, if the document wasn't transfered to the right library (according to branchtransfer (tobranch) BDD) if ( $messages->{'WrongTransfer'} and not $messages->{'WasTransfered'}) { + $messages->{'WrongTransfer'} = GetBranchName( $messages->{'WrongTransfer'} ); $template->param( WrongTransfer => 1, TransferWaitingAt => $messages->{'WrongTransfer'}, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl index fef7c57483..71934c9415 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl @@ -171,11 +171,11 @@ function Dopop(link) {
-

Please return "> to

+

Please return "> to

-

This item needs to be transfered to

+

This item needs to be transfered to

Transfer Now?
-- 2.39.5