Formattage
This commit is contained in:
parent
b8604ddaf7
commit
9985625f70
@ -1,4 +1,6 @@
|
||||
<?php
|
||||
require_once 'framework/common/dates.php';
|
||||
|
||||
global $timer;
|
||||
|
||||
class Metier_Insee_MInsee
|
||||
@ -5414,7 +5416,7 @@ class Metier_Insee_MInsee
|
||||
);
|
||||
}
|
||||
}
|
||||
// --- Detection procédure collective
|
||||
// --- Detection plan
|
||||
if ($visualisation === false) {
|
||||
$this->getAnnoncesLegalesPlan('bodacc', $fj, $ann);
|
||||
}
|
||||
@ -5432,7 +5434,9 @@ class Metier_Insee_MInsee
|
||||
}
|
||||
}
|
||||
|
||||
if ($ann['Rubrique']=='procol') $procol = true;
|
||||
if ($ann['Rubrique']=='procol') {
|
||||
$procol = true;
|
||||
}
|
||||
|
||||
$dateCes=str_replace('-','', $ann['dateCessationActivite'])*1;
|
||||
$dateDeb=str_replace('-','', $ann['dateDebutActivite'])*1;
|
||||
@ -5491,7 +5495,9 @@ class Metier_Insee_MInsee
|
||||
|
||||
if ($ann['JAL']==1) $Bodacc_Code='BODA';
|
||||
elseif ($ann['JAL']==200) $Bodacc_Code='BODB';
|
||||
if ($ann['CODEVE']>49 && $ann['CODEVE']<80) $procol=true;
|
||||
if ($ann['CODEVE']>49 && $ann['CODEVE']<80) {
|
||||
$procol = true;
|
||||
}
|
||||
|
||||
if ($ann['CODEVE']<20) $rub='creations'; // 4xxx
|
||||
elseif ($ann['CODEVE']<=25) $rub='ventes'; // 5xxx
|
||||
@ -5523,7 +5529,7 @@ class Metier_Insee_MInsee
|
||||
'LibEven' => $this->iBodacc->getEvenement($newCodeEven)
|
||||
);
|
||||
|
||||
// --- Detection procédure collective
|
||||
// --- Detection plan
|
||||
if ($visualisation === false) {
|
||||
$this->getAnnoncesLegalesPlan('histo', $fj, $ann);
|
||||
}
|
||||
@ -5539,7 +5545,7 @@ class Metier_Insee_MInsee
|
||||
if (substr(strtoupper($matches[2]),0,3)=='EUR')
|
||||
$capitalDev='EUR';
|
||||
elseif (substr(strtoupper($matches[2]),0,3)=='LIV')
|
||||
$capitalDev='GBP';
|
||||
$capitalDev='GBP';
|
||||
else
|
||||
$capitalDev='FRF';
|
||||
} else
|
||||
@ -5726,7 +5732,7 @@ class Metier_Insee_MInsee
|
||||
}
|
||||
}
|
||||
|
||||
// --- Detection procédure collective
|
||||
// --- Detection plan
|
||||
if ($visualisation === false) {
|
||||
$this->getAnnoncesLegalesPlan('annonce', $fj, $ann);
|
||||
}
|
||||
@ -5827,14 +5833,13 @@ class Metier_Insee_MInsee
|
||||
$evenFirst = current($tabJugements);
|
||||
$derProcol = str_replace('-','', key($tabJugements))*1;
|
||||
|
||||
//@todo : Mettre en cache
|
||||
// --- Evenements effaçant l'indicateur P dans Situation Juridique
|
||||
$tabNoProcol = array();
|
||||
$tmp = $this->iDb->select('jo.tabEvenements', 'codEven, affProcol', 'affProcol>0', false, MYSQL_ASSOC);
|
||||
foreach ($tmp as $tmp2) {
|
||||
$tabNoProcol[$tmp2['codEven']] = $tmp2['affProcol'];
|
||||
}
|
||||
|
||||
// --- Evenements effaçant l'indicateur P dans Situation Juridique
|
||||
if (array_key_exists($evenFirst, $tabNoProcol)) {
|
||||
switch ($tabNoProcol[$evenFirst]) {
|
||||
// PAS DE MENTION DE LA PROCOL
|
||||
|
Loading…
Reference in New Issue
Block a user