View | Details | Raw Unified | Return to bug 9432
Collapse All | Expand All

(-)a/acqui/addorderiso2709.pl (-4 / +3 lines)
Lines 189-195 if ($op eq ""){ Link Here
189
            SetImportRecordStatus( $biblio->{'import_record_id'}, 'imported' );
189
            SetImportRecordStatus( $biblio->{'import_record_id'}, 'imported' );
190
        }
190
        }
191
        # 3rd add order
191
        # 3rd add order
192
        my $patron = C4::Members->GetMember( borrowernumber => $loggedinuser );
192
        my $patron = C4::Members::GetMember( borrowernumber => $loggedinuser );
193
        my $branch = C4::Branch->GetBranchDetail( $patron->{branchcode} );
193
        my $branch = C4::Branch->GetBranchDetail( $patron->{branchcode} );
194
        # get quantity in the MARC record (1 if none)
194
        # get quantity in the MARC record (1 if none)
195
        my $quantity = GetMarcQuantity($marcrecord, C4::Context->preference('marcflavour')) || 1;
195
        my $quantity = GetMarcQuantity($marcrecord, C4::Context->preference('marcflavour')) || 1;
Lines 429-439 sub batch_info { Link Here
429
                                              'current_matcher_description' => $matcher->description());
429
                                              'current_matcher_description' => $matcher->description());
430
        }
430
        }
431
    }
431
    }
432
    add_matcher_list($batch->{'matcher_id'});
432
    add_matcher_list($batch->{'matcher_id'}, $template);
433
}
433
}
434
434
435
sub add_matcher_list {
435
sub add_matcher_list {
436
    my $current_matcher_id = shift;
436
    my ($current_matcher_id, $template) = @_;
437
    my @matchers = C4::Matcher::GetMatcherList();
437
    my @matchers = C4::Matcher::GetMatcherList();
438
    if (defined $current_matcher_id) {
438
    if (defined $current_matcher_id) {
439
        for (my $i = 0; $i <= $#matchers; $i++) {
439
        for (my $i = 0; $i <= $#matchers; $i++) {
440
- 

Return to bug 9432