Correction NumRM

This commit is contained in:
Michael RICOIS 2011-08-16 10:34:42 +00:00
parent 54f944a19a
commit 267d9c931b

View File

@ -105,7 +105,7 @@ class IdentiteEntreprise
if (!empty($this->identite->NumRC) && preg_match('/(P)/i', $this->identite->NumRC))
return 'Numéro R.S.A.C.';
if (!empty($this->identite->numRM))
if (!empty($this->identite->NumRM))
return 'Répertoire des métiers';
}
public function getNumRCTexte()
@ -120,8 +120,8 @@ class IdentiteEntreprise
return $this->identite->NumRC.$libTrib;
}
if (!empty($this->identite->numRM)){
return $this->identite->numRM;
if (!empty($this->identite->NumRM)){
return $this->identite->NumRM;
}
return false;
}