Lines 555-561
if ($StaffDetailItemSelection) {
Link Here
|
555 |
my @allorders_using_biblio = GetOrdersByBiblionumber ($biblionumber); |
555 |
my @allorders_using_biblio = GetOrdersByBiblionumber ($biblionumber); |
556 |
my @deletedorders_using_biblio; |
556 |
my @deletedorders_using_biblio; |
557 |
my @orders_using_biblio; |
557 |
my @orders_using_biblio; |
558 |
my @baskets_orders; |
|
|
559 |
my @baskets_deletedorders; |
558 |
my @baskets_deletedorders; |
560 |
|
559 |
|
561 |
foreach my $myorder (@allorders_using_biblio) { |
560 |
foreach my $myorder (@allorders_using_biblio) { |
Lines 568-576
foreach my $myorder (@allorders_using_biblio) {
Link Here
|
568 |
} |
567 |
} |
569 |
else { |
568 |
else { |
570 |
push @orders_using_biblio, $myorder; |
569 |
push @orders_using_biblio, $myorder; |
571 |
unless (grep{ $_ eq $basket } @baskets_orders){ |
|
|
572 |
push @baskets_orders,$myorder->{'basketno'}; |
573 |
} |
574 |
} |
570 |
} |
575 |
} |
571 |
} |
576 |
|
572 |
|
Lines 582-588
$template->param (countorders => $count_orders_using_biblio);
Link Here
|
582 |
my $count_deletedorders_using_biblio = scalar @deletedorders_using_biblio ; |
578 |
my $count_deletedorders_using_biblio = scalar @deletedorders_using_biblio ; |
583 |
$template->param (countdeletedorders => $count_deletedorders_using_biblio); |
579 |
$template->param (countdeletedorders => $count_deletedorders_using_biblio); |
584 |
|
580 |
|
585 |
$template->param (basketsorders => \@baskets_orders); |
|
|
586 |
$template->param (basketsdeletedorders => \@baskets_deletedorders); |
581 |
$template->param (basketsdeletedorders => \@baskets_deletedorders); |
587 |
|
582 |
|
588 |
output_html_with_http_headers $query, $cookie, $template->output; |
583 |
output_html_with_http_headers $query, $cookie, $template->output; |