Merge pull request 'Hotfix_DownloadCSV' (!2110) from Hotfix_DownloadCSV into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2110
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
Javier Segarra 2024-02-29 07:18:39 +00:00
commit 7f11930154
2 changed files with 2 additions and 2 deletions

View File

@ -80,6 +80,6 @@ module.exports = Self => {
const content = toCSV(sales); const content = toCSV(sales);
return [content, 'text/csv', `inline; filename="doc-${reference}.pdf"`]; return [content, 'text/csv', `inline; filename="doc-${reference}.csv"`];
}; };
}; };

View File

@ -79,6 +79,6 @@ module.exports = Self => {
ORDER BY s.ticketFk, s.created`, [id]); ORDER BY s.ticketFk, s.created`, [id]);
const content = toCSV(sales); const content = toCSV(sales);
return [content, 'text/csv', `inline; filename="doc-${id}.pdf"`]; return [content, 'text/csv', `inline; filename="doc-${id}.csv"`];
}; };
}; };