Hotfix_DownloadCSV #2110

Merged
jsegarra merged 2 commits from Hotfix_DownloadCSV into master 2024-02-29 07:18:40 +00:00
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"`];
}; };
}; };