Qual: Mise en transaction de la creation des cotisations
This commit is contained in:
parent
87afad2a34
commit
62d8003a28
@ -1257,6 +1257,18 @@ class Adherent
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Retourne le nom complet de l'adhérent
|
||||
* \return string Nom complet
|
||||
*/
|
||||
function getFullname()
|
||||
{
|
||||
if ($this->nom && $this->prenom) return $this->nom.' '.$this->prenom;
|
||||
if ($this->nom) return $this->nom;
|
||||
if ($this->prenom) return $this->prenom;
|
||||
return '';
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Retourne le libellé du statut d'un adhérent (brouillon, validé, résilié)
|
||||
* \return string Libellé
|
||||
|
||||
Loading…
Reference in New Issue
Block a user