Update supplier_proposal.class.php

This commit is contained in:
Laurent Destailleur 2018-04-11 17:29:45 +02:00 committed by GitHub
parent 80a4428955
commit 9634f4c82a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -838,8 +838,8 @@ class SupplierProposal extends CommonObject
$sql.= ", '".$this->db->escape($this->note_private)."'";
$sql.= ", '".$this->db->escape($this->note_public)."'";
$sql.= ", '".$this->db->escape($this->modelpdf)."'";
$sql.= ", ".($this->cond_reglement_id?$this->cond_reglement_id:'NULL');
$sql.= ", ".($this->mode_reglement_id?$this->mode_reglement_id:'NULL');
$sql.= ", ".($this->cond_reglement_id > 0 ? $this->cond_reglement_id : 'NULL');
$sql.= ", ".($this->mode_reglement_id > 0 ? $this->mode_reglement_id : 'NULL');
$sql.= ", ".($this->fk_account>0?$this->fk_account:'NULL');
$sql.= ", ".($this->date_livraison!=''?"'".$this->db->idate($this->date_livraison)."'":"null");
$sql.= ", ".($this->shipping_method_id>0?$this->shipping_method_id:'NULL');