From c05552e1cc634368cc8107b991db85f3e433820d Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Sun, 3 Mar 2019 21:42:28 +0100 Subject: [PATCH] Fixe date on fetch don.class.php v 10 --- htdocs/don/class/don.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/don/class/don.class.php b/htdocs/don/class/don.class.php index 834f16c7737..1dc797fc33a 100644 --- a/htdocs/don/class/don.class.php +++ b/htdocs/don/class/don.class.php @@ -678,6 +678,7 @@ class Don extends CommonObject $this->date_creation = $this->db->jdate($obj->datec); $this->datec = $this->db->jdate($obj->datec); $this->date_validation = $this->db->jdate($obj->date_valid); + $this->date_valid = $this->db->jdate($obj->date_valid); $this->date_modification = $this->db->jdate($obj->datem); $this->datem = $this->db->jdate($obj->datem); $this->date = $this->db->jdate($obj->datedon); @@ -704,7 +705,7 @@ class Don extends CommonObject $this->mode_reglement_id = $obj->fk_payment; $this->mode_reglement_code= $obj->payment_code; $this->mode_reglement = $obj->payment_label; - $this->paid = $obj->paid; + $this->paid = $obj->paid; $this->amount = $obj->amount; $this->note_private = $obj->note_private; $this->note_public = $obj->note_public;