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

(-)a/acqui/addorderiso2709.pl (-4 / +4 lines)
Lines 334-340 sub import_batches_list { Link Here
334
            if (scalar @$stagedList) {
334
            if (scalar @$stagedList) {
335
                push @list, {
335
                push @list, {
336
                        import_batch_id => $batch->{'import_batch_id'},
336
                        import_batch_id => $batch->{'import_batch_id'},
337
                        num_biblios => $batch->{'num_records'},
337
                        num_records => $batch->{'num_records'},
338
                        num_items => $batch->{'num_items'},
338
                        num_items => $batch->{'num_items'},
339
                        staged_date => $batch->{'upload_timestamp'},
339
                        staged_date => $batch->{'upload_timestamp'},
340
                        import_status => $batch->{'import_status'},
340
                        import_status => $batch->{'import_status'},
Lines 404-415 sub import_biblios_list { Link Here
404
404
405
        push @list, \%cellrecord;
405
        push @list, \%cellrecord;
406
    }
406
    }
407
    my $num_biblios = $batch->{'num_records'};
407
    my $num_records = $batch->{'num_records'};
408
    my $overlay_action = GetImportBatchOverlayAction($import_batch_id);
408
    my $overlay_action = GetImportBatchOverlayAction($import_batch_id);
409
    my $nomatch_action = GetImportBatchNoMatchAction($import_batch_id);
409
    my $nomatch_action = GetImportBatchNoMatchAction($import_batch_id);
410
    my $item_action = GetImportBatchItemAction($import_batch_id);
410
    my $item_action = GetImportBatchItemAction($import_batch_id);
411
    $template->param(biblio_list => \@list,
411
    $template->param(biblio_list => \@list,
412
                        num_results => $num_biblios,
412
                        num_results => $num_records,
413
                        import_batch_id => $import_batch_id,
413
                        import_batch_id => $import_batch_id,
414
                        "overlay_action_${overlay_action}" => 1,
414
                        "overlay_action_${overlay_action}" => 1,
415
                        overlay_action => $overlay_action,
415
                        overlay_action => $overlay_action,
Lines 428-434 sub batch_info { Link Here
428
                                          comments => $batch->{'comments'},
428
                                          comments => $batch->{'comments'},
429
                                          import_status => $batch->{'import_status'},
429
                                          import_status => $batch->{'import_status'},
430
                                          upload_timestamp => $batch->{'upload_timestamp'},
430
                                          upload_timestamp => $batch->{'upload_timestamp'},
431
                                          num_biblios => $batch->{'num_records'},
431
                                          num_records => $batch->{'num_records'},
432
                                          num_items => $batch->{'num_items'});
432
                                          num_items => $batch->{'num_items'});
433
    if ($batch->{'num_records'} > 0) {
433
    if ($batch->{'num_records'} > 0) {
434
        if ($batch->{'import_status'} eq 'staged' or $batch->{'import_status'} eq 'reverted') {
434
        if ($batch->{'import_status'} eq 'staged' or $batch->{'import_status'} eq 'reverted') {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-2 / +1 lines)
Lines 403-409 Link Here
403
                          [% END %]
403
                          [% END %]
404
                        </td>
404
                        </td>
405
                        <td><span title="[% batch_lis.staged_date %]">[% batch_lis.staged_date | $KohaDates with_hours => 1 %]</span></td>
405
                        <td><span title="[% batch_lis.staged_date %]">[% batch_lis.staged_date | $KohaDates with_hours => 1 %]</span></td>
406
                        <td>[% batch_lis.num_biblios %]</td>
406
                        <td>[% batch_lis.num_records %]</td>
407
                        <td><a href="[% batch_lis.scriptname %]?import_batch_id=[% batch_lis.import_batch_id %]&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]">Add orders</a></td>
407
                        <td><a href="[% batch_lis.scriptname %]?import_batch_id=[% batch_lis.import_batch_id %]&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]">Add orders</a></td>
408
                      </tr>
408
                      </tr>
409
                      [% END %]
409
                      [% END %]
410
- 

Return to bug 9063