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