task #0000890: PRINTJRN : export PDF et CSV des operations detaillees

Cosmetique : nom export csv
This commit is contained in:
Dany De Bontridder 2013-10-12 20:23:33 +00:00
parent 3df7aca4e2
commit d25403b6d7

View file

@ -22,9 +22,10 @@
* \brief Send a ledger in CSV format
*/
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
$fDate = date('dmy-Hi');
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="jrn.csv"',FALSE);
header('Content-Disposition: attachment;filename="jrn-'.$fDate.'.csv"',FALSE);
include_once ("ac_common.php");
require_once('class_own.php');
require_once 'class_acc_ledger_sold.php';