@@ -, +, @@ --- acqui/addorderiso2709.pl | 5 ++--- .../prog/en/modules/acqui/addorderiso2709.tt | 13 +++++++++++-- 2 files changed, 13 insertions(+), 5 deletions(-) --- a/acqui/addorderiso2709.pl +++ a/acqui/addorderiso2709.pl @@ -333,13 +333,11 @@ sub import_batches_list { # check if there is at least 1 line still staged my $stagedList=GetImportRecordsRange($batch->{'import_batch_id'}, undef, undef, 'staged'); if (scalar @$stagedList) { - my ($staged_date, $staged_hour) = split (/ /, $batch->{'upload_timestamp'}); push @list, { import_batch_id => $batch->{'import_batch_id'}, num_biblios => $batch->{'num_biblios'}, num_items => $batch->{'num_items'}, - staged_date => $staged_date, - staged_hour => $staged_hour, + staged_date => $batch->{'upload_timestamp'}, import_status => $batch->{'import_status'}, file_name => $batch->{'file_name'}, comments => $batch->{'comments'}, @@ -351,6 +349,7 @@ sub import_batches_list { } } $template->param(batch_list => \@list); + $template->param(dateformat => C4::Context->preference('dateformat')); my $num_batches = GetNumberOfNonZ3950ImportBatches(); $template->param(num_results => $num_batches); } --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt @@ -16,13 +16,22 @@ @@ -95,7 +104,7 @@ [% batch_lis.file_name %] [% batch_lis.comments %] [% batch_lis.import_status %] - [% batch_lis.staged_date | $KohaDates %] [% batch_lis.staged_hour %] + [% batch_lis.staged_date | $KohaDates %] [% batch_lis.num_biblios %] Add orders --