Evaluation Indiscore : suppression variable inutile

This commit is contained in:
Michael RICOIS 2014-10-21 08:35:33 +00:00
parent aa6368356e
commit 669b96cf34

View File

@ -1144,7 +1144,6 @@ function calculIndiScore($siren, $nic=0, $accesDist=false, $cycleClient=2, $mail
$nmp=$tabBilan[0]['DUREE_MOIS_PRE'];
$BILANDATE=$tabBilan[0]['DATE_CLOTURE'];
$tabClotures[$BILANDATE]=$BILANDATE;
$BILANDATEp=$tabBilan[0]['DATE_CLOTURE_PRE'];
if ($BILANDATEp==0) $BILANDATEp=$tabBilan[1]['DATE_CLOTURE'];
@ -1155,7 +1154,6 @@ function calculIndiScore($siren, $nic=0, $accesDist=false, $cycleClient=2, $mail
$BILANp=1;
$nbMoisBilDate=$classWdate->nbMoisEntre($BILANDATEp, $BILANDATE);
$nbMoisBilCumul+=$nmp;
$tabClotures[$BILANDATEp]=$BILANDATEp;
}
$BILANDATEp2 =$tabBilan[2]['DATE_CLOTURE'];
@ -1165,7 +1163,6 @@ function calculIndiScore($siren, $nic=0, $accesDist=false, $cycleClient=2, $mail
$BILANp2=1;
$nbMoisBilDate=$classWdate->nbMoisEntre($BILANDATEp2, $BILANDATE);
$nbMoisBilCumul+=$nmp2;
$tabClotures[$BILANDATEp2]=$BILANDATEp2;
}
$BILANDATEp3 =$tabBilan[3]['DATE_CLOTURE'];
@ -1175,7 +1172,6 @@ function calculIndiScore($siren, $nic=0, $accesDist=false, $cycleClient=2, $mail
$BILANp3=1;
$nbMoisBilDate=$classWdate->nbMoisEntre($BILANDATEp3, $BILANDATE);
$nbMoisBilCumul+=$nmp3;
$tabClotures[$BILANDATEp3]=$BILANDATEp3;
}
$BILANDATEp4 =$tabBilan[4]['DATE_CLOTURE'];
@ -1185,7 +1181,6 @@ function calculIndiScore($siren, $nic=0, $accesDist=false, $cycleClient=2, $mail
$BILANp4=1;
$nbMoisBilDate=$classWdate->nbMoisEntre($BILANDATEp4, $BILANDATE);
//$nbMoisBilCumul+=$nmp4;
$tabClotures[$BILANDATEp4]=$BILANDATEp4;
}
// Liste des années de bilans ultérieurs
@ -1341,12 +1336,10 @@ function calculIndiScore($siren, $nic=0, $accesDist=false, $cycleClient=2, $mail
}
}
}
$tabClotures[str_replace('-','',$depot['dateEffet'])]=str_replace('-','',$depot['DateParution']);
$lastDepot=$depot['dateEffet'];
$ANNONCEBOD++;
$ANNONCEBODC++;
}
sort($tabClotures);
}
// Publications régulieres et 12 mois identiques