From f440df3ac48c8efdd7a51a85a1d8e617e70fb09a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 26 Aug 2016 14:05:42 +0100 Subject: [PATCH] Bug 15758: Fix variable name, it's a branchcode --- circ/branchtransfers.pl | 2 -- koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/circ/branchtransfers.pl b/circ/branchtransfers.pl index eb0a4f7..5ed99b9 100755 --- a/circ/branchtransfers.pl +++ b/circ/branchtransfers.pl @@ -128,7 +128,6 @@ if ($barcode) { $item{'ccode'} = $iteminformation->{'ccode'}; $item{'itemcallnumber'} = $iteminformation->{'itemcallnumber'}; $item{'location'} = GetKohaAuthorisedValueLib("LOC",$iteminformation->{'location'}); - $item{'tobrname'} = $tobranchcd; # } $item{counter} = 0; $item{barcode} = $barcode; @@ -160,7 +159,6 @@ foreach ( $query->param ) { $item{'ccode'} = $iteminformation->{'ccode'}; $item{'itemcallnumber'} = $iteminformation->{'itemcallnumber'}; $item{'location'} = GetKohaAuthorisedValueLib("LOC",$iteminformation->{'location'}); - $item{'tobrname'} = $tobcd; push( @trsfitemloop, \%item ); } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt index 171fd67..ede0767 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt @@ -187,7 +187,7 @@ [% trsfitemloo.itemcallnumber %] [% ItemTypes.GetDescription( trsfitemloo.itemtype ) %] [% AuthorisedValues.GetByCode( 'CCODE', trsfitemloo.ccode ) %] - [% Branches.GetName( trsfitemloo.tobrname ) %] + [% Branches.GetName( trsfitemloo.tobrcd ) %] [% END %] -- 2.8.1