Correction du n'importe quoi webservice
This commit is contained in:
parent
ab23f5e9db
commit
cff02fad4b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user