Remove warning
This commit is contained in:
parent
826e4c2837
commit
fb1ddb3a8a
@ -4686,14 +4686,22 @@ class Entreprise extends Scores_Ws_Server
|
||||
|| ( $tabBilan[$i]['CONSOLIDE']=='N' && isset($tabRatios[$i+1]) && ($tabBilan[$i+1]['CONSOLIDE']=='N'
|
||||
|| ($tabBilan[$i+1]['CONSOLIDE']=='S'&& $tabBilan[$i+1]['DATE_CLOTURE']<>$tabBilan[$i]['DATE_CLOTURE'])) )
|
||||
) {
|
||||
if ($tabRatios[$i+1][$Ridx] == 0) {
|
||||
$Rmont = 'NS';
|
||||
} else {
|
||||
$Rmont = (($R[$Ridx]-$tabRatios[$i+1][$Ridx])*100)/abs($tabRatios[$i+1][$Ridx]);
|
||||
}
|
||||
}
|
||||
elseif ( ( $tabBilan[$i]['CONSOLIDE']=='S' && isset($tabRatios[$i+1]) && ($tabBilan[$i+2]['CONSOLIDE']=='S'
|
||||
|| ($tabBilan[$i+2]['CONSOLIDE']=='N' && $tabBilan[$i+2]['DATE_CLOTURE']<>$tabBilan[$i]['DATE_CLOTURE'])) )
|
||||
|| ( $tabBilan[$i]['CONSOLIDE']=='N' && isset($tabRatios[$i+1]) && ($tabBilan[$i+2]['CONSOLIDE']=='N'
|
||||
|| ($tabBilan[$i+2]['CONSOLIDE']=='S'&& $tabBilan[$i+2]['DATE_CLOTURE']<>$tabBilan[$i]['DATE_CLOTURE'])) )
|
||||
) {
|
||||
if ($tabRatios[$i+2][$Ridx] == 0) {
|
||||
$Rmont = 'NS';
|
||||
} else {
|
||||
$Rmont = (($R[$Ridx]-$tabRatios[$i+2][$Ridx])*100)/abs($tabRatios[$i+2][$Ridx]);
|
||||
}
|
||||
} else {
|
||||
$Rmont = 'NS';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user