Merge pull request #17826 from ptibogxiv/patch-428

Fix date_start of last subscription
This commit is contained in:
Laurent Destailleur 2021-06-10 13:01:07 +02:00 committed by GitHub
commit 5d6735f364
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1402,7 +1402,7 @@ class Adherent extends CommonObject
$this->first_subscription_amount = $obj->subscription;
}
$this->last_subscription_date = $this->db->jdate($obj->datec);
$this->last_subscription_date_start = $this->db->jdate($obj->datef);
$this->last_subscription_date_start = $this->db->jdate($obj->dateh);
$this->last_subscription_date_end = $this->db->jdate($obj->datef);
$this->last_subscription_amount = $obj->subscription;