Formattage
This commit is contained in:
parent
e6ab24b609
commit
8cc151db58
@ -628,18 +628,18 @@ class MBilans
|
||||
}
|
||||
|
||||
$tabInsert=array(
|
||||
'siren' =>$this->siren,
|
||||
'dateProvPartenaire'=>$tabBilan['DATE_FRAICHE_BILAN'],
|
||||
'dateExercice' =>$classWDate->dateT('d/m/Y','Ymd',$tabBilan['DATE_CLOTURE']),
|
||||
'dateExercicePre' =>$classWDate->dateT('d/m/Y','Ymd',$tabBilan['DATE_CLOTURE_PRE']),
|
||||
'dureeExercice' =>$tabBilan['DUREE_MOIS'],
|
||||
'dureeExercicePre' =>$tabBilan['DUREE_MOIS_PRE'],
|
||||
'monnaie' =>$tabBilan['MONNAIE'],
|
||||
'typeBilan' =>$tabBilan['TYPE_BILAN'],
|
||||
'monnaieOrigine' =>$tabBilan['MONNAIE_ORI'],
|
||||
'unite' =>$tabBilan['MONNAIE_LIV_UNITE'],
|
||||
'postes' =>$strPostes,
|
||||
'partenaire' =>$tabBilan['SOURCE'],
|
||||
'siren' => $this->siren,
|
||||
'dateProvPartenaire'=> $tabBilan['DATE_FRAICHE_BILAN'],
|
||||
'dateExercice' => $classWDate->dateT('d/m/Y','Ymd',$tabBilan['DATE_CLOTURE']),
|
||||
'dateExercicePre' => $classWDate->dateT('d/m/Y','Ymd',$tabBilan['DATE_CLOTURE_PRE']),
|
||||
'dureeExercice' => $tabBilan['DUREE_MOIS'],
|
||||
'dureeExercicePre' => $tabBilan['DUREE_MOIS_PRE'],
|
||||
'monnaie' => $tabBilan['MONNAIE'],
|
||||
'typeBilan' => $tabBilan['TYPE_BILAN'],
|
||||
'monnaieOrigine' => $tabBilan['MONNAIE_ORI'],
|
||||
'unite' => $tabBilan['MONNAIE_LIV_UNITE'],
|
||||
'postes' => $strPostes,
|
||||
'partenaire' => $tabBilan['SOURCE'],
|
||||
);
|
||||
if (!$this->iDb->insert('bilans', $tabInsert, true)) {
|
||||
$this->iDb->update('bilans', $tabInsert, "siren='$this->siren' AND typeBilan='$typeBilan' AND dateExercice='$millesimeDB'");
|
||||
|
Loading…
Reference in New Issue
Block a user