Browse Source

[Backend] Export comptable

feature/tableau_edition_avancee
Fab 4 years ago
parent
commit
a747e968d5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ShopBundle/Services/CsvGenerator.php

+ 1
- 1
ShopBundle/Services/CsvGenerator.php View File

@@ -132,7 +132,7 @@ class CsvGenerator
$response = new StreamedResponse(function () {
$this->createCsv('php://output');
});
$response->headers->set('Content-Encoding', 'UTF-8');
$response->headers->set('Content-Type', 'application/force-download');
$response->headers->set('Content-Disposition', 'attachment; filename="'.$this->titleDocument.'.csv"');
return $response;

Loading…
Cancel
Save