dolibarr-cvs
[Top][All Lists]
Advanced

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

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


From: Regis Houssin
Subject: [Dolibarr-cvs] dolibarr/htdocs facture.class.php
Date: Tue, 20 Jun 2006 12:50:07 +0000

CVSROOT:        /cvsroot/dolibarr
Module name:    dolibarr
Changes by:     Regis Houssin <hregis>  06/06/20 12:50:07

Modified files:
        htdocs         : facture.class.php 

Log message:
        bugfix

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/dolibarr/htdocs/facture.class.php?cvsroot=dolibarr&r1=1.201&r2=1.202

Patches:
Index: facture.class.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/facture.class.php,v
retrieving revision 1.201
retrieving revision 1.202
diff -u -b -r1.201 -r1.202
--- facture.class.php   20 Jun 2006 12:25:20 -0000      1.201
+++ facture.class.php   20 Jun 2006 12:50:06 -0000      1.202
@@ -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.class.php,v 1.201 2006/06/20 12:25:20 hregis Exp $
+ * $Id: facture.class.php,v 1.202 2006/06/20 12:50:06 hregis Exp $
  * $Source: /cvsroot/dolibarr/dolibarr/htdocs/facture.class.php,v $
  */
 
@@ -28,7 +28,7 @@
         \file       htdocs/facture.class.php
         \ingroup    facture
         \brief      Fichier de la classe des factures clients
-        \version    $Revision: 1.201 $
+        \version    $Revision: 1.202 $
 */
 
 require_once(DOL_DOCUMENT_ROOT ."/commonobject.class.php");
@@ -165,7 +165,7 @@
                $sql.= ' note_public,';
          $sql.= ' ref_client,';
                $sql.= ' fk_user_author, fk_projet,';
-               $sql.= ' fk_cond_reglement, fk_mode_reglement, 
date_lim_reglement, ref_client) ';
+               $sql.= ' fk_cond_reglement, fk_mode_reglement, 
date_lim_reglement) ';
                $sql.= " VALUES (";
                $sql.= "'$number','$socid', now(), '$totalht', 
'".$this->remise_absolue."'";
                $sql.= ",'".$this->remise_percent."', 
".$this->db->idate($this->date);
@@ -176,8 +176,7 @@
                $sql.= ",".($this->projetid?$this->projetid:"null");
                $sql.= ','.$this->cond_reglement_id;
                $sql.= ",".$this->mode_reglement_id;
-               $sql.= ','.$this->db->idate($datelim);
-               $sql.= ", '".$this->ref_client."')";
+               $sql.= ','.$this->db->idate($datelim).")";
 
                $resql=$this->db->query($sql);
                if ($resql)




reply via email to

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