Lines 140-146
for my $order ( @orders ) {
Link Here
|
140 |
$line{invoice} = $invoice->{invoicenumber}; |
140 |
$line{invoice} = $invoice->{invoicenumber}; |
141 |
$line{holds} = 0; |
141 |
$line{holds} = 0; |
142 |
my @itemnumbers = GetItemnumbersFromOrder( $order->{ordernumber} ); |
142 |
my @itemnumbers = GetItemnumbersFromOrder( $order->{ordernumber} ); |
143 |
my $biblio = Koha::Biblios->find( $order->{ordernumber} ); |
143 |
my $biblio = Koha::Biblios->find( $line{biblionumber} ); |
144 |
$line{holds} = $biblio->current_holds->search( |
144 |
$line{holds} = $biblio->current_holds->search( |
145 |
{ |
145 |
{ |
146 |
itemnumber => { -in => \@itemnumbers }, |
146 |
itemnumber => { -in => \@itemnumbers }, |
147 |
- |
|
|