[Koha-patches] [PATCH] [SIGNED-OFF] bug 5497: make all library fields available to circ receipt/slips
Nicole Engard
nengard at bywatersolutions.com
Tue Jan 4 20:38:44 CET 2011
From: Galen Charlton <gmcharlt at gmail.com>
This allows the receipt template to be more readily customized
to include the library's address, phone number, email address, etc.
Signed-off-by: Galen Charlton <gmcharlt at gmail.com>
Signed-off-by: Nicole Engard <nengard at bywatersolutions.com>
---
members/moremember.pl | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/members/moremember.pl b/members/moremember.pl
index aa8165b..605e278 100755
--- a/members/moremember.pl
+++ b/members/moremember.pl
@@ -222,8 +222,7 @@ if ( C4::Context->preference("IndependantBranches") ) {
$samebranch = 1;
}
my $branchdetail = GetBranchDetail( $data->{'branchcode'});
-$data->{'branchname'} = $branchdetail->{branchname};
-
+@{$data}{keys %$branchdetail} = values %$branchdetail; # merge in all branch columns
my ( $total, $accts, $numaccts) = GetMemberAccountRecords( $borrowernumber );
my $lib1 = &GetSortDetails( "Bsort1", $data->{'sort1'} );
--
1.5.6.5
More information about the Koha-patches
mailing list