Fix issue with some poste these are not rely to the unit
This commit is contained in:
parent
74b4e69298
commit
0560448501
@ -34,15 +34,15 @@ class Liasse
|
|||||||
|
|
||||||
//Affectaction des postes
|
//Affectaction des postes
|
||||||
foreach ($data->POSTES->item as $element){
|
foreach ($data->POSTES->item as $element){
|
||||||
if (in_array(array(
|
if (in_array($element->id, array(
|
||||||
'YP', 'YP1', '376', // Effectifs 2033 et 2050
|
'YP', 'YP1', '376', // Effectifs 2033 et 2050
|
||||||
'M2G', 'M2H', // Autres effectifs
|
'M2G', 'M2H', // Autres effectifs
|
||||||
'ZK', 'ZK1', // Taux
|
'ZK', 'ZK1', // Taux
|
||||||
'IJ', 'JG', 'JH', 'JJ', 'ZR', // pour holding/ste mere
|
'IJ', 'JG', 'JH', 'JJ', 'ZR', // pour holding/ste mere
|
||||||
'XP' //numero de centre de gestion agréé
|
'XP' //numero de centre de gestion agréé
|
||||||
), $element->id))
|
)))
|
||||||
{
|
{
|
||||||
$this->postes[$element->id] = $element->val;
|
$this->postes[$element->id] = number_format($element->val, 0, '', ' ');
|
||||||
} else {
|
} else {
|
||||||
$this->postes[$element->id] = $this->dMontant($element->val);
|
$this->postes[$element->id] = $this->dMontant($element->val);
|
||||||
}
|
}
|
||||||
@ -177,10 +177,10 @@ class Liasse
|
|||||||
'YY'=>'374',
|
'YY'=>'374',
|
||||||
'YZ'=>'378',
|
'YZ'=>'378',
|
||||||
'YP'=>'376',
|
'YP'=>'376',
|
||||||
|
|
||||||
//@todo : Traiter N-1
|
//@todo : Traiter N-1
|
||||||
|
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
$bilanRN=array();
|
$bilanRN=array();
|
||||||
|
Loading…
Reference in New Issue
Block a user