projects
/
koha_fer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 6894: Order from suggestion defaulting to wrong currency
[koha_fer]
/
misc
/
cronjobs
/
overdue_notices.pl
diff --git
a/misc/cronjobs/overdue_notices.pl
b/misc/cronjobs/overdue_notices.pl
index
e605451
..
37774b5
100755
(executable)
--- a/
misc/cronjobs/overdue_notices.pl
+++ b/
misc/cronjobs/overdue_notices.pl
@@
-584,10
+584,14
@@
END_SQL
local $, = "\f"; # pagebreak
print @output_chunks;
}
local $, = "\f"; # pagebreak
print @output_chunks;
}
+ # Generate the content of the csv with headers
+ my $content = join(";", qw(title name surname address1 address2 zipcode city email itemcount itemsinfo due_date issue_date)) . "\n";
+ $content .= join( "\n", @output_chunks );
+
my $attachment = {
filename => defined $csvfilename ? 'attachment.csv' : 'attachment.txt',
type => 'text/plain',
my $attachment = {
filename => defined $csvfilename ? 'attachment.csv' : 'attachment.txt',
type => 'text/plain',
- content =>
join( "\n", @output_chunks )
+ content =>
$content,
};
my $letter = {
};
my $letter = {