mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Fix: erreur sql si pas de date de livraison
This commit is contained in:
@@ -371,7 +371,7 @@ class Commande extends CommonObject
|
||||
$sql.= ' '.$this->source.', ';
|
||||
$sql.= " '".addslashes($this->note)."', ";
|
||||
$sql.= " '".addslashes($this->ref_client)."', '".$this->modelpdf."', '".$this->cond_reglement_id."', '".$this->mode_reglement_id."',";
|
||||
$sql.= ' '.($this->date_livraison?$this->db->idate($this->date_livraison):'null').',';
|
||||
$sql.= " '".($this->date_livraison?$this->db->idate($this->date_livraison):'null')."',";
|
||||
$sql.= " '".$this->adresse_livraison_id."',";
|
||||
$sql.= " '".$this->remise_absolue."',";
|
||||
$sql.= " '".$this->remise_percent."')";
|
||||
|
||||
Reference in New Issue
Block a user