This commit is contained in:
Juan Pablo Vial
2022-03-07 23:49:26 -03:00
parent 7d3e75c316
commit b8babf2906
2 changed files with 1 additions and 109 deletions

View File

@ -170,12 +170,5 @@ class Resumen
->formatColumn('C')
->formatColumn('D')
->send($filename);
return;
header("Content-Type: text/csv; charset=utf-8");
header('Content-Disposition: attachment; filename="' . $filename . '"');
header('Cache-Control: max-age=0');
file_put_contents('php://output', implode(PHP_EOL, $output));
}
}