Ajout de todo
This commit is contained in:
parent
aa6b4b6d30
commit
c97312b21e
@ -29,10 +29,10 @@ class RapportComment
|
||||
$this->siren = substr($siret, 0,9);
|
||||
|
||||
//Traitement des ratios
|
||||
foreach($ratios->RatiosInfos->item as $item){
|
||||
foreach($ratios->RatiosInfos->item as $item){ //@todo : protection
|
||||
$this->ratiosInfos[$item->id] = $item;
|
||||
}
|
||||
foreach($ratios->BilansInfos->item as $item){
|
||||
foreach($ratios->BilansInfos->item as $item){ //@todo : protection
|
||||
if ($item->typeBilan == 'N') {
|
||||
$this->bilansInfos[$item->dateCloture] = $item;
|
||||
foreach($item->RatiosEntrep->item as $ratiosItem){
|
||||
@ -43,7 +43,7 @@ class RapportComment
|
||||
ksort($this->bilansInfos);
|
||||
ksort($this->ratiosEntrep);
|
||||
|
||||
foreach($ratios->RatiosSecteur->item as $item){
|
||||
foreach($ratios->RatiosSecteur->item as $item){ //@todo : protection
|
||||
foreach($item->liste->item as $ratiosItem){
|
||||
$this->ratiosSecteur[$item->annee][$ratiosItem->id] = $ratiosItem->val;
|
||||
}
|
||||
@ -539,7 +539,7 @@ class RapportComment
|
||||
'style' => $matches[2],
|
||||
);
|
||||
$tabRatio = $tabProjection[$titreRatio.'_Y'];
|
||||
krsort($tabRatio);
|
||||
krsort($tabRatio); // @todo : il se peut que $tabRatio = null
|
||||
foreach ( $tabRatio as $key => $valRatio ){
|
||||
$index = (int)substr($key,0,4);
|
||||
$data[$index][$nbRatio] = $valRatio;
|
||||
|
Loading…
Reference in New Issue
Block a user