2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Rodolphe Quiedeville
2005-03-31 12:10:36 +00:00
parent bbf8c1b53c
commit 6254d7031c
3 changed files with 37 additions and 18 deletions

View File

@@ -169,7 +169,15 @@ class ComptaExport
$this->linep[$i][4] = $obj->facnumber;
$this->linep[$i][5] = $obj->amount;
$this->linep[$i][6] = $obj->libelle;
$this->linep[$i][7] = $obj->increment;
if (strlen(trim( $obj->increment)) > 0)
{
$this->linep[$i][7] = $obj->increment;
}
else
{
$this->linep[$i][7] = $obj->facnumber;
}
$i++;
}