Author: danydb Date: 2011-05-14 21:00:47 +0200 (Sat, 14 May 2011) New Revision: 4099
Added: phpcompta/trunk/include/export_anc_acc_list_csv.php Removed: phpcompta/trunk/include/export_anc_list_csv.php Log: Rename file Copied: phpcompta/trunk/include/export_anc_acc_list_csv.php (from rev 4093, phpcompta/trunk/include/export_anc_list_csv.php) =================================================================== --- phpcompta/trunk/include/export_anc_acc_list_csv.php (rev 0) +++ phpcompta/trunk/include/export_anc_acc_list_csv.php 2011-05-14 19:00:47 UTC (rev 4099) @@ -0,0 +1,37 @@ +<?php +/* + * This file is part of PhpCompta. + * + * PhpCompta is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpCompta is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpCompta; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ +/* $Revision$ */ + +// Copyright Author Dany De Bontridder [email protected] + +/*!\file +* \brief export the operation in pdf + * + */ +header('Pragma: public'); +header('Content-type: application/csv'); +header('Content-Disposition: attachment;filename="jrn.csv"',FALSE); + +require_once ('class_anc_listing.php'); + +$cn=new Database(dossier::id()); + +$bal=new Anc_Listing($cn); +$bal->get_request(); +echo $bal->display_csv(); Deleted: phpcompta/trunk/include/export_anc_list_csv.php =================================================================== --- phpcompta/trunk/include/export_anc_list_csv.php 2011-05-14 18:56:39 UTC (rev 4098) +++ phpcompta/trunk/include/export_anc_list_csv.php 2011-05-14 19:00:47 UTC (rev 4099) @@ -1,37 +0,0 @@ -<?php -/* - * This file is part of PhpCompta. - * - * PhpCompta is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * PhpCompta is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with PhpCompta; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ -/* $Revision$ */ - -// Copyright Author Dany De Bontridder [email protected] - -/*!\file -* \brief export the operation in pdf - * - */ -header('Pragma: public'); -header('Content-type: application/csv'); -header('Content-Disposition: attachment;filename="jrn.csv"',FALSE); - -require_once ('class_anc_listing.php'); - -$cn=new Database(dossier::id()); - -$bal=new Anc_Listing($cn); -$bal->get_request(); -echo $bal->display_csv(); _______________________________________________ Phpcompta-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/phpcompta-dev
