Ajout dommentaire doxygen
This commit is contained in:
parent
83b7a261cf
commit
1a6e636d68
@ -1,5 +1,5 @@
|
|||||||
<?PHP
|
<?PHP
|
||||||
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2004-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -20,16 +20,32 @@
|
|||||||
* $Source$
|
* $Source$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
\file htdocs/compta/export/modules/compta.export.poivre.class.php
|
||||||
|
\ingroup compta
|
||||||
|
\brief Modele d'export compta poivre, export au format tableur
|
||||||
|
\remarks Ce fichier doit etre utilise comme un exemple, il est specifique a une utilisation particuliere
|
||||||
|
\version $Revision$
|
||||||
|
*/
|
||||||
|
|
||||||
require_once(PHP_WRITEEXCEL_PATH."/class.writeexcel_workbook.inc.php");
|
require_once(PHP_WRITEEXCEL_PATH."/class.writeexcel_workbook.inc.php");
|
||||||
require_once(PHP_WRITEEXCEL_PATH."/class.writeexcel_worksheet.inc.php");
|
require_once(PHP_WRITEEXCEL_PATH."/class.writeexcel_worksheet.inc.php");
|
||||||
|
|
||||||
|
/**
|
||||||
|
\class ComptaExportPoivre
|
||||||
|
\brief Classe permettant les exports comptables au format tableur
|
||||||
|
*/
|
||||||
|
|
||||||
class ComptaExportPoivre extends ComptaExport
|
class ComptaExportPoivre extends ComptaExport
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $user;
|
var $user;
|
||||||
|
|
||||||
|
/**
|
||||||
|
\brief Constructeur de la class
|
||||||
|
\param DB Object de base de données
|
||||||
|
\param USER Object utilisateur
|
||||||
|
*/
|
||||||
function ComptaExportPoivre ($DB, $USER)
|
function ComptaExportPoivre ($DB, $USER)
|
||||||
{
|
{
|
||||||
$this->db = $DB;
|
$this->db = $DB;
|
||||||
@ -66,9 +82,6 @@ class ComptaExportPoivre extends ComptaExport
|
|||||||
$j++;
|
$j++;
|
||||||
$this->line_out[$j] = $line_in[$i];
|
$this->line_out[$j] = $line_in[$i];
|
||||||
}
|
}
|
||||||
|
|
||||||
// print "$j ".$this->line_out[$j][8] . "<br>";
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dolibarr_syslog("ComptaExportPoivre::Agregate " . sizeof($this->line_out) . " lignes en sorties");
|
dolibarr_syslog("ComptaExportPoivre::Agregate " . sizeof($this->line_out) . " lignes en sorties");
|
||||||
@ -217,7 +230,6 @@ class ComptaExportPoivre extends ComptaExport
|
|||||||
$page->write_string($j, 7, 'C'); // C pour crédit
|
$page->write_string($j, 7, 'C'); // C pour crédit
|
||||||
$page->write_string($j, 8, strftime("%d%m%y",$this->line_out[$i][0]));
|
$page->write_string($j, 8, strftime("%d%m%y",$this->line_out[$i][0]));
|
||||||
|
|
||||||
|
|
||||||
$oldfacture = $this->line_out[$i][1];
|
$oldfacture = $this->line_out[$i][1];
|
||||||
$j++;
|
$j++;
|
||||||
}
|
}
|
||||||
@ -288,7 +300,6 @@ class ComptaExportPoivre extends ComptaExport
|
|||||||
{
|
{
|
||||||
$linep[$i][6] = 'Rejet Prelevement';
|
$linep[$i][6] = 'Rejet Prelevement';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$page->write_string($j,0, strftime("%d%m%y",$linep[$i][0]));
|
$page->write_string($j,0, strftime("%d%m%y",$linep[$i][0]));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user