Add field for general reception history

This commit is contained in:
jrenslin committed 2022-06-10 13:19:30 +02:00
1 parent 37aecde967
commit 947f2cb87b
5 files changed
+35 -6

No files matched your search

+6 -3
View File
@@ -70,11 +70,14 @@
}
header('Content-Type: text/csv; charset=utf-8');
if ($selectionActive === true)
if ($selectionActive === true) {
header("Content-Disposition: attachment; filename=csvxml_museum-digital_template-{$lang}_selection.csv");
else
}
else {
header("Content-Disposition: attachment; filename=csvxml_museum-digital_template-{$lang}.csv");
}
for ($i = 2; $i <= 4; $i++) {
echo mb_convert_encoding('"' . implode("\";\"", ${"line$i"}) . '"' . PHP_EOL, 'utf-16', 'utf-8');
echo '"' . implode("\";\"", ${"line$i"}) . '"' . PHP_EOL;
# echo mb_convert_encoding('"' . implode("\";\"", ${"line$i"}) . '"' . PHP_EOL, 'utf-16', 'utf-8');
}