Qual: Mise en transaction de la creation des cotisations

This commit is contained in:
Laurent Destailleur 2005-08-15 01:03:43 +00:00
parent 87afad2a34
commit 62d8003a28

View File

@ -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é