dolibarr-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-cvs] dolibarr/htdocs/compta facture.php


From: Regis Houssin
Subject: [Dolibarr-cvs] dolibarr/htdocs/compta facture.php
Date: Mon, 19 Jun 2006 14:54:54 +0000

CVSROOT:        /cvsroot/dolibarr
Module name:    dolibarr
Changes by:     Regis Houssin <hregis>  06/06/19 14:54:54

Modified files:
        htdocs/compta  : facture.php 

Log message:
        Fix: les description produit de commande vers facture n'était plus 
récupérés

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/dolibarr/htdocs/compta/facture.php?cvsroot=dolibarr&r1=1.332&r2=1.333

Patches:
Index: facture.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/compta/facture.php,v
retrieving revision 1.332
retrieving revision 1.333
diff -u -b -r1.332 -r1.333
--- facture.php 19 Jun 2006 14:44:18 -0000      1.332
+++ facture.php 19 Jun 2006 14:54:54 -0000      1.333
@@ -20,7 +20,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  *
- * $Id: facture.php,v 1.332 2006/06/19 14:44:18 hregis Exp $
+ * $Id: facture.php,v 1.333 2006/06/19 14:54:54 hregis Exp $
  * $Source: /cvsroot/dolibarr/dolibarr/htdocs/compta/facture.php,v $
  */
 
@@ -28,7 +28,7 @@
                \file       htdocs/compta/facture.php
                \ingroup    facture
                \brief      Page de création d'une facture
-               \version    $Revision: 1.332 $
+               \version    $Revision: 1.333 $
 */
 
 require('./pre.inc.php');
@@ -285,7 +285,7 @@
                                                $lines = $comm->fetch_lignes();
                                                for ($i = 0 ; $i < 
sizeof($lines) ; $i++)
                                                {
-                                                       
$desc=($lines[$i]->description ? $lines[$i]->description : $lines[$i]->libelle);
+                                                       $desc=($lines[$i]->desc 
? $lines[$i]->desc : $lines[$i]->libelle);
 
                                                        $result = 
$facture->addline(
                                                                $facid,
@@ -2587,5 +2587,5 @@
 
 $db->close();
 
-llxFooter('$Date: 2006/06/19 14:44:18 $ - $Revision: 1.332 $');
+llxFooter('$Date: 2006/06/19 14:54:54 $ - $Revision: 1.333 $');
 ?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]