Lines 96-107
if ($op eq ""){
Link Here
|
96 |
# |
96 |
# |
97 |
} elsif ($op eq "batch_details"){ |
97 |
} elsif ($op eq "batch_details"){ |
98 |
#display lines inside the selected batch |
98 |
#display lines inside the selected batch |
99 |
# get currencies (for change rates calcs if needed) |
|
|
100 |
my @currencies = Koha::Acquisition::Currencies->search->as_list; |
101 |
|
99 |
|
102 |
$template->param("batch_details" => 1, |
100 |
$template->param("batch_details" => 1, |
103 |
"basketno" => $cgiparams->{'basketno'}, |
101 |
"basketno" => $cgiparams->{'basketno'}, |
104 |
currencies => \@currencies, |
102 |
# get currencies (for change rates calcs if needed) |
|
|
103 |
currencies => Koha::Acquisition::Currencies->search, |
105 |
bookseller => $bookseller, |
104 |
bookseller => $bookseller, |
106 |
"allmatch" => $allmatch, |
105 |
"allmatch" => $allmatch, |
107 |
); |
106 |
); |
Lines 611-617
sub import_biblios_list {
Link Here
|
611 |
my $overlay_action = GetImportBatchOverlayAction($import_batch_id); |
610 |
my $overlay_action = GetImportBatchOverlayAction($import_batch_id); |
612 |
my $nomatch_action = GetImportBatchNoMatchAction($import_batch_id); |
611 |
my $nomatch_action = GetImportBatchNoMatchAction($import_batch_id); |
613 |
my $item_action = GetImportBatchItemAction($import_batch_id); |
612 |
my $item_action = GetImportBatchItemAction($import_batch_id); |
614 |
my @itypes = Koha::ItemTypes->search->as_list; |
|
|
615 |
$template->param(biblio_list => \@list, |
613 |
$template->param(biblio_list => \@list, |
616 |
num_results => $num_records, |
614 |
num_results => $num_records, |
617 |
import_batch_id => $import_batch_id, |
615 |
import_batch_id => $import_batch_id, |
Lines 622-630
sub import_biblios_list {
Link Here
|
622 |
"item_action_${item_action}" => 1, |
620 |
"item_action_${item_action}" => 1, |
623 |
item_action => $item_action, |
621 |
item_action => $item_action, |
624 |
item_error => $item_error, |
622 |
item_error => $item_error, |
625 |
libraries => scalar Koha::Libraries->search(), |
623 |
libraries => Koha::Libraries->search, |
626 |
locationloop => \@locations, |
624 |
locationloop => \@locations, |
627 |
itypeloop => \@itypes, |
625 |
itemtypes => Koha::ItemTypes->search, |
628 |
ccodeloop => \@ccodes, |
626 |
ccodeloop => \@ccodes, |
629 |
notforloanloop => \@notforloans, |
627 |
notforloanloop => \@notforloans, |
630 |
); |
628 |
); |