Update don.class.php

This commit is contained in:
ptibogxiv 2019-01-18 16:32:13 +01:00 committed by GitHub
parent d961ae3225
commit c2c238ec24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -367,7 +367,7 @@ class Don extends CommonObject
$sql.= ", entity"; $sql.= ", entity";
$sql.= ", amount"; $sql.= ", amount";
$sql.= ", fk_payment"; $sql.= ", fk_payment";
$sql.= ", fk_soc"; $sql.= ", fk_soc";
$sql.= ", firstname"; $sql.= ", firstname";
$sql.= ", lastname"; $sql.= ", lastname";
$sql.= ", societe"; $sql.= ", societe";
@ -673,7 +673,7 @@ class Don extends CommonObject
$this->date_valid = $this->db->jdate($obj->date_valid); $this->date_valid = $this->db->jdate($obj->date_valid);
$this->datem = $this->db->jdate($obj->datem); $this->datem = $this->db->jdate($obj->datem);
$this->date = $this->db->jdate($obj->datedon); $this->date = $this->db->jdate($obj->datedon);
$this->fk_soc = $obj->fk_soc; $this->fk_soc = $obj->fk_soc;
$this->firstname = $obj->firstname; $this->firstname = $obj->firstname;
$this->lastname = $obj->lastname; $this->lastname = $obj->lastname;
$this->societe = $obj->societe; $this->societe = $obj->societe;