Modif appel Export()

This commit is contained in:
Rodolphe Quiedeville 2006-12-23 15:07:21 +00:00
parent b4d8904ad9
commit 0a72f4b204

View File

@ -79,7 +79,7 @@ class ComptaExportPoivre extends ComptaExport
/* /*
* *
*/ */
function Export($linec, $linep, $id=0) function Export($dir, $linec, $linep, $id=0)
{ {
$error = 0; $error = 0;
@ -153,7 +153,7 @@ class ComptaExportPoivre extends ComptaExport
{ {
dolibarr_syslog("ComptaExportPoivre::Export ref : ".$this->ref); dolibarr_syslog("ComptaExportPoivre::Export ref : ".$this->ref);
$fxname = DOL_DATA_ROOT."/compta/export/".$this->ref.".xls"; $fxname = $dir . "/".$this->ref.".xls";
$workbook = &new writeexcel_workbook($fxname); $workbook = &new writeexcel_workbook($fxname);