[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r5492 - phpcompta/trunk/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r5492 - phpcompta/trunk/include |
Date: |
Sat, 12 Oct 2013 22:23:34 +0200 (CEST) |
Author: danydb
Date: 2013-10-12 22:23:33 +0200 (Sat, 12 Oct 2013)
New Revision: 5492
Modified:
phpcompta/trunk/include/export_ledger_csv.php
Log:
task #0000890: PRINTJRN : export PDF et CSV des operations detaillees
Cosmetique : nom export csv
Modified: phpcompta/trunk/include/export_ledger_csv.php
===================================================================
--- phpcompta/trunk/include/export_ledger_csv.php 2013-10-12 20:05:47 UTC
(rev 5491)
+++ phpcompta/trunk/include/export_ledger_csv.php 2013-10-12 20:23:33 UTC
(rev 5492)
@@ -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';
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r5492 - phpcompta/trunk/include,
phpcompta-dev <=