Lines 111-120
foreach my $num (@getreserves) {
Link Here
|
111 |
my $gettitle = GetBiblioFromItemNumber( $num->{'itemnumber'} ); |
111 |
my $gettitle = GetBiblioFromItemNumber( $num->{'itemnumber'} ); |
112 |
# fix up item type for display |
112 |
# fix up item type for display |
113 |
$gettitle->{'itemtype'} = C4::Context->preference('item-level_itypes') ? $gettitle->{'itype'} : $gettitle->{'itemtype'}; |
113 |
$gettitle->{'itemtype'} = C4::Context->preference('item-level_itypes') ? $gettitle->{'itype'} : $gettitle->{'itemtype'}; |
114 |
my $getborrower = GetMemberDetails( $num->{'borrowernumber'} ); |
114 |
my $getborrower = GetMember(borrowernumber => $num->{'borrowernumber'}); |
115 |
my $itemtypeinfo = getitemtypeinfo( $gettitle->{'itemtype'} ); # using the fixed up itype/itemtype |
115 |
my $itemtypeinfo = getitemtypeinfo( $gettitle->{'itemtype'} ); # using the fixed up itype/itemtype |
116 |
$getreserv{'waitingdate'} = format_date( $num->{'waitingdate'} ); |
116 |
$getreserv{'waitingdate'} = format_date( $num->{'waitingdate'} ); |
117 |
|
|
|
118 |
my ( $waiting_year, $waiting_month, $waiting_day ) = split (/-/, $num->{'waitingdate'}); |
117 |
my ( $waiting_year, $waiting_month, $waiting_day ) = split (/-/, $num->{'waitingdate'}); |
119 |
( $waiting_year, $waiting_month, $waiting_day ) = |
118 |
( $waiting_year, $waiting_month, $waiting_day ) = |
120 |
Add_Delta_Days( $waiting_year, $waiting_month, $waiting_day, |
119 |
Add_Delta_Days( $waiting_year, $waiting_month, $waiting_day, |