mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-02 22:33:36 +01:00
Add property mail_exclusion
Unused for the moment
This commit is contained in:
@@ -103,6 +103,9 @@ class AdherentType extends CommonObject
|
||||
/** @var string Email sent after resiliation */
|
||||
public $mail_resiliate = '';
|
||||
|
||||
/** @var string Email sent after exclusion */
|
||||
public $mail_exclusion = '';
|
||||
|
||||
/** @var array Array of members */
|
||||
public $members = array();
|
||||
|
||||
@@ -817,4 +820,19 @@ class AdherentType extends CommonObject
|
||||
|
||||
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 '';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user