diff --git a/moredetail.pl b/moredetail.pl index 5757e0a52f..4db51282d3 100755 --- a/moredetail.pl +++ b/moredetail.pl @@ -70,6 +70,7 @@ my $count=@items; $data->{'count'}=$count; my ($order,$ordernum)=getorder($bi,$biblionumber); + my $env; $env->{itemcount}=1; @@ -87,8 +88,11 @@ foreach my $item (@items){ $item->{'timestamp0'}="$day/$mon/$year"; $item->{'dateaccessioned'} = slashifyDate($item->{'dateaccessioned'}); $item->{'datelastseen'} = slashifyDate($item->{'datelastseen'}); + $item->{'ordernumber'} = $ordernum; + $item->{'booksellerinvoicenumber'} = $order->{'booksellerinvoicenumber'}; + if ($item->{'date_due'} = 'Available'){ - $item->{'issue'}="Currently on issue to:
"; + $item->{'issue'}="Available
"; } else { $item->{'issue'}="Currently on issue to: {'borrower0'}>$item->{'card'}
"; }