diff --git a/htdocs/fourn/commande/modules/pdf/pdf_muscadet.modules.php b/htdocs/fourn/commande/modules/pdf/pdf_muscadet.modules.php index 5054677ab4f..34bdd7ff9a6 100644 --- a/htdocs/fourn/commande/modules/pdf/pdf_muscadet.modules.php +++ b/htdocs/fourn/commande/modules/pdf/pdf_muscadet.modules.php @@ -672,7 +672,7 @@ class pdf_muscadet extends ModelePDFCommandesSuppliers $posy+=6; $pdf->SetXY(100,$posy); $pdf->SetTextColor(0,0,60); - $pdf->MultiCell(100, 4, $langs->trans("Date")." : " . dolibarr_print_date($com->date_commande,"%d %b %Y"), '', 'R'); + $pdf->MultiCell(100, 4, $langs->trans("Date")." : " . dolibarr_print_date($com->date,"%d %b %Y"), '', 'R'); if ($showadress) { diff --git a/htdocs/fourn/fournisseur.commande.class.php b/htdocs/fourn/fournisseur.commande.class.php index dcea3b0ca9f..ac1e9002862 100644 --- a/htdocs/fourn/fournisseur.commande.class.php +++ b/htdocs/fourn/fournisseur.commande.class.php @@ -90,9 +90,10 @@ class CommandeFournisseur $this->total_tva = $obj->tva; $this->total_ttc = $obj->total_ttc; $this->date_commande = $obj->date_commande; // date ŕ laquelle la commande a été transmise + $this->date = $obj->date_creation; $this->remise_percent = $obj->remise_percent; $this->methode_commande_id = $obj->fk_methode_commande; - $this->methode_commande = $obj->methode_commande; + $this->methode_commande = $obj->methode_commande; $this->source = $obj->source; $this->facturee = $obj->facture;