issue #0001174: Retour du controle des formes juridiques
This commit is contained in:
parent
2f87519f1b
commit
6fa9c1fe10
@ -1104,6 +1104,13 @@ class PiecesController extends Zend_Controller_Action
|
|||||||
if ($user->checkPerm('kbis')) {
|
if ($user->checkPerm('kbis')) {
|
||||||
$permKbis = true;
|
$permKbis = true;
|
||||||
//Vérification que le kbis est disponible
|
//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
|
//=> Département
|
||||||
$dep = substr($session->getCodeCommune(),0,2);
|
$dep = substr($session->getCodeCommune(),0,2);
|
||||||
if ( in_array($dep, array('00','57','67','68','97','98')) ) {
|
if ( in_array($dep, array('00','57','67','68','97','98')) ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user