Bug 8009: Item descriptive data not populated on pay.pl
GetBorNotifyAcctRecord was not populating the {title} element of the hash, which pay.tt will use. Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
parent
b4a1662889
commit
b023de813b
1 changed files with 5 additions and 0 deletions
|
@ -1185,6 +1185,11 @@ sub GetBorNotifyAcctRecord {
|
|||
$sth->execute( $borrowernumber, $notifyid );
|
||||
my $total = 0;
|
||||
while ( my $data = $sth->fetchrow_hashref ) {
|
||||
if ( $data->{itemnumber} ) {
|
||||
my $biblio = GetBiblioFromItemNumber( $data->{itemnumber} );
|
||||
$data->{biblionumber} = $biblio->{biblionumber};
|
||||
$data->{title} = $biblio->{title};
|
||||
}
|
||||
$acctlines[$numlines] = $data;
|
||||
$numlines++;
|
||||
$total += int(100 * $data->{'amountoutstanding'});
|
||||
|
|
Loading…
Reference in a new issue