Ajout dateImmage dans le fichier de sortie
This commit is contained in:
parent
e10bc9d574
commit
a6dd1294d0
@ -20,6 +20,14 @@ class Enrichissement
|
||||
'label' => "Raison Sociale",
|
||||
'column' => 'raisonSociale'
|
||||
),
|
||||
'raisonSocialeRncs' => array(
|
||||
'label' => "Raison Sociale RNCS",
|
||||
'column' => "raisonSocialeRncs",
|
||||
),
|
||||
'nomcommercial' => array(
|
||||
'label' => "Nom commercial",
|
||||
'column' => 'nomCommercial',
|
||||
),
|
||||
'enseigne' => array(
|
||||
'label' => "Enseigne",
|
||||
'column' => 'enseigne'
|
||||
@ -28,10 +36,6 @@ class Enrichissement
|
||||
'label' => "Sigle",
|
||||
'column' => 'sigle'
|
||||
),
|
||||
'marques' => array(
|
||||
'label' => "Marques déposées",
|
||||
'column' => 'marques'
|
||||
),
|
||||
'adresse' => array(
|
||||
'label' => 'Adresse',
|
||||
'column' => 'adresse',
|
||||
@ -58,6 +62,14 @@ class Enrichissement
|
||||
'column' => 'codecom',
|
||||
'sql' => 'CONCAT(adr_dep, adr_com) AS codecommune',
|
||||
),
|
||||
'adrDom' => array(
|
||||
'label' => "Indicateur de domiciliation",
|
||||
'column' => 'adrDom',
|
||||
'values' => array(
|
||||
'0' => "Non",
|
||||
'1' => "Oui",
|
||||
)
|
||||
),
|
||||
'tel' => array(
|
||||
'label' => "Téléphone",
|
||||
'column' => 'tel' ,
|
||||
@ -68,6 +80,29 @@ class Enrichissement
|
||||
'column' => 'fax',
|
||||
'sql' => 'LPAD(fax, 10, 0000000000) AS fax'
|
||||
),
|
||||
'mail' => array(
|
||||
'label' => "Adresse email",
|
||||
'column' => 'mail',
|
||||
),
|
||||
'siteweb' => array(
|
||||
'label' => "Site web",
|
||||
'column' => 'web',
|
||||
),
|
||||
'creaetab' => array(
|
||||
'label' => "Date de création de l'établissement",
|
||||
'column' => 'dateCrea_etab',
|
||||
'sql' => "IF(dateCrea_etab = 0,'',CONCAT_WS('-',SUBSTRING(dateCrea_etab,0,4),SUBSTRING(dateCrea_etab,4,2),SUBSTRING(dateCrea_etab,6,2))) AS dateCrea_etab",
|
||||
),
|
||||
'creaent' => array(
|
||||
'label' => "Date de création de l'entreprise",
|
||||
'column' => 'dateCrea_ent',
|
||||
'sql' => "IF(dateCrea_ent = 0,'',CONCAT_WS('-',SUBSTRING(dateCrea_ent,0,4),SUBSTRING(dateCrea_ent,4,2),SUBSTRING(dateCrea_ent,6,2))) AS dateCrea_ent",
|
||||
),
|
||||
'dateimmat' => array(
|
||||
'label' => "Date d'immatriculation de l'entreprise",
|
||||
'column' => 'dateImmat',
|
||||
'sql' => "IF(dateImmat = 0,'',CONCAT_WS('-',SUBSTRING(dateImmat,0,4),SUBSTRING(dateImmat,4,2),SUBSTRING(dateImmat,6,2))) AS dateImmat",
|
||||
),
|
||||
'cj' => array(
|
||||
'label' => "Code Forme juridique",
|
||||
'column' => 'cj',
|
||||
@ -78,25 +113,6 @@ class Enrichissement
|
||||
'cond' => 'jo.etablissements_act.cj = cjL.code'
|
||||
)
|
||||
),
|
||||
'dirigeant' => array(
|
||||
'label' => "Dirigeant",
|
||||
'column' => 'dirigeant',
|
||||
'sql' => "CONCAT_WS(' ', dirCiv, dirNom, dirPrenom) AS dirigeant",
|
||||
),
|
||||
'dirigeantFct' => array(
|
||||
'label' => "Dirigeant - Code Fonction",
|
||||
'column' => 'dirFct',
|
||||
'join' => array(
|
||||
'label' => 'Dirigeant - Libelle Fonction',
|
||||
'column' => 'libelle',
|
||||
'table' => 'jo.bodacc_fonctions',
|
||||
'cond' => 'jo.etablissements_act.dirFct = dirigeantFctL.codeFct'
|
||||
)
|
||||
),
|
||||
'dirigeantnaiss' => array(
|
||||
'label' => "Dirigeant - Date de naissance",
|
||||
'column' => 'dirDateNaiss'
|
||||
),
|
||||
'nafetablissement' => array(
|
||||
'label' => "Code NAF Etablissement",
|
||||
'column' => 'ape_etab',
|
||||
@ -117,6 +133,26 @@ class Enrichissement
|
||||
'cond' => 'jo.etablissements_act.ape_entrep = nafentrepriseL.codNaf5'
|
||||
)
|
||||
),
|
||||
'nbetab' => array(
|
||||
'label' => "Nombre d'établissements",
|
||||
'column' => 'nbEtab',
|
||||
),
|
||||
'capital' => array(
|
||||
'label' => "Capital",
|
||||
'column' => 'capital'
|
||||
),
|
||||
'capitaldev' => array(
|
||||
'label' => "Devise Capital",
|
||||
'column' => 'capitalDev'
|
||||
),
|
||||
'ageentrep' => array(
|
||||
'label' => "Age de l'entreprise",
|
||||
'column' => 'age_entrep'
|
||||
),
|
||||
'ageetab' => array(
|
||||
'label' => "Age de l'établissement",
|
||||
'column' => 'age_etab'
|
||||
),
|
||||
'effetablissement' => array(
|
||||
'label' => "Effectif Etablissement",
|
||||
'column' => 'eff_etab'
|
||||
@ -172,61 +208,24 @@ class Enrichissement
|
||||
'53' => "10 000 salariés et plus",
|
||||
),
|
||||
),
|
||||
'capital' => array(
|
||||
'label' => "Capital",
|
||||
'column' => 'capital'
|
||||
'dirigeant' => array(
|
||||
'label' => "Dirigeant",
|
||||
'column' => 'dirigeant',
|
||||
'sql' => "CONCAT_WS(' ', dirCiv, dirNom, dirPrenom) AS dirigeant",
|
||||
),
|
||||
'capitaldev' => array(
|
||||
'label' => "Devise Capital",
|
||||
'column' => 'capitalDev'
|
||||
),
|
||||
'ageentrep' => array(
|
||||
'label' => "Age de l'entreprise",
|
||||
'column' => 'age_entrep'
|
||||
),
|
||||
'ageetab' => array(
|
||||
'label' => "Age de l'établissement",
|
||||
'column' => 'age_etab'
|
||||
),
|
||||
'raisonSocialeRncs' => array(
|
||||
'label' => "Raison Sociale RNCS",
|
||||
'column' => "raisonSocialeRncs",
|
||||
),
|
||||
'nomcommercial' => array(
|
||||
'label' => "Nom commercial",
|
||||
'column' => 'nomCommercial',
|
||||
),
|
||||
'siteweb' => array(
|
||||
'label' => "Site web",
|
||||
'column' => 'web',
|
||||
),
|
||||
'mail' => array(
|
||||
'label' => "Adresse email",
|
||||
'column' => 'mail',
|
||||
),
|
||||
'isin' => array(
|
||||
'label' => "Code ISIN",
|
||||
'column' => 'isin',
|
||||
),
|
||||
'adrDom' => array(
|
||||
'label' => "Indicateur de domiciliation",
|
||||
'column' => 'adrDom',
|
||||
'values' => array(
|
||||
'0' => "Non",
|
||||
'1' => "Oui",
|
||||
'dirigeantFct' => array(
|
||||
'label' => "Dirigeant - Code Fonction",
|
||||
'column' => 'dirFct',
|
||||
'join' => array(
|
||||
'label' => 'Dirigeant - Libelle Fonction',
|
||||
'column' => 'libelle',
|
||||
'table' => 'jo.bodacc_fonctions',
|
||||
'cond' => 'jo.etablissements_act.dirFct = dirigeantFctL.codeFct'
|
||||
)
|
||||
),
|
||||
'nbetab' => array(
|
||||
'label' => "Nombre d'établissements",
|
||||
'column' => 'nbEtab',
|
||||
),
|
||||
'nbmpubli' => array(
|
||||
'label' => "Nombre de marché public remporté",
|
||||
'column' => 'nbMPubli',
|
||||
),
|
||||
'sirengrp' => array(
|
||||
'label' => "SIREN du groupe",
|
||||
'column' => 'sirenGrp',
|
||||
'dirigeantnaiss' => array(
|
||||
'label' => "Dirigeant - Date de naissance",
|
||||
'column' => 'dirDateNaiss'
|
||||
),
|
||||
'nbactio' => array(
|
||||
'label' => "Nombre d'actionnaires",
|
||||
@ -236,22 +235,13 @@ class Enrichissement
|
||||
'label' => "Nombre de participations",
|
||||
'column' => 'nbPart',
|
||||
),
|
||||
'bilfl' => array(
|
||||
'label' => "CA total (FL)",
|
||||
'column' => 'bilFL',
|
||||
'nbmpubli' => array(
|
||||
'label' => "Nombre de marché public remporté",
|
||||
'column' => 'nbMPubli',
|
||||
),
|
||||
'bilcloture' => array(
|
||||
'label' => 'Date de clôture du bilan',
|
||||
'column' => 'bilCloture',
|
||||
),
|
||||
'biltype' => array(
|
||||
'label' => 'Type du bilan',
|
||||
'column' => 'bilType',
|
||||
'values' => array(
|
||||
'I' => 'Inconnus',
|
||||
'R' => 'Réels',
|
||||
'E' => 'Estimés'
|
||||
)
|
||||
'marques' => array(
|
||||
'label' => "Marques déposées",
|
||||
'column' => 'marques'
|
||||
),
|
||||
/**
|
||||
* TCA
|
||||
@ -276,18 +266,44 @@ class Enrichissement
|
||||
"9" => "200 millions d'euros ou plus",
|
||||
)
|
||||
),
|
||||
'creaetab' => array(
|
||||
'label' => "Date de création de l'établissement",
|
||||
'column' => 'dateCrea_etab',
|
||||
'sql' => "IF(dateCrea_etab = 0,'',CONCAT_WS('-',SUBSTRING(dateCrea_etab,0,4),SUBSTRING(dateCrea_etab,4,2),SUBSTRING(dateCrea_etab,6,2))) AS dateCrea_etab",
|
||||
'bilcloture' => array(
|
||||
'label' => 'Date de clôture du bilan',
|
||||
'column' => 'bilCloture',
|
||||
),
|
||||
'creaent' => array(
|
||||
'label' => "Date de création de l'entreprise",
|
||||
'column' => 'dateCrea_ent',
|
||||
'sql' => "IF(dateCrea_ent = 0,'',CONCAT_WS('-',SUBSTRING(dateCrea_ent,0,4),SUBSTRING(dateCrea_ent,4,2),SUBSTRING(dateCrea_ent,6,2))) AS dateCrea_ent",
|
||||
'biltype' => array(
|
||||
'label' => 'Type du bilan',
|
||||
'column' => 'bilType',
|
||||
'values' => array(
|
||||
'I' => 'Inconnus',
|
||||
'R' => 'Réels',
|
||||
'E' => 'Estimés'
|
||||
)
|
||||
),
|
||||
'bilfl' => array(
|
||||
'label' => "CA total (FL)",
|
||||
'column' => 'bilFL',
|
||||
),
|
||||
'bilhn' => array(
|
||||
'label' => "Résultat Net (HN)",
|
||||
'column' => 'bilHN',
|
||||
),
|
||||
'bilebe' => array(
|
||||
'label' => "Excédent brut d'exploitation (EBE)",
|
||||
'column' => 'bilEBE',
|
||||
),
|
||||
'bilyp' => array(
|
||||
'label' => "Effectif au bilan (YP)",
|
||||
'column' => 'bilYP',
|
||||
),
|
||||
'isin' => array(
|
||||
'label' => "Code ISIN",
|
||||
'column' => 'isin',
|
||||
),
|
||||
'sirengrp' => array(
|
||||
'label' => "SIREN du groupe",
|
||||
'column' => 'sirenGrp',
|
||||
),
|
||||
//autre_id
|
||||
//capital
|
||||
//tcaexp
|
||||
//adresseL1
|
||||
//adresseL2
|
||||
@ -309,7 +325,6 @@ class Enrichissement
|
||||
//ape4_entrep
|
||||
//NaceEtab
|
||||
//NaceEntrep
|
||||
//dateImmat
|
||||
//distSP
|
||||
//achPost
|
||||
//codeCommune
|
||||
@ -345,15 +360,9 @@ class Enrichissement
|
||||
//bilHH
|
||||
//bilHL
|
||||
//bilHM
|
||||
|
||||
//bilHN => Résultat Net
|
||||
//bilYP => Effectif au bilan
|
||||
//bilEBE => Excédent brut d'exploitation
|
||||
|
||||
//dettes
|
||||
//dureeClients
|
||||
//dureeFournis
|
||||
|
||||
//bilTypeP
|
||||
//bilAnneeP
|
||||
//bilClotureP
|
||||
|
Loading…
Reference in New Issue
Block a user