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

(-)a/acqui/lateorders-export.pl (-1 / +3 lines)
Lines 62-65 print $input->header( Link Here
62
    -attachment => 'lateorders.csv',
62
    -attachment => 'lateorders.csv',
63
);
63
);
64
$template->param( orders => \@orders );
64
$template->param( orders => \@orders );
65
print $template->output;
65
for my $line ( split '\n', $template->output ) {
66
    print "$line\n" unless $line =~ m|^\s*$|;
67
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/csv/lateorders.tt (-3 / +2 lines)
Lines 1-5 Link Here
1
[% USE KohaDates %][% INCLUDE csv_headers/acqui/lateorders.tt %]
1
[% USE KohaDates %][% INCLUDE csv_headers/acqui/lateorders.tt %]
2
[% FOREACH o IN orders %]"[% o.orderdate %] ([% o.latesince %] days)","[% o.estimateddeliverydate | $KohaDates %]","[% o.supplier (o.supplierid) %]","[% o.title %] [% IF o.author %]Author: [% o.author %].[% END %][% IF o.publisher %]Published by: [% o.publisher %].[% END %]","[% o.unitpricesupplier %] x [% o.quantity_to_receive %] = [% o.subtotal %] ([% o.budget %])","[% o.basketname %] ([% o.basketno %])","[% o.claims_count %]","[% o.claimed_date %]"
2
[% FOREACH o IN orders %][% INCLUDE 'empty_line.inc' %]"[% o.orderdate %] ([% o.latesince %] days)","[% o.estimateddeliverydate | $KohaDates %]","[% o.supplier (o.supplierid) %]","[% o.title %] [% IF o.author %]Author: [% o.author %].[% END %][% IF o.publisher %]Published by: [% o.publisher %].[% END %]","[% o.unitpricesupplier %] x [% o.quantity_to_receive %] = [% o.subtotal %] ([% o.budget %])","[% o.basketname %] ([% o.basketno %])","[% o.claims_count %]","[% o.claimed_date %]"
3
[% END %]
3
[% END %]
4
4
[% INCLUDE 'empty_line.inc' %]
5
,,Total orders in late, [% orders.size %]
5
,,Total orders in late, [% orders.size %]
6
- 

Return to bug 14264