dolibarr-cvs
[Top][All Lists]
Advanced

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

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


From: Regis Houssin
Subject: [Dolibarr-cvs] dolibarr/htdocs/commande commande.class.php
Date: Tue, 20 Jun 2006 17:10:36 +0000

CVSROOT:        /cvsroot/dolibarr
Module name:    dolibarr
Changes by:     Regis Houssin <hregis>  06/06/20 17:10:36

Modified files:
        htdocs/commande: commande.class.php 

Log message:
        Fix: la note publique à la création se mettait dans la note privée

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/dolibarr/htdocs/commande/commande.class.php?cvsroot=dolibarr&r1=1.168&r2=1.169

Patches:
Index: commande.class.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/commande/commande.class.php,v
retrieving revision 1.168
retrieving revision 1.169
diff -u -b -r1.168 -r1.169
--- commande.class.php  20 Jun 2006 16:42:01 -0000      1.168
+++ commande.class.php  20 Jun 2006 17:10:36 -0000      1.169
@@ -18,7 +18,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: commande.class.php,v 1.168 2006/06/20 16:42:01 hregis Exp $
+ * $Id: commande.class.php,v 1.169 2006/06/20 17:10:36 hregis Exp $
  * $Source: /cvsroot/dolibarr/dolibarr/htdocs/commande/commande.class.php,v $
  */
  
@@ -26,7 +26,7 @@
         \file       htdocs/commande/commande.class.php
         \ingroup    commande
         \brief      Fichier des classes de commandes
-        \version    $Revision: 1.168 $
+        \version    $Revision: 1.169 $
 */
 
 require_once(DOL_DOCUMENT_ROOT ."/commonobject.class.php");
@@ -361,7 +361,7 @@
         $this->db->begin();
        
                $sql = 'INSERT INTO '.MAIN_DB_PREFIX.'commande (';
-               $sql.= 'fk_soc, date_creation, fk_user_author, fk_projet, 
date_commande, source, note, ref_client,';
+               $sql.= 'fk_soc, date_creation, fk_user_author, fk_projet, 
date_commande, source, note_public, ref_client,';
                $sql.= ' model_pdf, fk_cond_reglement, fk_mode_reglement, 
date_livraison, fk_adresse_livraison,';
                $sql.= ' remise_absolue, remise_percent)';
                $sql.= ' VALUES ('.$this->socidp.', now(), '.$user->id.', 
'.$this->projetid.',';




reply via email to

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