Update don.class.php

This commit is contained in:
ptibogxiv 2019-02-27 00:14:11 +01:00 committed by GitHub
parent 70e451a886
commit 70fc33e8bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -674,8 +674,10 @@ class Don extends CommonObject
$this->id = $obj->rowid; $this->id = $obj->rowid;
$this->ref = $obj->rowid; $this->ref = $obj->rowid;
$this->date_creation = $this->db->jdate($obj->datec);
$this->datec = $this->db->jdate($obj->datec); $this->datec = $this->db->jdate($obj->datec);
$this->date_valid = $this->db->jdate($obj->date_valid); $this->date_validation = $this->db->jdate($obj->date_valid);
$this->date_modification = $this->db->jdate($obj->datem);
$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->socid = $obj->socid; $this->socid = $obj->socid;
@ -698,9 +700,9 @@ class Don extends CommonObject
$this->fk_projet = $obj->fk_project; // deprecated $this->fk_projet = $obj->fk_project; // deprecated
$this->fk_project = $obj->fk_project; $this->fk_project = $obj->fk_project;
$this->public = $obj->public; $this->public = $obj->public;
$this->modepaymentid = $obj->fk_payment; $this->mode_reglement_id = $obj->fk_payment;
$this->modepaymentcode = $obj->payment_code; $this->mode_reglement_code= $obj->payment_code;
$this->modepayment = $obj->payment_label; $this->mode_reglement = $obj->payment_label;
$this->paid = $obj->paid; $this->paid = $obj->paid;
$this->amount = $obj->amount; $this->amount = $obj->amount;
$this->note_private = $obj->note_private; $this->note_private = $obj->note_private;