diff --git a/application/controllers/PiecesController.php b/application/controllers/PiecesController.php index 48a2700e1..7e6f093b5 100644 --- a/application/controllers/PiecesController.php +++ b/application/controllers/PiecesController.php @@ -1104,6 +1104,13 @@ class PiecesController extends Zend_Controller_Action if ($user->checkPerm('kbis')) { $permKbis = true; //Vérification que le kbis est disponible + if ( substr($session->getFormeJuridique(),0,1) == 7 + || substr($session->getFormeJuridique(),0,1) == 8 + || substr($session->getFormeJuridique(),0,1) == 9 + || in_array($session->getFormeJuridique(), array(1300,1500,1600,1800,1900) ) + ){ + $kbisErrCJ = true; + } //=> Département $dep = substr($session->getCodeCommune(),0,2); if ( in_array($dep, array('00','57','67','68','97','98')) ) {