Add property mail_exclusion
Unused for the moment
This commit is contained in:
parent
8f73334a79
commit
5f0249894d
@ -103,6 +103,9 @@ class AdherentType extends CommonObject
|
|||||||
/** @var string Email sent after resiliation */
|
/** @var string Email sent after resiliation */
|
||||||
public $mail_resiliate = '';
|
public $mail_resiliate = '';
|
||||||
|
|
||||||
|
/** @var string Email sent after exclusion */
|
||||||
|
public $mail_exclusion = '';
|
||||||
|
|
||||||
/** @var array Array of members */
|
/** @var array Array of members */
|
||||||
public $members = array();
|
public $members = array();
|
||||||
|
|
||||||
@ -817,4 +820,19 @@ class AdherentType extends CommonObject
|
|||||||
|
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getMailOnExclusion
|
||||||
|
*
|
||||||
|
* @return string Return mail model content of type or empty
|
||||||
|
*/
|
||||||
|
public function getMailOnExclusion()
|
||||||
|
{
|
||||||
|
// NOTE mail_exclusion not defined so never used
|
||||||
|
if (!empty($this->mail_exclusion) && trim(dol_htmlentitiesbr_decode($this->mail_exclusion))) { // Property not yet defined
|
||||||
|
return $this->mail_exclusion;
|
||||||
|
}
|
||||||
|
|
||||||
|
return '';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user