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

(-)a/acqui/addorderiso2709.pl (-6 / +6 lines)
Lines 356-362 sub import_batches_list { Link Here
356
            if (scalar @$stagedList) {
356
            if (scalar @$stagedList) {
357
                push @list, {
357
                push @list, {
358
                        import_batch_id => $batch->{'import_batch_id'},
358
                        import_batch_id => $batch->{'import_batch_id'},
359
                        num_biblios => $batch->{'num_biblios'},
359
                        num_records => $batch->{'num_records'},
360
                        num_items => $batch->{'num_items'},
360
                        num_items => $batch->{'num_items'},
361
                        staged_date => $batch->{'upload_timestamp'},
361
                        staged_date => $batch->{'upload_timestamp'},
362
                        import_status => $batch->{'import_status'},
362
                        import_status => $batch->{'import_status'},
Lines 426-437 sub import_biblios_list { Link Here
426
426
427
        push @list, \%cellrecord;
427
        push @list, \%cellrecord;
428
    }
428
    }
429
    my $num_biblios = $batch->{'num_biblios'};
429
    my $num_records = $batch->{'num_records'};
430
    my $overlay_action = GetImportBatchOverlayAction($import_batch_id);
430
    my $overlay_action = GetImportBatchOverlayAction($import_batch_id);
431
    my $nomatch_action = GetImportBatchNoMatchAction($import_batch_id);
431
    my $nomatch_action = GetImportBatchNoMatchAction($import_batch_id);
432
    my $item_action = GetImportBatchItemAction($import_batch_id);
432
    my $item_action = GetImportBatchItemAction($import_batch_id);
433
    $template->param(biblio_list => \@list,
433
    $template->param(biblio_list => \@list,
434
                        num_results => $num_biblios,
434
                        num_results => $num_records,
435
                        import_batch_id => $import_batch_id,
435
                        import_batch_id => $import_batch_id,
436
                        "overlay_action_${overlay_action}" => 1,
436
                        "overlay_action_${overlay_action}" => 1,
437
                        overlay_action => $overlay_action,
437
                        overlay_action => $overlay_action,
Lines 450-458 sub batch_info { Link Here
450
                                          comments => $batch->{'comments'},
450
                                          comments => $batch->{'comments'},
451
                                          import_status => $batch->{'import_status'},
451
                                          import_status => $batch->{'import_status'},
452
                                          upload_timestamp => $batch->{'upload_timestamp'},
452
                                          upload_timestamp => $batch->{'upload_timestamp'},
453
                                          num_biblios => $batch->{'num_biblios'},
453
                                          num_records => $batch->{'num_records'},
454
                                          num_items => $batch->{'num_biblios'});
454
                                          num_items => $batch->{'num_records'});
455
    if ($batch->{'num_biblios'} > 0) {
455
    if ($batch->{'num_records'} > 0) {
456
        if ($batch->{'import_status'} eq 'staged' or $batch->{'import_status'} eq 'reverted') {
456
        if ($batch->{'import_status'} eq 'staged' or $batch->{'import_status'} eq 'reverted') {
457
            $template->param(can_commit => 1);
457
            $template->param(can_commit => 1);
458
        }
458
        }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-2 / +1 lines)
Lines 396-402 Link Here
396
                          [% END %]
396
                          [% END %]
397
                        </td>
397
                        </td>
398
                        <td><span title="[% batch_lis.staged_date %]">[% batch_lis.staged_date | $KohaDates with_hours => 1 %]</span></td>
398
                        <td><span title="[% batch_lis.staged_date %]">[% batch_lis.staged_date | $KohaDates with_hours => 1 %]</span></td>
399
                        <td>[% batch_lis.num_biblios %]</td>
399
                        <td>[% batch_lis.num_records %]</td>
400
                        <td><a href="[% batch_lis.scriptname %]?import_batch_id=[% batch_lis.import_batch_id %]&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]">Add orders</a></td>
400
                        <td><a href="[% batch_lis.scriptname %]?import_batch_id=[% batch_lis.import_batch_id %]&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]">Add orders</a></td>
401
                      </tr>
401
                      </tr>
402
                      [% END %]
402
                      [% END %]
403
- 

Return to bug 9063