task #0000890: PRINTJRN : export PDF et CSV des operations detaillees
Cosmetique : nom export csv
This commit is contained in:
parent
3df7aca4e2
commit
d25403b6d7
1 changed files with 2 additions and 1 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue