Correction du n'importe quoi webservice

This commit is contained in:
Michael RICOIS 2016-06-20 11:20:13 +02:00
parent ab23f5e9db
commit cff02fad4b

View File

@ -150,8 +150,9 @@ class IdentiteEntreprise
public function getNumRMLabel()
{
if ( !empty($this->identite->NumRM) )
if ( !empty($this->identite->NumRM) ) {
return 'Répertoire des métiers';
}
}
public function getNumRMTexte()
@ -918,8 +919,9 @@ class IdentiteEntreprise
}
public function getActiviteArtisanaleTexte()
{
if ($this->identite->ActiviteArtisanale!='') {
return $this->identite->ActiviteArtisanale;
if ($this->identite->Nafa!='') {
$data = $this->identite->NafaLib . ' ('.$this->identite->Nafa.')';
return $data;
}
return false;