Task #1231 - Cohérence listes CSV Journaux

#1231 Rewrite code for export CSV for ANC part
This commit is contained in:
Dany De Bontridder 2015-12-02 15:13:17 +01:00
parent 7572b02762
commit df17810dec
14 changed files with 188 additions and 142 deletions

View file

@ -23,11 +23,9 @@
* \brief export the operation in pdf
*/
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="ca_bal_simple.csv"',FALSE);
require_once NOALYSS_INCLUDE.'/class/class_anc_balance_simple.php';
require_once NOALYSS_INCLUDE.'/lib/class_noalyss_csv.php';
$cn=Dossier::connect();