Merge pull request #9784 from ptibogxiv/patch-80

FIX harmony in date name with API
This commit is contained in:
Laurent Destailleur 2018-10-19 13:29:59 +02:00 committed by GitHub
commit cff2b923f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,6 +112,7 @@ class Facture extends CommonInvoice
public $date; // Date invoice
public $date_creation; // Creation date
public $date_validation; // Validation date
public $date_modification; // Validation date
public $datem;
public $ref_client;
public $ref_int;
@ -1361,6 +1362,7 @@ class Facture extends CommonInvoice
$this->date_pointoftax = $this->db->jdate($obj->date_pointoftax);
$this->date_creation = $this->db->jdate($obj->datec);
$this->date_validation = $this->db->jdate($obj->datev);
$this->date_modification = $this->db->jdate($obj->datem);
$this->datem = $this->db->jdate($obj->datem);
$this->remise_percent = $obj->remise_percent;
$this->remise_absolue = $obj->remise_absolue;