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

(-)a/acqui/addorderiso2709.pl (-2 / +3 lines)
Lines 41-47 use C4::Koha; Link Here
41
use C4::Budgets;
41
use C4::Budgets;
42
use C4::Acquisition;
42
use C4::Acquisition;
43
use C4::Bookseller qw/GetBookSellerFromId/;
43
use C4::Bookseller qw/GetBookSellerFromId/;
44
use C4::Dates;
45
use C4::Suggestions;    # GetSuggestion
44
use C4::Suggestions;    # GetSuggestion
46
use C4::Branch;         # GetBranches
45
use C4::Branch;         # GetBranches
47
use C4::Members;
46
use C4::Members;
Lines 343-353 sub import_batches_list { Link Here
343
            # check if there is at least 1 line still staged
342
            # check if there is at least 1 line still staged
344
            my $stagedList=GetImportBibliosRange($batch->{'import_batch_id'}, undef, undef, 'staged');
343
            my $stagedList=GetImportBibliosRange($batch->{'import_batch_id'}, undef, undef, 'staged');
345
            if (scalar @$stagedList) {
344
            if (scalar @$stagedList) {
345
                my ($staged_date, $staged_hour) = split (/ /, $batch->{'upload_timestamp'});
346
                push @list, {
346
                push @list, {
347
                        import_batch_id => $batch->{'import_batch_id'},
347
                        import_batch_id => $batch->{'import_batch_id'},
348
                        num_biblios => $batch->{'num_biblios'},
348
                        num_biblios => $batch->{'num_biblios'},
349
                        num_items => $batch->{'num_items'},
349
                        num_items => $batch->{'num_items'},
350
                        upload_timestamp => $batch->{'upload_timestamp'},
350
                        staged_date => $staged_date,
351
                        staged_hour => $staged_hour,
351
                        import_status => $batch->{'import_status'},
352
                        import_status => $batch->{'import_status'},
352
                        file_name => $batch->{'file_name'},
353
                        file_name => $batch->{'file_name'},
353
                        comments => $batch->{'comments'},
354
                        comments => $batch->{'comments'},
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-2 / +2 lines)
Lines 1-3 Link Here
1
[% USE KohaDates %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Acquisitions &rsaquo; Order Staged MARC Records
3
<title>Koha &rsaquo; Acquisitions &rsaquo; Order Staged MARC Records
3
[% IF ( batch_details ) %]
4
[% IF ( batch_details ) %]
Lines 90-96 Link Here
90
                        <td>[% batch_lis.file_name %]</td>
91
                        <td>[% batch_lis.file_name %]</td>
91
                       <td>[% batch_lis.comments %]</td>
92
                       <td>[% batch_lis.comments %]</td>
92
                       <td>[% batch_lis.import_status %]</td>
93
                       <td>[% batch_lis.import_status %]</td>
93
                       <td>[% batch_lis.upload_timestamp %]</td>
94
                       <td>[% batch_lis.staged_date | $KohaDates %] [% batch_lis.staged_hour %]</td>
94
                       <td>[% batch_lis.num_biblios %]</td>
95
                       <td>[% batch_lis.num_biblios %]</td>
95
                       <td><a href="[% batch_lis.scriptname %]?import_batch_id=[% batch_lis.import_batch_id %]&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]">Add orders</a></td>
96
                       <td><a href="[% batch_lis.scriptname %]?import_batch_id=[% batch_lis.import_batch_id %]&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]">Add orders</a></td>
96
                     </tr>
97
                     </tr>
97
- 

Return to bug 7748