RRG : mise en surveillance, libellé CS et test retour calcul indiscore
This commit is contained in:
parent
f254540d8c
commit
2c4fada7c4
@ -186,9 +186,9 @@ if ( count($resultItem) == 0 ) {
|
||||
$DateCreaEn = '';
|
||||
$BilanCA = '';
|
||||
$BilanDateCloture = '';
|
||||
if (/*true*/$item->indiScoreDate === null) {
|
||||
if ($item->indiScoreDate === null) {
|
||||
if ($opts->debug) { echo " - Calcul du score"; }
|
||||
$evaluation = calculIndiScore($item->siren, 0, false, 0);
|
||||
$evaluation = calculIndiScore($item->siren, 0, false, 0, false, 'scores', $iDb);
|
||||
if ( $evaluation['DateCreaEt'] > 0 && $evaluation['DateCreaEt'] < $evaluation['DateCreaEn'] ) {
|
||||
$DateCreaEn = $evaluation['DateCreaEt'];
|
||||
} elseif ( $evaluation['DateCreaEn'] > 0 ) {
|
||||
@ -234,7 +234,7 @@ if ( count($resultItem) == 0 ) {
|
||||
if ( in_array($PaiementCS, array('0', 'I', 'P', 'D')) ) {
|
||||
$iFacto = new MFacto($iDb);
|
||||
$info = $iFacto->getLibInfoCS($PaiementCS);
|
||||
$PaiementInfo = $info['libExt'];
|
||||
$PaiementInfo = $info['LibCS'];
|
||||
}
|
||||
|
||||
$values = array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user