Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • Documentation_homogeneisation
  • HEAD
  • laurent-change.log
  • master
  • next_version
  • 2018.04.00
  • 2018.04.01
  • 2018.04.02
  • 2018.04.03
  • 2018.04.04
  • 2019.01.00
  • 2019.01.01
  • 2019.01.02
  • 2019.02.00
  • 2019.02.01
  • 2019.02.02
  • 2019.02.03
  • 2019.02.04
  • 2019.02.05
  • 2019.02.06
  • 2019.02.07
  • 2019.03.00
  • 2020.01.00
  • 2020.01.01
  • 2020.01.02
  • 2020.01.03
  • 2020.01.04
  • 2020.01.05
  • 2020.02.00
  • 2020.02.01
  • 2020.02.02
  • 2021.01.00
  • 2021.02.00
  • 2021.02.01
  • 2021.02.02
35 results

Target

Select target project
  • fabcat/vmap
1 result
Select Git revision
  • HEAD
  • laurent-change.log
  • master
  • next_version
  • server_dev
  • server_prod
  • 2018.04.00
  • 2018.04.01
  • 2018.04.02
  • 2018.04.03
  • 2018.04.04
  • 2019.01.00
  • 2019.01.01
  • 2019.01.02
  • 2019.02.00
  • 2019.02.01
  • 2019.02.02
  • 2019.02.03
  • 2019.02.04
  • 2019.02.05
  • 2019.02.06
  • 2019.02.07
  • 2019.03.00
23 results
Show changes
Showing
with 13236 additions and 0 deletions
{
"display":{
"name":"anc_saisie_anc_pretraitement-form",
"title":"ANC_SAISIE_ANC_PRETRAITEMENT_TITLE_DISPLAY",
"input_size":"xxs",
"initEvent": "initAncPretraitementForm()",
"nb_cols":12,
"javascript":false,
"rows":[
{
"fields":[
{
"type":"label",
"name":"id_pretraitement",
"label":"ID",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"id_pretraitement_1_1"
},
{
"type":"label",
"name":"id_controle",
"label":"Contrôle",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"id_controle_2_1"
},
{
"type":"label",
"name":"num_dossier",
"label":"N° dossier",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"num_dossier_43_1"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_0",
"label":"Description",
"nb_cols":12,
"id":"Element_0_2_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"ptr_type",
"label":"Type de prétraitement",
"disabled":false,
"required":false,
"nb_cols":3,
"id":"ptr_type_3_1"
},
{
"type":"label",
"name":"ptr_volume",
"label":"Volume (en litres)",
"disabled":false,
"required":false,
"nb_cols":3,
"id":"ptr_volume_4_1"
},
{
"type":"label",
"name":"ptr_marque",
"label":"Marque de l'ouvrage",
"disabled":false,
"required":false,
"nb_cols":3,
"id":"ptr_marque_5_1"
},
{
"type":"label",
"name":"ptr_materiau",
"label":"Matériau de l'ouvrage",
"disabled":false,
"required":false,
"nb_cols":3,
"id":"ptr_materiau_6_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"ptr_pose",
"label":"Est-il convenablement posé ?",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_pose_7_1"
},
{
"type":"label",
"name":"ptr_adapte",
"label":"Volume adapté à l'utilisation?",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_adapte_8_1"
},
{
"type":"label",
"name":"ptr_conforme_projet",
"label":"Dispositif conforme au projet validé ?",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_conforme_projet_9_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"ptr_renforce",
"label":"Si remblaiement important, Fosse renforcée ?",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_renforce_11_1"
},
{
"type":"label",
"name":"ptr_verif_mise_en_eau",
"label":"Mise en eau du prétraitement ?",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_verif_mise_en_eau_12_1"
},
{
"type":"label",
"name":"ptr_type_eau",
"label":"Type d'eau collectée",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_type_eau_13_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"ptr_cloison",
"label":"Dégradations constatées ?",
"disabled":false,
"required":false,
"nb_cols":12,
"id":"ptr_cloison_16_1"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_1",
"label":"Implantation",
"nb_cols":12,
"id":"Element_1_9_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"ptr_im_distance",
"label":"Distance de l'habitation inférieure à 10m",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_im_distance_18_1"
},
{
"type":"label",
"name":"ptr_im_hydrom",
"label":"Si nappe, respect des conditions de pose en terrain hydrometrique ?",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_im_hydrom_19_1"
},
{
"type":"label",
"name":"ptr_im_dalle",
"label":"Si dispositif enfouie sous zone de circulation, dalle de répartition ?",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_im_dalle_20_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"ptr_im_renfor",
"label":"Si remblais important, ouvrage renforcé?",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_im_renfor_21_1"
},
{
"type":"label",
"name":"ptr_im_puit",
"label":"Présence d'un puit de décompression ?",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_im_puit_22_1"
},
{
"type":"label",
"name":"ptr_im_fixation",
"label":"Le prétraitement est-il fixé à une dalle d’ancrage ?",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_im_fixation_23_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"ptr_im_acces",
"label":"Le dispositif est-il accessible ?",
"disabled":false,
"required":false,
"nb_cols":12,
"id":"ptr_im_acces_24_1"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_2",
"label":"Entretien",
"nb_cols":12,
"id":"Element_2_12_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"ptr_et_degrad",
"label":"Signes de dégradation ?",
"disabled":false,
"required":false,
"nb_cols":6,
"id":"ptr_et_degrad_25_1"
},
{
"type":"label",
"name":"ptr_et_real",
"label":"L'entretien est-il réalisé?",
"disabled":false,
"required":false,
"nb_cols":6,
"id":"ptr_et_real_26_1"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_3",
"label":"Vidange",
"nb_cols":12,
"id":"Element_3_15_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"ptr_vi_date",
"label":"Date de la dernière vidange",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_vi_date_27_1"
},
{
"type":"label",
"name":"ptr_vi_justi",
"label":"Justificatif de vidange disponible ?",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_vi_justi_28_1"
},
{
"type":"label",
"name":"ptr_vi_entr",
"label":"Dénomination de l'entreprise ayant réalisé la vidange",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_vi_entr_29_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"ptr_vi_bord",
"label":"N° de bordereau de suivi des matières de vidanges",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_vi_bord_30_1"
},
{
"type":"label",
"name":"ptr_vi_dest",
"label":"Destination des matières de vidanges",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_vi_dest_31_1"
},
{
"type":"label",
"name":"ptr_vi_perc",
"label":"Pourcentage de boue dans la fosse",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_vi_perc_32_1"
}
]
},
{
"fields":[
{
"type":"tinymce",
"name":"ptr_commentaire",
"label":"Commentaires",
"disabled":false,
"required":false,
"nb_cols":12,
"id":"ptr_commentaire_17_1"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_4",
"label":"Suivi",
"nb_cols":12,
"id":"Element_4_18_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"create",
"label":"Auteur",
"disabled":false,
"required":false,
"nb_cols":6,
"id":"create_35_1"
},
{
"type":"label",
"name":"create_date",
"label":"Date de création",
"disabled":false,
"required":false,
"nb_cols":6,
"id":"create_date_36_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"maj",
"label":"Mise à jour",
"disabled":false,
"required":false,
"nb_cols":6,
"id":"maj_33_1"
},
{
"type":"label",
"name":"maj_date",
"label":"Date de mise à jour",
"disabled":false,
"required":false,
"nb_cols":6,
"id":"maj_date_34_1"
}
]
},
{
"fields":[
{
"type":"button",
"class":"btn-ungroup btn-group-sm",
"nb_cols":12,
"name":"display_button",
"id":"display_button",
"buttons":[
{
"type":"button",
"name":"return_list",
"label":"FORM_RETURN_LIST",
"class":"btn-primary",
"event":"setMode(\"search\")"
}
]
}
]
}
],
"tabs":{
"position":"top",
"list":[
{
"label":"Tab 0",
"elements":[
"id_pretraitement",
"id_controle",
"ptr_type",
"ptr_volume",
"ptr_marque",
"ptr_materiau",
"ptr_pose",
"ptr_adapte",
"ptr_conforme_projet",
"ptr_type_eau",
"ptr_reglementaire",
"ptr_destination",
"ptr_cloison",
"ptr_commentaire",
"ptr_im_distance",
"ptr_im_hydrom",
"ptr_im_dalle",
"ptr_im_renfor",
"ptr_im_puit",
"ptr_im_fixation",
"ptr_im_acces",
"ptr_et_degrad",
"ptr_et_real",
"ptr_vi_date",
"ptr_vi_justi",
"ptr_vi_entr",
"ptr_vi_bord",
"ptr_vi_dest",
"ptr_vi_perc",
"maj",
"maj_date",
"create",
"create_date",
"id_installation",
"display_button",
"Element_0",
"Element_1",
"Element_2",
"Element_3",
"Element_4",
"Element_5",
"ptr_renforce",
"ptr_verif_mise_en_eau"
]
}
]
}
},
"search":{
"name":"anc_saisie_anc_pretraitement-form",
"title":"ANC_SAISIE_ANC_PRETRAITEMENT_TITLE",
"input_size":"xxs",
"nb_cols":12,
"javascript":false,
"rows":[
{
"fields":[
{
"type":"select",
"name":"id_installation",
"label":"Installation",
"required":false,
"nb_cols":4,
"id":"Element_0_1_1",
"id_from":"Element_0_1_1_from",
"datasource":{
"datasource_id":"datasource_1",
"sort_order":"ASC",
"distinct":"true",
"label_key":"num_dossier",
"order_by":"num_dossier",
"id_key":"id_installation",
"attributs":"id_installation|num_dossier"
}
},
{
"type":"select",
"name":"id_controle",
"label":"Contrôle",
"required":false,
"nb_cols":4,
"id":"Element_6_1_1",
"id_from":"Element_6_1_1_from",
"datasource":{
"datasource_id":"datasource_3",
"sort_order":"ASC",
"distinct":"true",
"label_key":"id_controle",
"order_by":"id_controle",
"id_key":"id_controle",
"attributs":"id_controle|id_controle",
"parents":[
{
"name":"id_installation",
"filter_attr":"id_installation",
"filter_equality":"=",
"wait_for_parent":true
}
]
}
},
{
"type":"select",
"name":"ptr_type",
"label":"Type",
"required":false,
"nb_cols":4,
"id":"Element_0_1_2",
"id_from":"Element_0_1_2_from",
"datasource":{
"datasource_id":"datasource_2",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
}
]
},
{
"fields":[
{
"type":"button",
"class":"btn-ungroup btn-group-xs",
"nb_cols":12,
"name":"search_button",
"id":"search_button",
"buttons":[
{
"type":"button",
"name":"search",
"label":"FORM_SEARCH_BUTTON",
"class":"btn-primary",
"event":"setGridFilter()"
},
{
"type":"reset",
"name":"reset",
"label":"FORM_RESET_BUTTON",
"class":"btn-primary",
"event":"resetGridFilter()"
}
]
}
]
}
],
"tabs":{
"position":"top",
"list":[
{
"label":"Tab 0",
"elements":[
"search_button",
"id_installation",
"ptr_type",
"id_controle"
]
}
]
}
},
"insert":{
"name":"anc_saisie_anc_pretraitement-form",
"title":"ANC_SAISIE_ANC_PRETRAITEMENT_TITLE_INSERT",
"input_size":"xxs",
"initEvent": "initAncPretraitementForm()",
"nb_cols":12,
"javascript":false,
"rows":[
{
"fields":[
{
"type":"select",
"name":"id_installation",
"label":"Installation",
"required":false,
"nb_cols":6,
"id":"num_dossier_43_1",
"datasource":{
"datasource_id":"datasource_1",
"sort_order":"ASC",
"distinct":"true",
"label_key":"num_dossier",
"order_by":"num_dossier",
"id_key":"id_installation",
"attributs":"id_installation|num_dossier"
},
"id_from":"num_dossier_43_1_from"
},
{
"type":"select",
"name":"id_controle",
"label":"Contrôle",
"required":true,
"nb_cols":6,
"id":"id_controle_2_1",
"datasource":{
"datasource_id":"datasource_3",
"sort_order":"ASC",
"distinct":"true",
"label_key":"id_controle",
"order_by":"id_controle",
"id_key":"id_controle",
"attributs":"id_controle|id_controle",
"parents":[
{
"name":"id_installation",
"filter_attr":"id_installation",
"filter_equality":"=",
"wait_for_parent":true
}
]
},
"id_from":"id_controle_2_1_from"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_0",
"label":"Description",
"nb_cols":12,
"id":"Element_0_2_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"ptr_type",
"label":"Type de prétraitement",
"required":true,
"nb_cols":3,
"id":"ptr_type_3_1",
"datasource":{
"datasource_id":"datasource_2",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_type_3_1_from"
},
{
"type":"editable_select",
"name":"ptr_volume",
"label":"Volume (en litres)",
"required":false,
"nb_cols":3,
"id":"ptr_volume_4_1",
"datasource":{
"datasource_id":"datasource_4",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_volume_4_1_from"
},
{
"type":"select",
"name":"ptr_marque",
"label":"Marque de l'ouvrage",
"required":false,
"nb_cols":3,
"id":"ptr_marque_5_1",
"datasource":{
"datasource_id":"datasource_26",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_marque_5_1_from"
},
{
"type":"select",
"name":"ptr_materiau",
"label":"Matériau de l'ouvrage",
"required":false,
"nb_cols":3,
"id":"ptr_materiau_6_1",
"datasource":{
"datasource_id":"datasource_5",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_materiau_6_1_from"
}
]
},
{
"fields":[
{
"type":"select",
"name":"ptr_pose",
"label":"Est-il convenablement posé ?",
"required":false,
"nb_cols":4,
"id":"ptr_pose_7_1",
"datasource":{
"datasource_id":"datasource_6",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_pose_7_1_from"
},
{
"type":"select",
"name":"ptr_adapte",
"label":"Volume adapté à l'utilisation?",
"required":false,
"nb_cols":4,
"id":"ptr_adapte_8_1",
"datasource":{
"datasource_id":"datasource_7",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_adapte_8_1_from"
},
{
"type":"select",
"name":"ptr_conforme_projet",
"label":"Dispositif conforme au projet validé",
"required":false,
"nb_cols":4,
"id":"ptr_conforme_projet_9_1",
"datasource":{
"datasource_id":"datasource_8",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_conforme_projet_9_1_from"
}
]
},
{
"fields":[
{
"type":"select",
"name":"ptr_renforce",
"label":"Si remblaiement important, Fosse renforcée ?",
"required":false,
"nb_cols":4,
"id":"ptr_renforce_11_1",
"datasource":{
"datasource_id":"datasource_10",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_renforce_11_1_from"
},
{
"type":"select",
"name":"ptr_verif_mise_en_eau",
"label":"Mise en eau du prétraitement ?",
"required":false,
"nb_cols":4,
"id":"ptr_verif_mise_en_eau_12_1",
"datasource":{
"datasource_id":"datasource_11",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_verif_mise_en_eau_12_1_from"
},
{
"type":"select",
"name":"ptr_type_eau",
"label":"Type d'eau collectée",
"required":false,
"nb_cols":4,
"id":"ptr_type_eau_13_1",
"datasource":{
"datasource_id":"datasource_12",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_type_eau_13_1_from"
}
]
},
{
"fields":[
{
"type":"text",
"name":"ptr_cloison",
"label":"Dégradations constatées ?",
"disabled":false,
"required":false,
"nb_cols":12,
"id":"ptr_cloison_16_1"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_1",
"label":"Implantation",
"nb_cols":12,
"id":"Element_1_9_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"ptr_im_distance",
"label":"Distance de l'habitation inférieure à 10m",
"required":false,
"nb_cols":4,
"id":"ptr_im_distance_18_1",
"datasource":{
"datasource_id":"datasource_14",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_im_distance_18_1_from"
},
{
"type":"select",
"name":"ptr_im_hydrom",
"label":"Si nappe, respect des conditions de pose en terrain hydrometrique ?",
"required":false,
"nb_cols":4,
"id":"ptr_im_hydrom_19_1",
"datasource":{
"datasource_id":"datasource_15",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_im_hydrom_19_1_from"
},
{
"type":"select",
"name":"ptr_im_dalle",
"label":"Si dispositif enfouie sous zone de circulation, dalle de répartition ?",
"required":false,
"nb_cols":4,
"id":"ptr_im_dalle_20_1",
"datasource":{
"datasource_id":"datasource_16",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_im_dalle_20_1_from"
}
]
},
{
"fields":[
{
"type":"select",
"name":"ptr_im_renfor",
"label":"Si remblais important, ouvrage renforcé?",
"required":false,
"nb_cols":4,
"id":"ptr_im_renfor_21_1",
"datasource":{
"datasource_id":"datasource_17",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_im_renfor_21_1_from"
},
{
"type":"select",
"name":"ptr_im_puit",
"label":"Présence d'un puit de décompression ?",
"required":false,
"nb_cols":4,
"id":"ptr_im_puit_22_1",
"datasource":{
"datasource_id":"datasource_18",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_im_puit_22_1_from"
},
{
"type":"select",
"name":"ptr_im_fixation",
"label":"Le prétraitement est-il fixé à une dalle d’ancrage ?",
"required":false,
"nb_cols":4,
"id":"ptr_im_fixation_23_1",
"datasource":{
"datasource_id":"datasource_19",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_im_fixation_23_1_from"
}
]
},
{
"fields":[
{
"type":"select",
"name":"ptr_im_acces",
"label":"Le dispositif est-il accessible ?",
"required":false,
"nb_cols":12,
"id":"ptr_im_acces_24_1",
"datasource":{
"datasource_id":"datasource_20",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_im_acces_24_1_from"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_2",
"label":"Entretien",
"nb_cols":12,
"id":"Element_2_17_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"ptr_et_degrad",
"label":"Signes de dégradation ?",
"required":false,
"nb_cols":6,
"id":"ptr_et_degrad_25_1",
"datasource":{
"datasource_id":"datasource_21",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_et_degrad_25_1_from"
},
{
"type":"select",
"name":"ptr_et_real",
"label":"L'entretien est-il réalisé?",
"required":false,
"nb_cols":6,
"id":"ptr_et_real_26_1",
"datasource":{
"datasource_id":"datasource_22",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_et_real_26_1_from"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_3",
"label":"Vidange",
"nb_cols":12,
"id":"Element_3_15_1"
}
]
},
{
"fields":[
{
"type":"date",
"name":"ptr_vi_date",
"label":"Date de la dernière vidange",
"nb_cols":4,
"id":"ptr_vi_date_27_1"
},
{
"type":"select",
"name":"ptr_vi_justi",
"label":"Justificatif de vidange disponible ?",
"required":false,
"nb_cols":4,
"id":"ptr_vi_justi_28_1",
"datasource":{
"datasource_id":"datasource_23",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_vi_justi_28_1_from"
},
{
"type":"select",
"name":"ptr_vi_entr",
"label":"Dénomination de l'entreprise ayant réalisé la vidange",
"required":false,
"nb_cols":4,
"id":"ptr_vi_entr_29_1",
"datasource":{
"datasource_id":"datasource_24",
"sort_order":"ASC",
"distinct":"true",
"label_key":"nom_entreprise",
"order_by":"nom_entreprise",
"id_key":"nom_entreprise",
"attributs":"nom_entreprise|nom_entreprise"
},
"id_from":"ptr_vi_entr_29_1_from"
}
]
},
{
"fields":[
{
"type":"integer",
"name":"ptr_vi_bord",
"label":"N° de bordereau de suivi des matières de vidanges",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_vi_bord_30_1"
},
{
"type":"select",
"name":"ptr_vi_dest",
"label":"Destination des matières de vidanges",
"required":false,
"nb_cols":4,
"id":"ptr_vi_dest_31_1",
"datasource":{
"datasource_id":"datasource_25",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_vi_dest_31_1_from"
},
{
"type":"integer",
"name":"ptr_vi_perc",
"label":"Pourcentage de boue dans la fosse",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_vi_perc_32_1"
}
]
},
{
"fields":[
{
"type":"tinymce",
"name":"ptr_commentaire",
"label":"Commentaires",
"nb_cols":12,
"id":"ptr_commentaire_17_1",
"nb_rows":10
}
]
},
{
"fields":[
{
"type":"button",
"class":"btn-ungroup btn-group-sm",
"nb_cols":12,
"name":"insert_button",
"id":"insert_button",
"buttons":[
{
"type":"submit",
"name":"form_submit",
"label":"FORM_CREATE",
"class":"btn-primary"
},
{
"type":"button",
"name":"return_list",
"label":"FORM_RETURN_LIST",
"class":"btn-primary",
"event":"setMode(\"search\")"
}
]
}
]
}
],
"event":"sendSimpleForm()",
"afterEvent":"editSectionForm()",
"tabs":{
"position":"top",
"list":[
{
"label":"Tab 0",
"elements":[
"id_controle",
"ptr_type",
"ptr_volume",
"ptr_marque",
"ptr_materiau",
"ptr_pose",
"ptr_adapte",
"ptr_conforme_projet",
"ptr_type_eau",
"ptr_reglementaire",
"ptr_destination",
"ptr_cloison",
"ptr_commentaire",
"ptr_im_distance",
"ptr_im_hydrom",
"ptr_im_dalle",
"ptr_im_renfor",
"ptr_im_puit",
"ptr_im_fixation",
"ptr_im_acces",
"ptr_et_degrad",
"ptr_et_real",
"ptr_vi_date",
"ptr_vi_justi",
"ptr_vi_entr",
"ptr_vi_bord",
"ptr_vi_dest",
"ptr_vi_perc",
"id_installation",
"insert_button",
"Element_0",
"Element_1",
"Element_2",
"Element_3",
"Element_4",
"ptr_renforce",
"ptr_verif_mise_en_eau"
]
}
]
}
},
"update":{
"name":"anc_saisie_anc_pretraitement-form",
"title":"ANC_SAISIE_ANC_PRETRAITEMENT_TITLE_UPDATE",
"input_size":"xxs",
"initEvent": "initAncPretraitementForm()",
"nb_cols":12,
"javascript":false,
"rows":[
{
"fields":[
{
"type":"label",
"name":"id_pretraitement",
"label":"ID",
"nb_cols":4,
"id":"id_pretraitement_1_1"
},
{
"type":"select",
"name":"id_installation",
"label":"Installation",
"required":true,
"nb_cols":4,
"id":"id_installation_42_1",
"datasource":{
"datasource_id":"datasource_1",
"sort_order":"ASC",
"distinct":"true",
"label_key":"num_dossier",
"order_by":"num_dossier",
"id_key":"id_installation",
"attributs":"id_installation|num_dossier"
},
"id_from":"id_installation_42_1_from"
},
{
"type":"select",
"name":"id_controle",
"label":"Contrôle",
"required":true,
"nb_cols":4,
"id":"id_controle_2_1",
"datasource":{
"datasource_id":"datasource_3",
"sort_order":"ASC",
"distinct":"true",
"label_key":"id_controle",
"order_by":"id_controle",
"id_key":"id_controle",
"attributs":"id_controle|id_controle",
"parents":[
{
"name":"id_installation",
"filter_attr":"id_installation",
"filter_equality":"=",
"wait_for_parent":true
}
]
},
"id_from":"id_controle_2_1_from"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_4",
"label":"Description",
"nb_cols":12,
"id":"Element_4_2_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"ptr_type",
"label":"Type de prétraitement",
"required":true,
"nb_cols":3,
"id":"ptr_type_3_1",
"datasource":{
"datasource_id":"datasource_2",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_type_3_1_from"
},
{
"type":"editable_select",
"name":"ptr_volume",
"label":"Volume (en litres)",
"required":false,
"nb_cols":3,
"id":"ptr_volume_4_1",
"datasource":{
"datasource_id":"datasource_4",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_volume_4_1_from"
},
{
"type":"select",
"name":"ptr_marque",
"label":"Marque de l'ouvrage",
"required":false,
"nb_cols":3,
"id":"ptr_marque_5_1",
"datasource":{
"datasource_id":"datasource_26",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_marque_5_1_from"
},
{
"type":"select",
"name":"ptr_materiau",
"label":"Matériau de l'ouvrage",
"required":false,
"nb_cols":3,
"id":"ptr_materiau_6_1",
"datasource":{
"datasource_id":"datasource_5",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_materiau_6_1_from"
}
]
},
{
"fields":[
{
"type":"select",
"name":"ptr_pose",
"label":"Est-il convenablement posé ?",
"required":false,
"nb_cols":4,
"id":"ptr_pose_7_1",
"datasource":{
"datasource_id":"datasource_6",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_pose_7_1_from"
},
{
"type":"select",
"name":"ptr_adapte",
"label":"Volume adapté à l'utilisation?",
"required":false,
"nb_cols":4,
"id":"ptr_adapte_8_1",
"datasource":{
"datasource_id":"datasource_7",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_adapte_8_1_from"
},
{
"type":"select",
"name":"ptr_conforme_projet",
"label":"Dispositif conforme au projet validé",
"required":false,
"nb_cols":4,
"id":"ptr_conforme_projet_9_1",
"datasource":{
"datasource_id":"datasource_8",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_conforme_projet_9_1_from"
}
]
},
{
"fields":[
{
"type":"select",
"name":"ptr_renforce",
"label":"Si remblaiement important, Fosse renforcée ?",
"required":false,
"nb_cols":4,
"id":"ptr_renforce_11_1",
"datasource":{
"datasource_id":"datasource_10",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_renforce_11_1_from"
},
{
"type":"select",
"name":"ptr_verif_mise_en_eau",
"label":"Mise en eau du prétraitement ?",
"required":false,
"nb_cols":4,
"id":"ptr_verif_mise_en_eau_12_1",
"datasource":{
"datasource_id":"datasource_11",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_verif_mise_en_eau_12_1_from"
},
{
"type":"select",
"name":"ptr_type_eau",
"label":"Type d'eau collectée",
"required":false,
"nb_cols":4,
"id":"ptr_type_eau_13_1",
"datasource":{
"datasource_id":"datasource_12",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_type_eau_13_1_from"
}
]
},
{
"fields":[
{
"type":"text",
"name":"ptr_cloison",
"label":"Dégradations constatées ?",
"required":false,
"nb_cols":12,
"id":"ptr_cloison_16_1"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_5",
"label":"Implantation",
"nb_cols":12,
"id":"Element_5_8_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"ptr_im_distance",
"label":"Distance de l'habitation inférieure à 10m",
"required":false,
"nb_cols":4,
"id":"ptr_im_distance_18_1",
"datasource":{
"datasource_id":"datasource_14",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_im_distance_18_1_from"
},
{
"type":"select",
"name":"ptr_im_hydrom",
"label":"Si nappe, respect des conditions de pose en terrain hydrometrique ?",
"required":false,
"nb_cols":4,
"id":"ptr_im_hydrom_19_1",
"datasource":{
"datasource_id":"datasource_15",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_im_hydrom_19_1_from"
},
{
"type":"select",
"name":"ptr_im_dalle",
"label":"Si dispositif enfouie sous zone de circulation, dalle de répartition ?",
"required":false,
"nb_cols":4,
"id":"ptr_im_dalle_20_1",
"datasource":{
"datasource_id":"datasource_16",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_im_dalle_20_1_from"
}
]
},
{
"fields":[
{
"type":"select",
"name":"ptr_im_renfor",
"label":"Si remblais important, ouvrage renforcé?",
"required":false,
"nb_cols":4,
"id":"ptr_im_renfor_21_1",
"datasource":{
"datasource_id":"datasource_17",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_im_renfor_21_1_from"
},
{
"type":"select",
"name":"ptr_im_puit",
"label":"Présence d'un puit de décompression ?",
"required":false,
"nb_cols":4,
"id":"ptr_im_puit_22_1",
"datasource":{
"datasource_id":"datasource_18",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_im_puit_22_1_from"
},
{
"type":"select",
"name":"ptr_im_fixation",
"label":"Le prétraitement est-il fixé à une dalle d’ancrage ?",
"required":false,
"nb_cols":4,
"id":"ptr_im_fixation_23_1",
"datasource":{
"datasource_id":"datasource_19",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_im_fixation_23_1_from"
}
]
},
{
"fields":[
{
"type":"select",
"name":"ptr_im_acces",
"label":"Le dispositif est-il accessible ?",
"required":false,
"nb_cols":12,
"id":"ptr_im_acces_24_1",
"datasource":{
"datasource_id":"datasource_20",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_im_acces_24_1_from"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_6",
"label":"Entretien",
"nb_cols":12,
"id":"Element_6_13_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"ptr_et_degrad",
"label":"Signes de dégradation ?",
"required":false,
"nb_cols":6,
"id":"ptr_et_degrad_25_1",
"datasource":{
"datasource_id":"datasource_21",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_et_degrad_25_1_from"
},
{
"type":"select",
"name":"ptr_et_real",
"label":"L'entretien est-il réalisé?",
"required":false,
"nb_cols":6,
"id":"ptr_et_real_26_1",
"datasource":{
"datasource_id":"datasource_22",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_et_real_26_1_from"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_0",
"label":"Vidange",
"nb_cols":12,
"id":"Element_0_15_1"
}
]
},
{
"fields":[
{
"type":"date",
"name":"ptr_vi_date",
"label":"Date de la dernière vidange",
"nb_cols":4,
"id":"ptr_vi_date_27_1"
},
{
"type":"select",
"name":"ptr_vi_justi",
"label":"Justificatif de vidange disponible ?",
"required":false,
"nb_cols":4,
"id":"ptr_vi_justi_28_1",
"datasource":{
"datasource_id":"datasource_23",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_vi_justi_28_1_from"
},
{
"type":"select",
"name":"ptr_vi_entr",
"label":"Dénomination de l'entreprise ayant réalisé la vidange",
"required":false,
"nb_cols":4,
"id":"ptr_vi_entr_29_1",
"datasource":{
"datasource_id":"datasource_24",
"sort_order":"ASC",
"distinct":"true",
"label_key":"nom_entreprise",
"order_by":"nom_entreprise",
"id_key":"nom_entreprise",
"attributs":"nom_entreprise|nom_entreprise"
},
"id_from":"ptr_vi_entr_29_1_from"
}
]
},
{
"fields":[
{
"type":"integer",
"name":"ptr_vi_bord",
"label":"N° de bordereau de suivi des matières de vidanges",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_vi_bord_30_1"
},
{
"type":"select",
"name":"ptr_vi_dest",
"label":"Destination des matières de vidanges",
"required":false,
"nb_cols":4,
"id":"ptr_vi_dest_31_1",
"datasource":{
"datasource_id":"datasource_25",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"ptr_vi_dest_31_1_from"
},
{
"type":"integer",
"name":"ptr_vi_perc",
"label":"Pourcentage de boue dans la fosse",
"disabled":false,
"required":false,
"nb_cols":4,
"id":"ptr_vi_perc_32_1"
}
]
},
{
"fields":[
{
"type":"tinymce",
"name":"ptr_commentaire",
"label":"Commentaires",
"nb_cols":12,
"id":"ptr_commentaire_17_1",
"nb_rows":10
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_1",
"label":"Suivi",
"nb_cols":12,
"id":"Element_1_18_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"create",
"label":"Auteur",
"nb_cols":6,
"id":"create_35_1"
},
{
"type":"label",
"name":"create_date",
"label":"Date de création",
"nb_cols":6,
"id":"create_date_36_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"maj",
"label":"Mise à jour",
"nb_cols":6,
"id":"maj_33_1"
},
{
"type":"label",
"name":"maj_date",
"label":"Date de mise à jour",
"nb_cols":6,
"id":"maj_date_34_1"
}
]
},
{
"fields":[
{
"type":"button",
"class":"btn-ungroup btn-group-sm",
"nb_cols":12,
"name":"update_button",
"id":"update_button",
"buttons":[
{
"type":"submit",
"name":"form_submit",
"label":"FORM_UPDATE",
"class":"btn-primary"
},
{
"type":"button",
"name":"return_list",
"label":"FORM_RETURN_LIST",
"class":"btn-primary",
"event":"setMode(\"search\")"
}
]
}
]
}
],
"event":"sendSimpleForm()",
"tabs":{
"position":"top",
"list":[
{
"label":"Tab 0",
"elements":[
"id_pretraitement",
"id_controle",
"ptr_type",
"ptr_volume",
"ptr_marque",
"ptr_materiau",
"ptr_pose",
"ptr_adapte",
"ptr_conforme_projet",
"ptr_type_eau",
"ptr_reglementaire",
"ptr_destination",
"ptr_cloison",
"ptr_commentaire",
"ptr_im_distance",
"ptr_im_hydrom",
"ptr_im_dalle",
"ptr_im_renfor",
"ptr_im_puit",
"ptr_im_fixation",
"ptr_im_acces",
"ptr_et_degrad",
"ptr_et_real",
"ptr_vi_date",
"ptr_vi_justi",
"ptr_vi_entr",
"ptr_vi_bord",
"ptr_vi_dest",
"ptr_vi_perc",
"maj",
"maj_date",
"create",
"create_date",
"id_installation",
"update_button",
"Element_4",
"Element_5",
"Element_6",
"Element_0",
"Element_1",
"Element_2",
"ptr_renforce",
"ptr_verif_mise_en_eau"
]
}
]
}
},
"datasources":{
"datasource_1":{
"type":"web_service",
"dataType":"tableValue",
"name":"installation",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"v_installation"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_1"
},
"datasource_2":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_type",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"param_liste",
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_type"}
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_2"
},
"datasource_3":{
"type":"web_service",
"dataType":"tableValue",
"name":"controle",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"v_controle"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_3"
},
"datasource_4":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_volume",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_volume"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_4"
},
"datasource_5":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_materiau",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_materiau"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_5"
},
"datasource_6":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_pose",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_pose"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_6"
},
"datasource_7":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_adapte",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_adapte"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_7"
},
"datasource_8":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_conforme_projet",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_conforme_projet"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_8"
},
"datasource_9":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_dalle_repartition",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_dalle_repartition"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_9"
},
"datasource_10":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_renforce",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_renforce"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_10"
},
"datasource_11":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_verif_mise_en_eau",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_verif_mise_en_eau"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_11"
},
"datasource_12":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_type_eau",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_type_eau"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_12"
},
"datasource_13":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_reglementaire",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_reglementaire"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_13"
},
"datasource_14":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_im_distance",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_im_distance"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_14"
},
"datasource_15":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_im_hydrom",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_im_hydrom"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_15"
},
"datasource_16":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_im_dalle",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_im_dalle"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_16"
},
"datasource_17":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_im_renfor",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_im_renfor"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_17"
},
"datasource_18":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_im_puit",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_im_puit"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_18"
},
"datasource_19":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_im_fixation",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_im_fixation"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_19"
},
"datasource_20":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_im_acces",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_im_acces"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_20"
},
"datasource_21":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_et_degrad",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_et_degrad"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_21"
},
"datasource_22":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_et_real",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_et_real"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_22"
},
"datasource_23":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_vi_justi",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_vi_justi"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_23"
},
"datasource_24":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_vi_entr",
"description":"",
"parameters":{
"filter":{"vidangeur": true},
"schema":"s_anc",
"table":"param_entreprise"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_24"
},
"datasource_25":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_vi_justi",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_vi_dest"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_25"
},
"datasource_26":{
"type":"web_service",
"dataType":"tableValue",
"name":"ptr_marque",
"description":"",
"parameters":{
"filter": {"id_nom_table": "pretraitement", "nom_liste": "ptr_marque"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_26"
}
}
}
\ No newline at end of file
{
"display":{
"name":"anc_saisie_anc_traitement-form",
"title":"ANC_SAISIE_ANC_TRAITEMENT_TITLE_DISPLAY",
"input_size":"xxs",
"nb_cols":12,
"javascript":false,
"rows":[
{
"fields":[
{
"type":"label",
"name":"id_anc_traitement",
"label":"Identifiant",
"nb_cols":4,
"id":"Element_6_1_2"
},
{
"type":"label",
"name":"id_anc_controle",
"label":"Identifiant de contrôle",
"nb_cols":4,
"id":"Element_0_1_1"
},
{
"type":"label",
"name":"tra_type",
"label":"Type de traitement",
"nb_cols":4,
"id":"Element_0_1_2"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_0",
"label":"Dimensionnement",
"nb_cols":12,
"id":"Element_0_2_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"tra_nb",
"label":"Nombre de tranchées",
"nb_cols":4,
"id":"Element_1_3_1"
},
{
"type":"label",
"name":"tra_long",
"label":"Longueur (en m)",
"nb_cols":4,
"id":"Element_1_3_2"
},
{
"type":"label",
"name":"tra_longueur",
"label":"Longueur de chaque tranchée (en m)",
"nb_cols":4,
"id":"Element_1_3_4"
},
{
"type":"label",
"name":"tra_larg",
"label":"Largeur (en m)",
"nb_cols":4,
"id":"Element_1_3_3"
},
{
"type":"label",
"name":"tra_surf",
"label":"Surface (en m²)",
"nb_cols":4,
"id":"Element_1_4_2"
},
{
"type":"label",
"name":"tra_tot_lin",
"label":"Linéaire total (en m)",
"nb_cols":4,
"id":"Element_1_4_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"tra_largeur",
"label":"Largeur des tranchées",
"nb_cols":4,
"id":"Element_1_4_3"
},
{
"type":"label",
"name":"tra_profond",
"label":"Profondeur des tranchées (en cm)",
"nb_cols":4,
"id":"Element_1_5_3"
},
{
"type":"label",
"name":"tra_profondeur",
"label":"Profondeur (en cm)",
"nb_cols":4,
"id":"Element_1_5_2"
}
]
},
{
"fields":[
{
"type":"label",
"name":"tra_hauteur",
"label":"Hauteur",
"nb_cols":6,
"id":"Element_1_5_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"Element_1",
"label":"Implantation",
"nb_cols":12,
"id":"Element_1_6_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"tra_dist_hab",
"label":"Distance habitation > 5m",
"nb_cols":6,
"id":"Element_2_7_1"
},
{
"type":"label",
"name":"tra_dist_lim_parc",
"label":"Limite parcelle > 3m",
"nb_cols":6,
"id":"Element_2_7_2"
}
]
},
{
"fields":[
{
"type":"label",
"name":"tra_dist_veget",
"label":"Distance végétation > 3m",
"nb_cols":6,
"id":"Element_2_8_1"
},
{
"type":"label",
"name":"tra_dist_puit",
"label":"Distance puit 35m",
"nb_cols":6,
"id":"Element_2_8_2"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_2",
"label":"Vérification des matériaux",
"nb_cols":12,
"id":"Element_2_9_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"tra_vm_racine",
"label":"Présence d'un film anti-racine",
"nb_cols":4,
"id":"Element_3_10_1"
},
{
"type":"label",
"name":"tra_vm_humidite",
"label":"Présence d'un film anti-humidité",
"nb_cols":4,
"id":"Element_3_10_2"
},
{
"type":"label",
"name":"tra_vm_imper",
"label":"Présence d'un film imperméable",
"nb_cols":4,
"id":"Element_3_10_3"
}
]
},
{
"fields":[
{
"type":"label",
"name":"tra_vm_geomembrane",
"label":"Présence d'une géomembrane",
"nb_cols":4,
"id":"Element_3_11_1"
},
{
"type":"label",
"name":"tra_vm_geogrille",
"label":"Présence d'une géo-grille",
"nb_cols":4,
"id":"Element_3_11_1"
},
{
"type":"label",
"name":"tra_vm_grav_qual",
"label":"Graviers de qualité conforme aux filières d'assainissement non collectif",
"nb_cols":8,
"id":"Element_3_11_2"
}
]
},
{
"fields":[
{
"type":"label",
"name":"tra_vm_grav_ep",
"label":"Epaisseur conforme des graviers",
"nb_cols":4,
"id":"Element_3_11_3"
},
{
"type":"label",
"name":"tra_vm_geo_text",
"label":"Présence d'un géotextile",
"nb_cols":4,
"id":"Element_3_12_1"
},
{
"type":"label",
"name":"tra_vm_ht_terre_veget",
"label":"Hauteur de terre vegetale de 20 cm au-dessus des drains",
"nb_cols":4,
"id":"Element_3_12_2"
}
]
},
{
"fields":[
{
"type":"label",
"name":"tra_vm_tuy_perf",
"label":"Les tuyaux d'épandage mis en place sont-ils des tuyaux rigides perforés prévus pour l'assainissement non collectif, orifices dirigés vers le bas",
"nb_cols":12,
"id":"Element_3_12_3"
}
]
},
{
"fields":[
{
"type":"label",
"name":"tra_vm_bon_mat",
"label":"Les bons de matériaux ont-ils été fournis",
"nb_cols":4,
"id":"Element_3_13_1"
},
{
"type":"label",
"name":"tra_vm_sab_qual",
"label":"Sable de qualité conforme",
"nb_cols":4,
"id":"Element_3_13_3"
},
{
"type":"label",
"name":"tra_vm_sab_ep",
"label":"Epaisseur de sable de 0.7",
"nb_cols":4,
"id":"Element_3_13_2"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_3",
"label":"Regard de repartition",
"nb_cols":12,
"id":"Element_3_15_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"tra_regrep_mat",
"label":"Matériau du regard de répartition",
"nb_cols":4,
"id":"Element_4_16_1"
},
{
"type":"label",
"name":"tra_regrep_affl",
"label":"Affleure-t-il le niveau du sol",
"nb_cols":4,
"id":"Element_4_16_2"
},
{
"type":"label",
"name":"tra_regrep_equi",
"label":"Equirépartition des eaux",
"nb_cols":4,
"id":"Element_4_16_3"
}
]
},
{
"fields":[
{
"type":"label",
"name":"tra_regrep_perf",
"label":"Les tuyaux de répartition sont-ils non perforés",
"nb_cols":12,
"id":"Element_4_17_1"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_5",
"label":"Regard de bouclage",
"nb_cols":12,
"id":"Element_5_17_3"
}
]
},
{
"fields":[
{
"type":"label",
"name":"tra_regbl_mat",
"label":"Matériau du regard de bouclage",
"nb_cols":4,
"id":"Element_6_19_1"
},
{
"type":"label",
"name":"tra_regbl_affl",
"label":"Affleure-t-il le niveau de sol",
"nb_cols":4,
"id":"Element_6_19_2"
},
{
"type":"label",
"name":"tra_regbl_hz",
"label":"Est-il posé horizontalement",
"nb_cols":4,
"id":"Element_6_19_3"
}
]
},
{
"fields":[
{
"type":"label",
"name":"tra_regbl_epand",
"label":"Les tuyaux d'épandage sont raccordés de manière indépendante au regard de bouclage",
"nb_cols":8,
"id":"Element_4_17_2"
},
{
"type":"label",
"name":"tra_regbl_perf",
"label":"Les tuyaux de bouclage sont-ils perforés",
"nb_cols":4,
"id":"Element_6_20_2"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_4",
"label":"Regard de collecte",
"nb_cols":12,
"id":"Element_4_22_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"tra_regcol_mat",
"label":"Matériau du regard de collecte",
"nb_cols":4,
"id":"Element_6_22_1"
},
{
"type":"label",
"name":"tra_regcol_affl",
"label":"Affleure-t-il le niveau du sol",
"nb_cols":4,
"id":"Element_7_22_2"
},
{
"type":"label",
"name":"tra_regcol_hz",
"label":"Est-il posé horizontalement",
"nb_cols":4,
"id":"Element_8_22_3"
}
]
},
{
"fields":[
{
"type":"tinymce",
"name":"tra_commentaire",
"label":"Commentaires",
"disabled":false,
"required":false,
"nb_cols":12,
"id":"tra_commentaire_17_1"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_6",
"label":"Suivi",
"nb_cols":12,
"id":"Element_6_23_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"create",
"label":"Auteur",
"nb_cols":6,
"id":"Element_0_3_1"
},
{
"type":"label",
"name":"create_date",
"label":"Date de création",
"nb_cols":6,
"id":"Element_0_3_2"
}
]
},
{
"fields":[
{
"type":"label",
"name":"maj",
"label":"Mise à jour",
"nb_cols":6,
"id":"Element_0_3_2"
},
{
"type":"label",
"name":"maj_date",
"label":"Date de mise à jour",
"nb_cols":6,
"id":"Element_0_3_3"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_7",
"label":"Documents",
"nb_cols":12,
"id":"Element_7_26_1"
}
]
},
{
"fields":[
{
"type":"image_wsdata",
"name":"photos_f",
"label":"Photos",
"nb_cols":12,
"id":"Element_0_2_1",
"displayOnly":true
}
]
},
{
"fields":[
{
"type":"file_wsdata",
"name":"fiche_f",
"label":"Fiche Entretien",
"nb_cols":12,
"id":"Element_0_3_1",
"displayOnly":true
}
]
},
{
"fields":[
{
"type":"file_wsdata",
"name":"schema_f",
"label":"Schéma de principe",
"nb_cols":12,
"id":"Element_0_4_1",
"displayOnly":true
}
]
},
{
"fields":[
{
"type":"file_wsdata",
"name":"documents_f",
"label":"Documents",
"nb_cols":12,
"id":"Element_0_5_1",
"displayOnly":true
}
]
},
{
"fields":[
{
"type":"file_wsdata",
"name":"plan_f",
"label":"Plan de recolement",
"nb_cols":12,
"id":"Element_0_6_1",
"displayOnly":true
}
]
},
{
"fields":[
{
"type":"button",
"class":"btn-ungroup btn-group-sm",
"nb_cols":12,
"name":"display_button",
"id":"display_button",
"buttons":[
{
"type":"button",
"name":"return_list",
"label":"FORM_RETURN_LIST",
"class":"btn-primary",
"event":"setMode(\"search\")"
}
]
}
]
}
],
"tabs":{
"position":"top",
"list":[
{
"label":"Tab 0",
"elements":[
"display_button",
"id_controle",
"tra_type",
"id_traitement",
"tra_nb",
"tra_long",
"tra_longueur",
"tra_larg",
"tra_tot_lin",
"tra_surf",
"tra_largeur",
"tra_hauteur",
"tra_profondeur",
"tra_profond",
"Element_1",
"tra_dist_hab",
"tra_dist_lim_parc",
"tra_dist_veget",
"tra_dist_puit",
"Element_2",
"tra_vm_racine",
"tra_vm_humidite",
"tra_vm_imper",
"tra_vm_geogrille",
"tra_vm_grav_qual",
"tra_vm_grav_ep",
"tra_vm_geo_text",
"tra_vm_ht_terre_veget",
"tra_vm_tuy_perf",
"tra_vm_bon_mat",
"tra_vm_sab_ep",
"tra_vm_sab_qual",
"Element_3",
"tra_regrep_mat",
"tra_regrep_affl",
"tra_regrep_equi",
"tra_regrep_perf",
"tra_regbl_epand",
"Element_5",
"tra_regbl_mat",
"tra_regbl_affl",
"tra_regbl_hz",
"tra_regbl_perf",
"Element_4",
"tra_regcol_mat",
"tra_regcol_affl",
"tra_regcol_hz",
"id_installation",
"Element_0",
"Element_6",
"Element_7",
"maj",
"maj_date",
"create",
"create_date",
"photos_f",
"fiche_f",
"schema_f",
"documents_f",
"plan_f",
"tra_vm_geomembrane",
"tra_commentaire"
]
}
]
}
},
"search":{
"name":"anc_saisie_anc_traitement-form",
"title":"ANC_SAISIE_ANC_TRAITEMENT_TITLE",
"input_size":"xxs",
"nb_cols":12,
"javascript":false,
"rows":[
{
"fields":[
{
"type":"select",
"name":"id_installation",
"label":"Installation",
"required":false,
"nb_cols":4,
"id":"Element_0_1_1",
"datasource":{
"datasource_id":"datasource_12",
"sort_order":"ASC",
"distinct":"true",
"label_key":"num_dossier",
"order_by":"num_dossier",
"id_key":"id_installation",
"attributs":"id_installation|num_dossier"
},
"id_from":"Element_0_1_1_from"
},
{
"type":"select",
"name":"id_controle",
"label":"Identifiant de contrôle",
"nb_cols":4,
"id":"Element_0_1_2",
"datasource":{
"datasource_id":"datasource_13",
"sort_order":"ASC",
"distinct":"true",
"label_key":"id_controle",
"order_by":"id_controle",
"id_key":"id_controle",
"attributs":"id_controle|id_controle",
"parents":[
{
"name":"id_installation",
"filter_attr":"id_installation",
"filter_equality":"=",
"wait_for_parent":true
}
]
},
"id_from":"Element_0_1_2_from"
},
{
"type":"select",
"name":"tra_type",
"label":"Type de traitement",
"required":false,
"nb_cols":4,
"id":"Element_0_1_3",
"datasource":{
"datasource_id":"datasource_1",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_0_1_3_from"
}
]
},
{
"fields":[
{
"type":"button",
"class":"btn-ungroup btn-group-xs",
"nb_cols":12,
"name":"search_button",
"id":"search_button",
"buttons":[
{
"type":"button",
"name":"search",
"label":"FORM_SEARCH_BUTTON",
"class":"btn-primary",
"event":"setGridFilter()"
},
{
"type":"reset",
"name":"reset",
"label":"FORM_RESET_BUTTON",
"class":"btn-primary",
"event":"resetGridFilter()"
}
]
}
]
}
],
"tabs":{
"position":"top",
"list":[
{
"label":"Tab 0",
"elements":[
"search_button",
"id_installation",
"id_controle",
"tra_type"
]
}
]
}
},
"insert":{
"name":"anc_saisie_anc_traitement-form",
"title":"ANC_SAISIE_ANC_TRAITEMENT_TITLE_INSERT",
"input_size":"xxs",
"nb_cols":12,
"javascript":false,
"rows":[
{
"fields":[
{
"type":"select",
"name":"id_installation",
"label":"Installation",
"required":true,
"nb_cols":4,
"id":"id_installation",
"datasource":{
"datasource_id":"datasource_38",
"sort_order":"ASC",
"distinct":"true",
"label_key":"num_dossier",
"order_by":"num_dossier",
"id_key":"id_installation",
"attributs":"id_installation|num_dossier"
},
"id_from":"id_installation_from"
},
{
"type":"select",
"name":"id_controle",
"label":"Contrôle",
"required":true,
"nb_cols":4,
"id":"id_controle_2_1",
"datasource":{
"datasource_id":"datasource_39",
"sort_order":"ASC",
"distinct":"true",
"label_key":"id_controle",
"order_by":"id_controle",
"id_key":"id_controle",
"attributs":"id_controle|id_controle",
"parents":[
{
"name":"id_installation",
"filter_attr":"id_installation",
"filter_equality":"=",
"wait_for_parent":true
}
]
},
"id_from":"id_controle_2_1_from"
},
{
"type":"select",
"name":"tra_type",
"label":"Type de traitement",
"required":true,
"nb_cols":4,
"id":"Element_0_1_2",
"id_from":"Element_0_1_2_from",
"datasource":{
"datasource_id":"datasource_1",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_0",
"label":"Dimensionnement",
"nb_cols":12,
"id":"Element_0_2_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_nb",
"label":"Nombre de tranchées",
"required":false,
"nb_cols":4,
"id":"Element_1_3_1",
"id_from":"Element_1_3_1_from",
"datasource":{
"datasource_id":"datasource_2",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
},
{
"type":"number",
"name":"tra_long",
"label":"Longueur (en m)",
"required":false,
"pattern":"",
"nb_cols":4,
"id":"Element_1_3_2"
},
{
"type":"number",
"name":"tra_longueur",
"label":"Longueur de chaque tranchée (en m)",
"required":false,
"pattern":"",
"nb_cols":4,
"id":"Element_1_3_4"
},
{
"type":"number",
"name":"tra_larg",
"label":"Largeur (en m)",
"required":false,
"pattern":"",
"nb_cols":4,
"id":"Element_1_3_3"
},
{
"type":"number",
"name":"tra_surf",
"label":"Surface (en m²)",
"required":false,
"pattern":"",
"nb_cols":4,
"id":"Element_1_4_2"
},
{
"type":"number",
"name":"tra_tot_lin",
"label":"Linéaire total (en m)",
"required":false,
"pattern":"",
"nb_cols":4,
"id":"Element_1_4_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_largeur",
"label":"Largeur des tranchées",
"required":false,
"nb_cols":4,
"id":"Element_1_4_3",
"id_from":"Element_1_4_3_from",
"datasource":{
"datasource_id":"datasource_40",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
},
{
"type":"number",
"name":"tra_profond",
"label":"Profondeur des tranchées (en cm)",
"required":false,
"pattern":"",
"nb_cols":4,
"id":"Element_1_5_3"
},
{
"type":"number",
"name":"tra_profondeur",
"label":"Profondeur (en cm)",
"required":false,
"pattern":"",
"nb_cols":4,
"id":"Element_1_5_2"
}
]
},
{
"fields":[
{
"type":"text",
"name":"tra_hauteur",
"label":"Hauteur",
"required":false,
"pattern":"",
"nb_cols":6,
"id":"Element_1_5_1"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_1",
"label":"Implantation",
"nb_cols":12,
"id":"Element_1_6_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_dist_hab",
"label":"Distance habitation > 5m",
"required":false,
"nb_cols":6,
"id":"Element_2_7_1",
"id_from":"Element_2_7_1_from",
"datasource":{
"datasource_id":"datasource_3",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
},
{
"type":"select",
"name":"tra_dist_lim_parc",
"label":"Limite parcelle > 3m",
"required":false,
"nb_cols":6,
"id":"Element_2_7_2",
"id_from":"Element_2_7_2_from",
"datasource":{
"datasource_id":"datasource_4",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_dist_veget",
"label":"Distance végétation > 3m",
"required":false,
"nb_cols":6,
"id":"Element_2_8_1",
"id_from":"Element_2_8_1_from",
"datasource":{
"datasource_id":"datasource_5",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
},
{
"type":"select",
"name":"tra_dist_puit",
"label":"Distance puit 35m",
"required":false,
"nb_cols":6,
"id":"Element_2_8_2",
"id_from":"Element_2_8_2_from",
"datasource":{
"datasource_id":"datasource_6",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_2",
"label":"Vérification des matériaux",
"nb_cols":12,
"id":"Element_2_9_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_vm_racine",
"label":"Présence d'un film anti-racine",
"nb_cols":4,
"id":"Element_3_10_1",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_14",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_10_1_from"
},
{
"type":"select",
"name":"tra_vm_humidite",
"label":"Présence d'un film anti-humidité",
"nb_cols":4,
"id":"Element_3_10_2",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_15",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_10_2_from"
},
{
"type":"select",
"name":"tra_vm_imper",
"label":"Présence d'un film imperméable",
"nb_cols":4,
"id":"Element_3_10_3",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_16",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_10_3_from"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_vm_geomembrane",
"label":"Présence d'une géomembrane",
"nb_cols":4,
"id":"Element_3_11_0",
"datasource":{
"datasource_id":"datasource_41",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_11_0_from"
},
{
"type":"select",
"name":"tra_vm_geogrille",
"label":"Présence d'une géo-grille",
"nb_cols":4,
"id":"Element_3_11_1",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_17",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_11_1_from"
},
{
"type":"select",
"name":"tra_vm_grav_qual",
"label":"Graviers de qualité conforme aux filières d'assainissement non collectif",
"nb_cols":8,
"id":"Element_3_11_2",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_18",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_11_2_from"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_vm_grav_ep",
"label":"Epaisseur conforme des graviers",
"nb_cols":4,
"id":"Element_3_11_3",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_19",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_11_3_from"
},
{
"type":"select",
"name":"tra_vm_geo_text",
"label":"Présence d'un géotextile",
"nb_cols":4,
"id":"Element_3_12_1",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_20",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_12_1_from"
},
{
"type":"select",
"name":"tra_vm_ht_terre_veget",
"label":"Hauteur de terre vegetale de 20 cm au-dessus des drains",
"nb_cols":4,
"id":"Element_3_12_2",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"id_from":"Element_3_12_2_from",
"datasource":{
"datasource_id":"datasource_7",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_vm_tuy_perf",
"label":"Les tuyaux d'épandage mis en place sont-ils des tuyaux rigides perforés prévus pour l'assainissement non collectif, orifices dirigés vers le bas",
"nb_cols":12,
"id":"Element_3_12_3",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_22",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_12_3_from"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_vm_bon_mat",
"label":"Les bons de matériaux ont-ils été fournis",
"nb_cols":4,
"id":"Element_3_13_1",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_23",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_13_1_from"
},
{
"type":"select",
"name":"tra_vm_sab_qual",
"label":"Sable de qualité conforme",
"nb_cols":4,
"id":"Element_3_13_3",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_25",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_13_3_from"
},
{
"type":"select",
"name":"tra_vm_sab_ep",
"label":"Epaisseur de sable de 0.7",
"nb_cols":4,
"id":"Element_3_13_2",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_24",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_13_2_from"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_3",
"label":"Regard de repartition",
"nb_cols":12,
"id":"Element_3_15_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_regrep_mat",
"label":"Matériau du regard de répartition",
"nb_cols":4,
"id":"Element_4_16_1",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_26",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_4_16_1_from"
},
{
"type":"select",
"name":"tra_regrep_affl",
"label":"Affleure-t-il le niveau du sol",
"required":false,
"nb_cols":4,
"id":"Element_4_16_2",
"id_from":"Element_4_16_2_from",
"datasource":{
"datasource_id":"datasource_8",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
},
{
"type":"select",
"name":"tra_regrep_equi",
"label":"Equirépartition des eaux",
"required":false,
"nb_cols":4,
"id":"Element_4_16_3",
"id_from":"Element_4_16_3_from",
"datasource":{
"datasource_id":"datasource_9",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_regrep_perf",
"label":"Les tuyaux de répartition sont-ils non perforés",
"nb_cols":12,
"id":"Element_4_17_1",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_29",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_4_17_1_from"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_5",
"label":"Regard de bouclage",
"nb_cols":12,
"id":"Element_5_17_3"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_regbl_mat",
"label":"Matériau du regard de bouclage",
"required":false,
"nb_cols":4,
"id":"Element_6_19_1",
"id_from":"Element_6_19_1_from",
"datasource":{
"datasource_id":"datasource_10",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
},
{
"type":"select",
"name":"tra_regbl_affl",
"label":"Affleure-t-il le niveau de sol",
"nb_cols":4,
"id":"Element_6_19_2",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_36",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_6_19_2_from"
},
{
"type":"select",
"name":"tra_regbl_hz",
"label":"Est-il posé horizontalement",
"nb_cols":4,
"id":"Element_6_19_3",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_32",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_6_19_3_from"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_regbl_epand",
"label":"Les tuyaux d'épandage sont raccordés de manière indépendante au regard de bouclage",
"nb_cols":8,
"id":"Element_4_17_2",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_33",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_4_17_2_from"
},
{
"type":"select",
"name":"tra_regbl_perf",
"label":"Les tuyaux de bouclage sont-ils perforés",
"nb_cols":4,
"id":"Element_6_20_2",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_34",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_6_20_2_from"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_4",
"label":"Regard de collecte",
"nb_cols":12,
"id":"Element_4_22_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_regcol_mat",
"label":"Matériau du regard de collecte",
"required":false,
"nb_cols":4,
"id":"Element_6_22_1",
"id_from":"Element_6_22_1_from",
"datasource":{
"datasource_id":"datasource_11",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
},
{
"type":"select",
"name":"tra_regcol_affl",
"label":"Affleure-t-il le niveau du sol",
"nb_cols":4,
"id":"Element_7_22_2",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_36",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_7_22_2_from"
},
{
"type":"select",
"name":"tra_regcol_hz",
"label":"Est-il posé horizontalement",
"nb_cols":4,
"id":"Element_8_22_3",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_37",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_8_22_3_from"
}
]
},
{
"fields":[
{
"type":"tinymce",
"name":"tra_commentaire",
"label":"Commentaires",
"nb_cols":12,
"id":"tra_commentaire_17_1",
"nb_rows":10
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_7",
"label":"Documents",
"nb_cols":12,
"id":"Element_7_26_1"
}
]
},
{
"fields":[
{
"type":"image_wsdata",
"name":"photos_f",
"label":"Photos",
"nb_cols":12,
"id":"Element_0_2_1",
"displayOnly":false
}
]
},
{
"fields":[
{
"type":"file_wsdata",
"name":"fiche_f",
"label":"Fiche Entretien",
"nb_cols":12,
"id":"Element_0_3_1",
"displayOnly":false
}
]
},
{
"fields":[
{
"type":"file_wsdata",
"name":"schema_f",
"label":"Schéma de principe",
"nb_cols":12,
"id":"Element_0_4_1",
"displayOnly":false
}
]
},
{
"fields":[
{
"type":"file_wsdata",
"name":"documents_f",
"label":"Documents",
"nb_cols":12,
"id":"Element_0_5_1",
"displayOnly":false
}
]
},
{
"fields":[
{
"type":"file_wsdata",
"name":"plan_f",
"label":"Plan de recolement",
"nb_cols":12,
"id":"Element_0_6_1",
"displayOnly":false
}
]
},
{
"fields":[
{
"type":"button",
"class":"btn-ungroup btn-group-sm",
"nb_cols":12,
"name":"insert_button",
"id":"insert_button",
"buttons":[
{
"type":"submit",
"name":"form_submit",
"label":"FORM_CREATE",
"class":"btn-primary"
},
{
"type":"button",
"name":"return_list",
"label":"FORM_RETURN_LIST",
"class":"btn-primary",
"event":"setMode(\"search\")"
}
]
}
]
}
],
"initEvent": "initAncTraitementForm()",
"event":"sendSimpleForm()",
"afterEvent":"editSectionForm()",
"tabs":{
"position":"top",
"list":[
{
"label":"Tab 0",
"elements":[
"insert_button",
"id_controle",
"tra_type",
"id_traitement",
"tra_nb",
"tra_long",
"tra_longueur",
"tra_larg",
"tra_tot_lin",
"tra_surf",
"tra_largeur",
"tra_hauteur",
"tra_profondeur",
"tra_profond",
"Element_1",
"tra_dist_hab",
"tra_dist_lim_parc",
"tra_dist_veget",
"tra_dist_puit",
"Element_2",
"tra_vm_racine",
"tra_vm_humidite",
"tra_vm_imper",
"tra_vm_geogrille",
"tra_vm_grav_qual",
"tra_vm_grav_ep",
"tra_vm_geo_text",
"tra_vm_ht_terre_veget",
"tra_vm_tuy_perf",
"tra_vm_bon_mat",
"tra_vm_sab_ep",
"tra_vm_sab_qual",
"Element_3",
"tra_regrep_mat",
"tra_regrep_affl",
"tra_regrep_equi",
"tra_regrep_perf",
"tra_regbl_epand",
"Element_5",
"tra_regbl_mat",
"tra_regbl_affl",
"tra_regbl_hz",
"tra_regbl_perf",
"Element_4",
"tra_regcol_mat",
"tra_regcol_affl",
"tra_regcol_hz",
"id_installation",
"Element_0",
"Element_7",
"tra_vm_geomembrane",
"tra_commentaire"
]
}
]
}
},
"update":{
"name":"anc_saisie_anc_traitement-form",
"title":"ANC_SAISIE_ANC_TRAITEMENT_TITLE_UPDATE",
"input_size":"xxs",
"nb_cols":12,
"javascript":false,
"rows":[
{
"fields":[
{
"type":"label",
"name":"id_traitement",
"label":"ID",
"nb_cols":3,
"id":"Element_6_1_2"
},
{
"type":"select",
"name":"id_installation",
"label":"Installation",
"required":true,
"nb_cols":3,
"id":"Element_6_1_2",
"datasource":{
"datasource_id":"datasource_38",
"sort_order":"ASC",
"distinct":"true",
"label_key":"num_dossier",
"order_by":"num_dossier",
"id_key":"id_installation",
"attributs":"id_installation|num_dossier"
},
"id_from":"Element_6_1_2_from"
},
{
"type":"select",
"name":"id_controle",
"label":"Identifiant de contrôle",
"nb_cols":3,
"id":"Element_0_1_1",
"required":true,
"datasource":{
"datasource_id":"datasource_13",
"sort_order":"ASC",
"distinct":"true",
"label_key":"id_controle",
"order_by":"id_controle",
"id_key":"id_controle",
"attributs":"id_controle|id_controle",
"parents":[
{
"name":"id_installation",
"filter_attr":"id_installation",
"filter_equality":"=",
"wait_for_parent":true
}
]
},
"id_from":"Element_0_1_1_from"
},
{
"type":"select",
"name":"tra_type",
"label":"Type de traitement",
"required":true,
"nb_cols":3,
"id":"Element_0_1_2",
"id_from":"Element_0_1_2_from",
"datasource":{
"datasource_id":"datasource_1",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_0",
"label":"Dimensionnement",
"nb_cols":12,
"id":"Element_0_2_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_nb",
"label":"Nombre de tranchées",
"required":false,
"nb_cols":4,
"id":"Element_1_3_1",
"id_from":"Element_1_3_1_from",
"datasource":{
"datasource_id":"datasource_2",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
},
{
"type":"number",
"name":"tra_long",
"label":"Longueur (en m)",
"required":false,
"pattern":"",
"nb_cols":4,
"id":"Element_1_3_2"
},
{
"type":"number",
"name":"tra_longueur",
"label":"Longueur de chaque tranchée (en m)",
"required":false,
"pattern":"",
"nb_cols":4,
"id":"Element_1_3_4"
},
{
"type":"number",
"name":"tra_larg",
"label":"Largeur (en m)",
"required":false,
"pattern":"",
"nb_cols":4,
"id":"Element_1_3_3"
},
{
"type":"number",
"name":"tra_surf",
"label":"Surface (en m²)",
"required":false,
"pattern":"",
"nb_cols":4,
"id":"Element_1_4_2"
},
{
"type":"number",
"name":"tra_tot_lin",
"label":"Linéaire total (en m)",
"required":false,
"pattern":"",
"nb_cols":4,
"id":"Element_1_4_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_largeur",
"label":"Largeur des tranchées",
"required":false,
"nb_cols":4,
"id":"Element_1_4_3",
"id_from":"Element_1_4_3_from",
"datasource":{
"datasource_id":"datasource_40",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
},
{
"type":"number",
"name":"tra_profond",
"label":"Profondeur des tranchées (en cm)",
"required":false,
"pattern":"",
"nb_cols":4,
"id":"Element_1_5_3"
},
{
"type":"number",
"name":"tra_profondeur",
"label":"Profondeur (en cm)",
"required":false,
"pattern":"",
"nb_cols":4,
"id":"Element_1_5_2"
}
]
},
{
"fields":[
{
"type":"text",
"name":"tra_hauteur",
"label":"Hauteur",
"required":false,
"pattern":"",
"nb_cols":6,
"id":"Element_1_5_1"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_1",
"label":"Implantation",
"nb_cols":12,
"id":"Element_1_6_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_dist_hab",
"label":"Distance habitation > 5m",
"required":false,
"nb_cols":6,
"id":"Element_2_7_1",
"id_from":"Element_2_7_1_from",
"datasource":{
"datasource_id":"datasource_3",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
},
{
"type":"select",
"name":"tra_dist_lim_parc",
"label":"Limite parcelle > 3m",
"required":false,
"nb_cols":6,
"id":"Element_2_7_2",
"id_from":"Element_2_7_2_from",
"datasource":{
"datasource_id":"datasource_4",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_dist_veget",
"label":"Distance végétation > 3m",
"required":false,
"nb_cols":6,
"id":"Element_2_8_1",
"id_from":"Element_2_8_1_from",
"datasource":{
"datasource_id":"datasource_5",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
},
{
"type":"select",
"name":"tra_dist_puit",
"label":"Distance puit 35m",
"required":false,
"nb_cols":6,
"id":"Element_2_8_2",
"id_from":"Element_2_8_2_from",
"datasource":{
"datasource_id":"datasource_6",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_2",
"label":"Vérification des matériaux",
"nb_cols":12,
"id":"Element_2_9_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_vm_racine",
"label":"Présence d'un film anti-racine",
"nb_cols":4,
"id":"Element_3_10_1",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_14",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_10_1_from"
},
{
"type":"select",
"name":"tra_vm_humidite",
"label":"Présence d'un film anti-humidité",
"nb_cols":4,
"id":"Element_3_10_2",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_15",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_10_2_from"
},
{
"type":"select",
"name":"tra_vm_imper",
"label":"Présence d'un film imperméable",
"nb_cols":4,
"id":"Element_3_10_3",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_16",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_10_3_from"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_vm_geomembrane",
"label":"Présence d'une géomembrane",
"nb_cols":4,
"id":"Element_3_11_0",
"datasource":{
"datasource_id":"datasource_41",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_11_0_from"
},
{
"type":"select",
"name":"tra_vm_geogrille",
"label":"Présence d'une géo-grille",
"nb_cols":4,
"id":"Element_3_11_1",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_17",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_11_1_from"
},
{
"type":"select",
"name":"tra_vm_grav_qual",
"label":"Graviers de qualité conforme aux filières d'assainissement non collectif",
"nb_cols":8,
"id":"Element_3_11_2",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_18",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_11_2_from"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_vm_grav_ep",
"label":"Epaisseur conforme des graviers",
"nb_cols":4,
"id":"Element_3_11_3",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_19",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_11_3_from"
},
{
"type":"select",
"name":"tra_vm_geo_text",
"label":"Présence d'un géotextile",
"nb_cols":4,
"id":"Element_3_12_1",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_20",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_12_1_from"
},
{
"type":"select",
"name":"tra_vm_ht_terre_veget",
"label":"Hauteur de terre vegetale de 20 cm au-dessus des drains",
"nb_cols":4,
"id":"Element_3_12_2",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"id_from":"Element_3_12_2_from",
"datasource":{
"datasource_id":"datasource_7",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_vm_tuy_perf",
"label":"Les tuyaux d'épandage mis en place sont-ils des tuyaux rigides perforés prévus pour l'assainissement non collectif, orifices dirigés vers le bas",
"nb_cols":12,
"id":"Element_3_12_3",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_22",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_12_3_from"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_vm_bon_mat",
"label":"Les bons de matériaux ont-ils été fournis",
"nb_cols":4,
"id":"Element_3_13_1",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_23",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_13_1_from"
},
{
"type":"select",
"name":"tra_vm_sab_qual",
"label":"Sable de qualité conforme",
"nb_cols":4,
"id":"Element_3_13_3",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_25",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_13_3_from"
},
{
"type":"select",
"name":"tra_vm_sab_ep",
"label":"Epaisseur de sable de 0.7",
"nb_cols":4,
"id":"Element_3_13_2",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_24",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_3_13_2_from"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_3",
"label":"Regard de repartition",
"nb_cols":12,
"id":"Element_3_15_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_regrep_mat",
"label":"Matériau du regard de répartition",
"nb_cols":4,
"id":"Element_4_16_1",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_26",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_4_16_1_from"
},
{
"type":"select",
"name":"tra_regrep_affl",
"label":"Affleure-t-il le niveau du sol",
"required":false,
"nb_cols":4,
"id":"Element_4_16_2",
"id_from":"Element_4_16_2_from",
"datasource":{
"datasource_id":"datasource_8",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
},
{
"type":"select",
"name":"tra_regrep_equi",
"label":"Equirépartition des eaux",
"required":false,
"nb_cols":4,
"id":"Element_4_16_3",
"id_from":"Element_4_16_3_from",
"datasource":{
"datasource_id":"datasource_9",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_regrep_perf",
"label":"Les tuyaux de répartition sont-ils non perforés",
"nb_cols":12,
"id":"Element_4_17_1",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_29",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_4_17_1_from"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_5",
"label":"Regard de bouclage",
"nb_cols":12,
"id":"Element_5_17_3"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_regbl_mat",
"label":"Matériau du regard de bouclage",
"required":false,
"nb_cols":4,
"id":"Element_6_19_1",
"id_from":"Element_6_19_1_from",
"datasource":{
"datasource_id":"datasource_10",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
},
{
"type":"select",
"name":"tra_regbl_affl",
"label":"Affleure-t-il le niveau de sol",
"nb_cols":4,
"id":"Element_6_19_2",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_36",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_6_19_2_from"
},
{
"type":"select",
"name":"tra_regbl_hz",
"label":"Est-il posé horizontalement",
"nb_cols":4,
"id":"Element_6_19_3",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_32",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_6_19_3_from"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_regbl_epand",
"label":"Les tuyaux d'épandage sont raccordés de manière indépendante au regard de bouclage",
"nb_cols":8,
"id":"Element_4_17_2",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_33",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_4_17_2_from"
},
{
"type":"select",
"name":"tra_regbl_perf",
"label":"Les tuyaux de bouclage sont-ils perforés",
"nb_cols":4,
"id":"Element_6_20_2",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_34",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_6_20_2_from"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_4",
"label":"Regard de collecte",
"nb_cols":12,
"id":"Element_4_22_1"
}
]
},
{
"fields":[
{
"type":"select",
"name":"tra_regcol_mat",
"label":"Matériau du regard de collecte",
"required":false,
"nb_cols":4,
"id":"Element_6_22_1",
"id_from":"Element_6_22_1_from",
"datasource":{
"datasource_id":"datasource_11",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
}
},
{
"type":"select",
"name":"tra_regcol_affl",
"label":"Affleure-t-il le niveau du sol",
"nb_cols":4,
"id":"Element_7_22_2",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_36",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_7_22_2_from"
},
{
"type":"select",
"name":"tra_regcol_hz",
"label":"Est-il posé horizontalement",
"nb_cols":4,
"id":"Element_8_22_3",
"options":{
"choices":[
{
"label":"Oui",
"value":true
},
{
"label":"Non",
"value":false
}
]
},
"datasource":{
"datasource_id":"datasource_37",
"sort_order":"ASC",
"distinct":"true",
"label_key":"alias",
"order_by":"alias",
"id_key":"valeur",
"attributs":"valeur|alias"
},
"id_from":"Element_8_22_3_from"
}
]
},
{
"fields":[
{
"type":"tinymce",
"name":"tra_commentaire",
"label":"Commentaires",
"nb_cols":12,
"id":"tra_commentaire_17_1",
"nb_rows":10
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_6",
"label":"Suivi",
"nb_cols":12,
"id":"Element_6_23_1"
}
]
},
{
"fields":[
{
"type":"label",
"name":"create",
"label":"Auteur",
"nb_cols":6,
"id":"Element_0_3_1"
},
{
"type":"label",
"name":"create_date",
"label":"Date de création",
"nb_cols":6,
"id":"Element_0_3_2"
}
]
},
{
"fields":[
{
"type":"label",
"name":"maj",
"label":"Mise à jour",
"nb_cols":6,
"id":"Element_0_3_2"
},
{
"type":"label",
"name":"maj_date",
"label":"Date de mise à jour",
"nb_cols":6,
"id":"Element_0_3_3"
}
]
},
{
"fields":[
{
"type":"title",
"name":"Element_7",
"label":"Documents",
"nb_cols":12,
"id":"Element_7_26_1"
}
]
},
{
"fields":[
{
"type":"image_wsdata",
"name":"photos_f",
"label":"Photos",
"nb_cols":12,
"id":"Element_0_2_1",
"displayOnly":false
}
]
},
{
"fields":[
{
"type":"file_wsdata",
"name":"fiche_f",
"label":"Fiche Entretien",
"nb_cols":12,
"id":"Element_0_3_1",
"displayOnly":false
}
]
},
{
"fields":[
{
"type":"file_wsdata",
"name":"schema_f",
"label":"Schéma de principe",
"nb_cols":12,
"id":"Element_0_4_1",
"displayOnly":false
}
]
},
{
"fields":[
{
"type":"file_wsdata",
"name":"documents_f",
"label":"Documents",
"nb_cols":12,
"id":"Element_0_5_1",
"displayOnly":false
}
]
},
{
"fields":[
{
"type":"file_wsdata",
"name":"plan_f",
"label":"Plan de recolement",
"nb_cols":12,
"id":"Element_0_6_1",
"displayOnly":false
}
]
},
{
"fields":[
{
"type":"button",
"class":"btn-ungroup btn-group-sm",
"nb_cols":12,
"name":"update_button",
"id":"update_button",
"buttons":[
{
"type":"submit",
"name":"form_submit",
"label":"FORM_UPDATE",
"class":"btn-primary"
},
{
"type":"button",
"name":"return_list",
"label":"FORM_RETURN_LIST",
"class":"btn-primary",
"event":"setMode(\"search\")"
}
]
}
]
}
],
"initEvent": "initAncTraitementForm()",
"event":"sendSimpleForm()",
"tabs":{
"position":"top",
"list":[
{
"label":"Tab 0",
"elements":[
"update_button",
"id_controle",
"tra_type",
"id_traitement",
"tra_nb",
"tra_long",
"tra_longueur",
"tra_larg",
"tra_tot_lin",
"tra_surf",
"tra_largeur",
"tra_hauteur",
"tra_profondeur",
"tra_profond",
"Element_1",
"tra_dist_hab",
"tra_dist_lim_parc",
"tra_dist_veget",
"tra_dist_puit",
"Element_2",
"tra_vm_racine",
"tra_vm_humidite",
"tra_vm_imper",
"tra_vm_geogrille",
"tra_vm_grav_qual",
"tra_vm_grav_ep",
"tra_vm_geo_text",
"tra_vm_ht_terre_veget",
"tra_vm_tuy_perf",
"tra_vm_bon_mat",
"tra_vm_sab_ep",
"tra_vm_sab_qual",
"Element_3",
"tra_regrep_mat",
"tra_regrep_affl",
"tra_regrep_equi",
"tra_regrep_perf",
"tra_regbl_epand",
"Element_5",
"tra_regbl_mat",
"tra_regbl_affl",
"tra_regbl_hz",
"tra_regbl_perf",
"Element_4",
"tra_regcol_mat",
"tra_regcol_affl",
"tra_regcol_hz",
"id_installation",
"Element_0",
"Element_6",
"Element_7",
"maj",
"maj_date",
"create",
"create_date",
"photos_f",
"fiche_f",
"schema_f",
"documents_f",
"plan_f",
"tra_vm_geomembrane",
"tra_commentaire"
]
}
]
}
},
"datasources":{
"datasource_1":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_type",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"param_liste",
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_type"}
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_1"
},
"datasource_2":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_nb",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"param_liste",
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_nb"}
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_2"
},
"datasource_3":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_dist_hab",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"param_liste",
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_dist_hab"}
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_3"
},
"datasource_4":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_dist_lim_parc",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"param_liste",
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_dist_lim_parc"}
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_4"
},
"datasource_5":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_dist_veget",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"param_liste",
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_dist_veget"}
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_5"
},
"datasource_6":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_dist_puit",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"param_liste",
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_dist_puit"}
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_6"
},
"datasource_7":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_vm_ht_terre_veget",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"param_liste",
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_vm_ht_terre_veget"}
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_7"
},
"datasource_8":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_regrep_affl",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"param_liste",
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_regrep_affl"}
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_8"
},
"datasource_9":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_regrep_equi",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"param_liste",
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_regrep_equi"}
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_9"
},
"datasource_10":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_regbl_mat",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"param_liste",
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_regbl_mat"}
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_10"
},
"datasource_11":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_regcol_mat",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"param_liste",
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_regcol_mat"}
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_11"
},
"datasource_12":{
"type":"web_service",
"dataType":"tableValue",
"name":"installation",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"v_installation"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_12"
},
"datasource_13":{
"type":"web_service",
"dataType":"tableValue",
"name":"controle",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"v_controle"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_13"
},
"datasource_14":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_vm_racine",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_vm_racine"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_14"
},
"datasource_15":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_vm_humidite",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_vm_humidite"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_15"
},
"datasource_16":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_vm_imper",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_vm_imper"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_16"
},
"datasource_17":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_vm_geogrille",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_vm_geogrille"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_17"
},
"datasource_18":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_vm_grav_qual",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_vm_grav_qual"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_18"
},
"datasource_19":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_vm_grav_ep",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_vm_grav_ep"},
"database":"",
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_19"
},
"datasource_20":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_vm_geo_text",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_vm_geo_text"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_20"
},
"datasource_21":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_vm_ht_terre_veget",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_vm_ht_terre_veget"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_21"
},
"datasource_22":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_vm_tuy_perf",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_vm_tuy_perf"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_22"
},
"datasource_23":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_vm_bon_mat",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_vm_bon_mat"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_23"
},
"datasource_24":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_vm_sab_ep",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_vm_sab_ep"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_24"
},
"datasource_25":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_vm_sab_qual",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_vm_sab_qual"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_25"
},
"datasource_26":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_regrep_mat",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_regrep_mat"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_26"
},
"datasource_27":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_regrep_affl",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_regrep_affl"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_27"
},
"datasource_28":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_regrep_equi",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_regrep_equi"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_28"
},
"datasource_29":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_regrep_perf",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_regrep_perf"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_29"
},
"datasource_30":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_regbl_mat",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_regbl_mat"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_30"
},
"datasource_31":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_regbl_affl",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_regbl_affl"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_31"
},
"datasource_32":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_regbl_hz",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_regbl_hz"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_32"
},
"datasource_33":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_regbl_epand",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_regbl_epand"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_33"
},
"datasource_34":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_regbl_perf",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_regbl_perf"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_34"
},
"datasource_35":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_regcol_mat",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_regcol_mat"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_35"
},
"datasource_36":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_regcol_affl",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_regcol_affl"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_36"
},
"datasource_37":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_regcol_hz",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_regcol_hz"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_37"
},
"datasource_38":{
"type":"web_service",
"dataType":"tableValue",
"name":"installation",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"v_installation"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_38"
},
"datasource_39":{
"type":"web_service",
"dataType":"tableValue",
"name":"controle",
"description":"",
"parameters":{
"schema":"s_anc",
"table":"v_controle"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_3"
},
"datasource_40":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_largeur",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_largeur"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_40"
},
"datasource_41":{
"type":"web_service",
"dataType":"tableValue",
"name":"tra_vm_geomembrane",
"description":"",
"parameters":{
"filter": {"id_nom_table": "traitement", "nom_liste": "tra_vm_geomembrane"},
"schema":"s_anc",
"table":"param_liste"
},
"ressource_id":"vitis/genericquerys",
"id":"datasource_41"
}
}
}
/* global vitisApp, goog, angular, bootbox, oVFB */
'use strict';
goog.provide('vmap.anc.anc_saisie_map');
vitisApp.on('appMainDrtvLoaded', function () {
var $q = angular.element(vitisApp.appMainDrtv).injector().get(['$q']);
var $log = angular.element(vitisApp.appMainDrtv).injector().get(['$log']);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(['envSrvc']);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var propertiesSrvc = angular.element(vitisApp.appMainDrtv).injector().get(['propertiesSrvc']);
/**
* Initialise la carte du menu installation > suivi
*/
angular.element(vitisApp.appMainDrtv).scope()['initAncInstallationSuiviFormMap'] = function () {
$log.info("initAncInstallationSuiviFormMap");
var this_ = this;
var scope = this;
// Remplace si besoin l'identifiant et le type de carte à utiliser
var sMapId = this['getAncFormMapId']('installation');
this['setFormMapTreeByMapId'](sMapId);
// Résultat de la propertie anc.installation.zoom_on_parcelle
var bZoomOnParcelle = this['getAncZoomOnParcellePropertie'](propertiesSrvc, 'installation');
// Récupère l'identifiant de la parcelle correspondante
var sIdPar = this['getAncInstallSuiviIdPar'](scope);
// Récupère la géométrie de l'installation
var sGeom = this['ancMapGetFormGeom'](scope, 'installation');
if (!goog.isDefAndNotNull(sGeom)) {
// Zoom la carte sur la parcelle
if (goog.isDefAndNotNull(sIdPar) && bZoomOnParcelle === true) {
this['ancMapZoomOnParcelle'](sIdPar, 'installation');
}
}
}
/**
* Initialise la carte du menu controle > schema
*/
angular.element(vitisApp.appMainDrtv).scope()['initAncControleSchemaFormMap'] = function () {
$log.info("initAncInstallationSuiviFormMap");
var this_ = this;
var scope = angular.element("form[name='" + envSrvc["oFormDefinition"][envSrvc["sFormDefinitionName"]]["name"]).scope();
// Remplace si besoin l'identifiant et le type de carte à utiliser
var sMapId = this['getAncFormMapId']('controle');
this['setFormMapTreeByMapId'](sMapId);
// Résultat de la propertie anc.installation.zoom_on_parcelle
var bZoomOnParcelle = this['getAncZoomOnParcellePropertie'](propertiesSrvc, 'controle');
// Récupère la géométrie de l'installation
var sGeom = this['ancMapGetFormGeom'](scope, 'controle');
// Récupère l'identifiant de la parcelle correspondante
var sIdPar = this['getAncControleSchemaIdPar'](scope).then(function(sIdPar){
// Zoom la carte sur la parcelle
if (!goog.isDefAndNotNull(sGeom)) {
if (goog.isDefAndNotNull(sIdPar) && bZoomOnParcelle === true) {
this_['ancMapZoomOnParcelle'](sIdPar, 'controle');
}
}
});
}
/**
* Remplace la carte OSM si une carte est fournie sur properties.anc.installation..map_id
* @param {string} sMapId map id
*/
angular.element(vitisApp.appMainDrtv).scope()['setFormMapTreeByMapId'] = function (sMapId) {
$log.info("initAncInstallationSuiviFormMapTree");
var formScope = angular.element("form[name='" + envSrvc["oFormDefinition"][envSrvc["sFormDefinitionName"]]["name"]).scope();
var oForm;
if (goog.isDefAndNotNull(formScope)) {
if (goog.isDefAndNotNull(formScope['oFormDefinition'])) {
if (goog.isDefAndNotNull(formScope['oFormDefinition'][envSrvc["sFormDefinitionName"]])) {
oForm = formScope['oFormDefinition'][envSrvc["sFormDefinitionName"]];
}
}
}
if (goog.isDefAndNotNull(oForm) && goog.isDefAndNotNull(sMapId)) {
if (goog.isArray(oForm['rows'])) {
for (var i = 0; i < oForm['rows'].length; i++) {
if (goog.isArray(oForm['rows'][i]['fields'])) {
for (var ii = 0; ii < oForm['rows'][i]['fields'].length; ii++) {
if (goog.isObject(oForm['rows'][i]['fields'][ii]['map_options'])) {
if(oForm['rows'][i]['fields'][ii]['type'] === 'map_osm'){
oForm['rows'][i]['fields'][ii]['type'] = 'map_vmap';
}
oForm['rows'][i]['fields'][ii]['map_options']['type'] = 'vmap';
oForm['rows'][i]['fields'][ii]['map_options']['map_id'] = sMapId;
}
}
}
}
}
}
}
/**
* Récupère l'identifiant de la cate fourni sur properties.anc.installation.map_id
*
* @return {string|undefined} map_id
*/
angular.element(vitisApp.appMainDrtv).scope()['getAncFormMapId'] = function (sObject) {
var sMapId;
if (goog.isDefAndNotNull(propertiesSrvc)) {
if (goog.isDefAndNotNull(propertiesSrvc["anc"])) {
if (goog.isDefAndNotNull(propertiesSrvc["anc"][sObject])) {
if (goog.isDefAndNotNull(propertiesSrvc["anc"][sObject]["map_id"])) {
if (propertiesSrvc["anc"][sObject]["map_id"] !== false) {
sMapId = propertiesSrvc["anc"][sObject]["map_id"];
}
}
}
}
}
return sMapId;
}
/**
* Get propertie anc.installation.zoom_on_parcelle
*
* @param {object} oProperties Properties
* @return {boolean} anc.installation.zoom_on_parcelle value
*/
angular.element(vitisApp.appMainDrtv).scope()['getAncZoomOnParcellePropertie'] = function(oProperties, sObject){
$log.info('getAncZoomOnParcellePropertie');
var bZoomOnParcelle = false;
if (goog.isDefAndNotNull(oProperties)) {
if (goog.isDefAndNotNull(oProperties["anc"])) {
if (goog.isDefAndNotNull(oProperties["anc"][sObject])) {
if (goog.isDefAndNotNull(oProperties["anc"][sObject]["zoom_on_parcelle"])) {
if (oProperties["anc"][sObject]["zoom_on_parcelle"] === true) {
bZoomOnParcelle = true;
}
}
}
}
}
return bZoomOnParcelle;
}
/**
* Récupère l'id_par correspondant à l'installation
*
* @param {object} scope description
* @return {string|undefined} id_par de la parcelle correspondante
*/
angular.element(vitisApp.appMainDrtv).scope()['getAncInstallSuiviIdPar'] = function(scope){
$log.info('getAncInstallSuiviIdPar');
var sParcelle;
if (goog.isDefAndNotNull(scope['oFormValues'])) {
if (goog.isDefAndNotNull(scope['sFormDefinitionName'])) {
if (goog.isDefAndNotNull(scope['oFormValues'][scope['sFormDefinitionName']])) {
if (goog.isDefAndNotNull(scope['oFormValues'][scope['sFormDefinitionName']]['id_parc'])) {
sParcelle = scope['oFormValues'][scope['sFormDefinitionName']]['id_parc'];
}
}
}
}
return sParcelle;
}
/**
* Récupère l'id_par correspondant à l'installation dans une promesse
*
* @param {object} scope description
* @return {promise}
*/
angular.element(vitisApp.appMainDrtv).scope()['getAncControleSchemaIdPar'] = function(scope){
$log.info('getAncControleSchemaIdPar');
var deferred = $q.defer();
var sInstall = this['getAncControleSchemaIdInstall'](scope);
// Requête Ajax pour récupérer la définition complète de l'install
if (!goog.isDefAndNotNull(sInstall) || sInstall == '') {
console.error('id_installation non valide');
deferred.reject();
} else {
// Récupère la liste des rapports disponibles
ajaxRequest({
'method': 'GET',
'url': propertiesSrvc["web_server_name"] + "/" + propertiesSrvc["services_alias"] + '/anc/installations/' + sInstall,
'headers': {
'Accept': 'application/x-vm-json'
},
'success': function (response) {
if (!goog.isDefAndNotNull(response['data'])) {
console.error('response.data undefined: ', response);
deferred.reject();
return 0;
}
if (!goog.isDefAndNotNull(response['data']['data'])) {
console.error('Aucune installation disponible pour ' + sInstall);
deferred.reject();
return 0;
}
if (!goog.isDefAndNotNull(response['data']['data'][0])) {
console.error('Aucune installation disponible pour ' + sInstall);
deferred.reject();
return 0;
}
if (!goog.isDefAndNotNull(response['data']['data'][0]['id_parc'])) {
console.error('Aucune parcelle disponible pour ' + sInstall);
deferred.reject();
return 0;
}
var sParcelle = response['data']['data'][0]['id_parc'];
deferred.resolve(sParcelle);
}
});
}
return deferred.promise;
}
/**
* Récupère l'id_install correspondant au contrôle
*
* @param {object} scope description
* @return {string|undefined} id_install de la parcelle correspondante
*/
angular.element(vitisApp.appMainDrtv).scope()['getAncControleSchemaIdInstall'] = function(scope){
$log.info('getAncControleSchemaIdInstall');
var sInstall;
if (goog.isDefAndNotNull(scope['oFormValues'])) {
if (goog.isDefAndNotNull(scope['sFormDefinitionName'])) {
if (goog.isDefAndNotNull(scope['oFormValues'][scope['sFormDefinitionName']])) {
if (goog.isDefAndNotNull(scope['oFormValues'][scope['sFormDefinitionName']]['id_installation'])) {
sInstall = scope['oFormValues'][scope['sFormDefinitionName']]['id_installation'];
}
}
}
}
return sInstall;
}
/**
* Récupère la geom correspondant à l'installation
*
* @param {object} scope description
* @return {string|undefined}
*/
angular.element(vitisApp.appMainDrtv).scope()['ancMapGetFormGeom'] = function(scope, sObject){
$log.info('ancMapGetFormGeom');
var sGeom, sField;
if (sObject === 'installation') {
sField = 'geom';
}
if (sObject === 'controle') {
sField = 'composants';
}
if (goog.isDefAndNotNull(sField)) {
if (goog.isDefAndNotNull(scope['oFormValues'])) {
if (goog.isDefAndNotNull(scope['sFormDefinitionName'])) {
if (goog.isDefAndNotNull(scope['oFormValues'][scope['sFormDefinitionName']])) {
if (goog.isDefAndNotNull(scope['oFormValues'][scope['sFormDefinitionName']][sField])) {
sGeom = scope['oFormValues'][scope['sFormDefinitionName']][sField];
}
}
}
}
}
return sGeom;
}
/**
* Requeête Ajax pour récupérer la définition de la parcelle
*
* @param {string} sIdPar id_par de la parcelle
* @return {promise}
*/
angular.element(vitisApp.appMainDrtv).scope()['ancMapGetParcelleDef'] = function(sIdPar){
$log.info('ancMapGetParcelleDef');
var deferred = $q.defer();
if (!goog.isDefAndNotNull(sIdPar) || sIdPar == '') {
console.error('id_par non valide');
deferred.reject();
} else {
// Récupère la liste des rapports disponibles
ajaxRequest({
'method': 'GET',
'url': propertiesSrvc["web_server_name"] + "/" + propertiesSrvc["services_alias"] + '/cadastreV2/parcelles/' + sIdPar,
'headers': {
'Accept': 'application/x-vm-json'
},
'success': function (response) {
if (!goog.isDefAndNotNull(response['data'])) {
console.error('response.data undefined: ', response);
deferred.reject();
return 0;
}
if (!goog.isDefAndNotNull(response['data']['data'])) {
console.error('Aucune parcelle disponible pour ' + sIdPar);
deferred.reject();
return 0;
}
if (!goog.isDefAndNotNull(response['data']['data'][0])) {
console.error('Aucune parcelle disponible pour ' + sIdPar);
deferred.reject();
return 0;
}
if (!goog.isDefAndNotNull(response['data']['data'][0]['id_par'])) {
console.error('Aucune parcelle disponible pour ' + sIdPar);
deferred.reject();
return 0;
}
var oParcelle = response['data']['data'][0];
deferred.resolve(oParcelle);
}
});
}
return deferred.promise;
}
/**
* Met à jour l'étendue de la carte sur des features
*
* @param {object} oMap carte
* @param {array} aFeatures features
*/
angular.element(vitisApp.appMainDrtv).scope()['ancMapUpdateOlMapExtent'] = function(oMap, aFeatures){
$log.info('ancMapUpdateOlMapExtent');
if (goog.isDefAndNotNull(aFeatures[0])) {
var featureExtent = aFeatures[0].getGeometry().getExtent();
oMap.MapObject.getView().fit(featureExtent);
if (aFeatures[0].getGeometry().getType() === 'Point') {
oMap.MapObject.getView().setZoom(15);
}
}
}
/**
* Zoom la carte sur la parcelle correspondante
*
* @param {string} sIdPar id_par de la parcelle
* @return {promise}
*/
angular.element(vitisApp.appMainDrtv).scope()['ancMapZoomOnParcelle'] = function(sIdPar, sObject){
$log.info('ancMapZoomOnParcelle : ' + sIdPar);
var this_ = this;
var sMapElemId;
if (sObject === 'installation') {
sMapElemId = 'anc_saisie_anc_installation_suivi_map';
} else if (sObject === 'controle') {
sMapElemId = 'anc_saisie_anc_controle_schema_map';
}
if (goog.isDefAndNotNull(sIdPar) || sIdPar == '') {
this['ancMapGetParcelleDef'](sIdPar).then(function(oParcelle){
setTimeout(function () {
var oMap = angular.element($('#' + sMapElemId)).scope()['oMap'];
var sGeom = oParcelle['geom'];
if (!goog.isDefAndNotNull(sGeom) || sGeom == '') {
console.error('parcelle ' + sIdPar + ' non valide');
return null;
}
var aFeatures = oMap.getFeaturesByString(oParcelle['geom'], 'ewkt');
this_['ancMapUpdateOlMapExtent'](oMap, aFeatures);
}, 2000);
});
} else {
console.error('parcelle ' + sIdPar + ' non valide');
}
}
});
/* global vitisApp, goog, angular, bootbox, oVFB */
'use strict';
goog.provide('vmap.anc.script_module');
goog.require('vmap.anc.anc_saisie_map');
vitisApp.on('appMainDrtvLoaded', function () {
/**
* initAncControlForm function.
* Traitements avant l'affichage du formulaire de la section "Dossier" de l'onglet "Contrôle".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncControlForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
var formSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["formSrvc"]);
//
$log.info("initAncControlForm");
//
var clearListener = $rootScope.$on('formExtracted', function (event, sFormDefinitionName) {
// Supprime le "listener".
clearListener();
// Champs de form. à afficher suivant le type de contrôle et le mode du form.
var aFormFieldsToConcat = ["controle_type", "num_dossier", envSrvc["sMode"] + "_button"];
var oFormFieldsToDisplay, aFormFieldsToDisplay = [];
if (envSrvc["sMode"] == "search") {
oFormFieldsToDisplay = {
"BON FONCTIONNEMENT": ["controle_ss_type", "des_date_control", "des_interval_control", "des_refus_visite", "cl_avis", "cl_classe_cbf", "cl_date_avis", "cl_auteur_avis", "cl_date_prochain_controle", "cl_facture"],
"CONCEPTION": ["dep_date_depot", "dep_dossier_complet", "cl_avis", "cl_date_avis", "cl_auteur_avis", "cl_date_prochain_controle", "cl_facture"],
"REALISATION": ["des_date_control", "des_interval_control", "cl_avis", "cl_date_avis", "cl_auteur_avis", "cl_date_prochain_controle", "cl_facture"]
};
$rootScope["displayFormFields"](aFormFieldsToConcat);
} else {
oFormFieldsToDisplay = {
"BON FONCTIONNEMENT": ["id_controle", "id_installation", "controle_ss_type", "des_date_control", "des_interval_control", "des_pers_control", "des_agent_control", "des_refus_visite", "des_date_installation", "des_date_recommande", "des_numero_recommande", "des_reamenage_terrain", "des_reamenage_immeuble", "des_real_trvx", "des_anc_ss_accord", "des_collecte_ep", "des_sep_ep_eu", "des_eu_nb_sortie", "des_eu_tes_regards", "des_eu_pente_ecoul", "des_eu_regars_acces", "des_eu_alteration", "des_eu_ecoulement", "des_eu_depot_regard", "des_commentaire", "Element_0", "Element_4", "Element_5", "Element_7", "Element_8"],
"CONCEPTION": ["id_controle", "id_installation", "dep_date_depot", "des_date_control", "dep_liste_piece", "dep_dossier_complet", "dep_date_envoi_incomplet", "des_nature_projet", "des_concepteur", "car_surface_dispo_m2", "car_permea", "car_valeur_permea", "car_hydromorphie", "car_prof_app", "car_nappe_fond", "car_terrain_innondable", "car_roche_sol", "car_dist_hab", "car_dist_lim_par", "car_dist_veget", "car_dist_puit", "des_collecte_ep", "des_sep_ep_eu", "Element_0", "Element_2", "Element_3", "Element_5"],
"REALISATION": ["id_controle", "id_installation", "des_date_control", "des_interval_control", "des_pers_control", "des_agent_control", "des_date_installation", "des_collecte_ep", "des_sep_ep_eu", "des_eu_nb_sortie", "des_eu_tes_regards", "des_eu_pente_ecoul", "Element_0", "Element_5", "Element_8", "des_installateur", "element_7", "des_commentaire"]
};
if (envSrvc["sMode"] == "insert") {
// Sélection auto. de l'installation de travail.
var oModeFilter = envSrvc["oSelectedObject"]["aModeFilter"];
if (typeof (oModeFilter) == "object")
envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["id_installation"]["selectedOption"]["value"] = oModeFilter["operators"][0]["value"];
//
$rootScope["displayFormFields"](aFormFieldsToConcat);
} else {
if (envSrvc["sMode"] == "update") {
var sControleType = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["controle_type"];
if (goog.isDefAndNotNull(envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["controle_type"]["selectedOption"])) {
if (goog.isDefAndNotNull(envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["controle_type"]["selectedOption"]["value"])) {
sControleType = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["controle_type"]["selectedOption"]["value"];
}
}
aFormFieldsToDisplay = oFormFieldsToDisplay[sControleType];
} else {
aFormFieldsToDisplay = oFormFieldsToDisplay[envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["controle_type"]];
}
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
}
}
// Affiche et cache les champs de form. suivant le type de contrôle.
var oControleType = formSrvc["getFormElementDefinition"]("controle_type", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
document.getElementById(oControleType["id"]).addEventListener("change", function () {
if (typeof (oFormFieldsToDisplay[this.value]) != "undefined")
aFormFieldsToDisplay = oFormFieldsToDisplay[this.value];
aFormFieldsToDisplay = aFormFieldsToDisplay.concat(aFormFieldsToConcat);
$rootScope["displayFormFields"](aFormFieldsToDisplay);
});
// Conversion des dates au format Fr.
var oFormValues = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]];
if (goog.isDefAndNotNull(oFormValues["des_date_control"]))
oFormValues["des_date_control"] = moment(oFormValues["des_date_control"]).format('L');
if (goog.isDefAndNotNull(oFormValues["des_date_installation"]))
oFormValues["des_date_installation"] = moment(oFormValues["des_date_installation"]).format('L');
if (goog.isDefAndNotNull(oFormValues["des_date_recommande"]))
oFormValues["des_date_recommande"] = moment(oFormValues["des_date_recommande"]).format('L');
if (goog.isDefAndNotNull(oFormValues["dep_date_depot"]))
oFormValues["dep_date_depot"] = moment(oFormValues["dep_date_depot"]).format('L');
if (goog.isDefAndNotNull(oFormValues["dep_date_envoi_incomplet"]))
oFormValues["dep_date_envoi_incomplet"] = moment(oFormValues["dep_date_envoi_incomplet"]).format('L');
});
};
/**
* displayFormFields function.
* Affiche la liste des champs de formulaire passée en paramètre et cache les autres.
* @param {array} aFormFieldsToDisplay Tableau de champs de formulaire à afficher.
**/
angular.element(vitisApp.appMainDrtv).scope()["displayFormFields"] = function (aFormFieldsToDisplay) {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
var formSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["formSrvc"]);
var externFunctionSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["externFunctionSrvc"]);
//
$log.info("displayFormFields");
//
var aFormFields = formSrvc["getAllFormElementDefinition"](envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
var i;
if (Array.isArray(aFormFields)) {
for (i = 0; i < aFormFields.length; i++) {
if (aFormFieldsToDisplay.indexOf(aFormFields[i]["name"]) == -1)
aFormFields[i]["visible"] = false;
else
aFormFields[i]["visible"] = true;
}
// Rafraîchit le formulaire.
var formScope = angular.element("form[name='" + envSrvc["oFormDefinition"][envSrvc["sFormDefinitionName"]]["name"]).scope();
formScope.$broadcast('$$rebind::refresh');
formScope.$applyAsync();
//
externFunctionSrvc["resizeWin"]();
}
};
/**
* initAncInstallationForm function.
* Traitements avant l'affichage du formulaire de la section "Habitation" de l'onglet "Installation".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncInstallationForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
var formSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["formSrvc"]);
var propertiesSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["propertiesSrvc"]);
//
$log.info("initAncInstallationForm");
var oFormValues = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]];
// Affiche l'id de la parcelle sélectionnée dans le label 'Id Parcelle'.
if (envSrvc["sMode"] != "insert")
oFormValues["parcelle"] = oFormValues["id_parc"];
// Attends la fin du chargement de tous les champs du formulaire.
var clearListener = $rootScope.$on('formExtracted', function (event, sFormDefinitionName) {
// Supprime le "listener".
clearListener();
//
// Charge les données de la commune sélectionnée
var oIdParc = formSrvc["getFormElementDefinition"]("id_parc", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
var formScope = angular.element("form[name='" + envSrvc["oFormDefinition"][envSrvc["sFormDefinitionName"]]["name"]).scope();
document.getElementById(oIdParc["id"]).addEventListener("change", function () {
var sIdParc = this.value;
// Charge les données de la parcelle.
ajaxRequest({
"method": "GET",
"url": propertiesSrvc["web_server_name"] + "/" + propertiesSrvc["services_alias"] + "/cadastreV2/fichedescriptiveparcelle/" + sIdParc,
"scope": $rootScope,
"success": function (response) {
if (response["data"]["status"] != 0) {
// Label de l'id de la parcelle.
oFormValues["parcelle"] = sIdParc;
// Trim() des données de la parcelle.
var oParcelle = response["data"]["data"];
var aKeys = Object.keys(oParcelle);
for (var i = 0; i < aKeys.length; i++) {
if (typeof (oParcelle[aKeys[i]]) == "string")
oParcelle[aKeys[i]] = oParcelle[aKeys[i]].trim();
}
oFormValues["parc_sup"] = oParcelle["sup_fiscale"];
oFormValues["parc_adresse"] = oParcelle["DVOILIB"];
//oFormValues["code_postal"] = oParcelle["ID_COM"];
if (goog.isDefAndNotNull(oParcelle["commune"]) && oParcelle["commune"] != "")
oFormValues["parc_commune"] = oParcelle["commune"];
else
oFormValues["parc_commune"] = oFormValues["id_com"]["selectedOption"]["label"];
// Charge le code postal de la commune.
if (goog.isDefAndNotNull(propertiesSrvc["anc"]["code_postal"])) {
var sCodePostalSchema = propertiesSrvc["anc"]["code_postal"]["schema"];
var sCodePostalTable = propertiesSrvc["anc"]["code_postal"]["table"];
var sCodePostalColumn = propertiesSrvc["anc"]["code_postal"]["column"];
if ((goog.isDefAndNotNull(sCodePostalSchema) && sCodePostalSchema != "") && (goog.isDefAndNotNull(sCodePostalTable) && sCodePostalTable != "") && (goog.isDefAndNotNull(sCodePostalColumn) && sCodePostalColumn != "")) {
var oUrlParams = {
"schema": sCodePostalSchema,
"table": sCodePostalTable,
"filter": {
"relation": "AND",
"operators": [{
"column": "id_com",
"compare_operator": "=",
"value": oFormValues["id_com"]["selectedOption"]["value"]
}]
},
"attributs": sCodePostalColumn
};
ajaxRequest({
"method": "GET",
"url": propertiesSrvc["web_server_name"] + "/" + propertiesSrvc["services_alias"] + "/vitis/genericquerys/" + sCodePostalTable,
"params": oUrlParams,
"scope": $rootScope,
"success": function (response) {
if (response["data"]["status"] != 0)
oFormValues["code_postal"] = envSrvc["extractWebServiceData"]("genericquerys", response["data"])[0][sCodePostalColumn];
}
});
}
}
// Charge les données du propriétaire de la parcelle.
var oUrlParams = {
"schema": "s_majic",
"table": "v_vmap_parcelle_proprietaire",
"filter": {
"relation": "AND",
"operators": [{
"column": "id_par",
"compare_operator": "=",
"value": sIdParc
}]
},
"attributs": "prop_titre|prop_nom_prenom|prop_adresse|prop_code_postal|prop_commune"
};
ajaxRequest({
"method": "GET",
"url": propertiesSrvc["web_server_name"] + "/" + propertiesSrvc["services_alias"] + "/vitis/genericquerys/v_vmap_parcelle_proprietaire",
"params": oUrlParams,
"scope": $rootScope,
"success": function (response) {
if (response["data"]["status"] != 0) {
var oProprioParcelle = envSrvc["extractWebServiceData"]("genericquerys", response["data"])[0];
if (typeof (oProprioParcelle) == "object") {
// Trim() des données du propriétaire de la parcelle.
var aKeys = Object.keys(oProprioParcelle);
for (var i = 0; i < aKeys.length; i++) {
if (typeof (oProprioParcelle[aKeys[i]]) == "string")
oProprioParcelle[aKeys[i]] = oProprioParcelle[aKeys[i]].trim();
}
oFormValues["prop_titre"] = oProprioParcelle["dqualp"];
oFormValues["prop_nom_prenom"] = oProprioParcelle["ddenom"];
oFormValues["prop_adresse"] = oProprioParcelle["dlign4"];
oFormValues["prop_code_postal"] = oProprioParcelle["dlign6"].substr(0, oProprioParcelle["dlign6"].indexOf(" "));
oFormValues["prop_commune"] = oProprioParcelle["dlign6"].substr(oProprioParcelle["dlign6"].indexOf(" "));
/*
// Charge les données du bâtiment de la parcelle.
var oUrlParams = {
"schema": "s_majic",
"table": "v_vmap_parcelle_proprietaire_bati",
"filter": {
"relation": "AND",
"operators": [{
"column": "id_par",
"compare_operator": "=",
"value": sIdParc
}]
},
};
ajaxRequest({
"method": "GET",
"url": propertiesSrvc["web_server_name"] + "/" + propertiesSrvc["services_alias"] + "/vitis/genericquerys/v_vmap_parcelle_proprietaire_bati",
"params": oUrlParams,
"scope": $rootScope,
"success": function(response) {
if (response["data"]["status"] != 0) {
}
var oBatiParcelle = envSrvc["extractWebServiceData"]("genericquerys", response["data"])[0];
console.log(oBatiParcelle);
}
});
*/
/*
// Charge les données du bâtiment de la parcelle.
oWebServiceBase = Restangular["one"](propertiesSrvc["services_alias"] + "/vitis", "genericquerys");
var oUrlParams = {
"schema": "s_majic",
"table": "v_vmap_parcelle_proprietaire_bati",
"filter": {
"relation": "AND",
"operators": [{
"column": "id_par",
"compare_operator": "=",
"value": sIdParc
}]
},
};
oWebServiceBase["customGET"]("v_vmap_parcelle_proprietaire_bati", oUrlParams).then(function (data) {
if (response["data"]["status"] != 0) {
var oBatiParcelle = envSrvc["extractWebServiceData"]("genericquerys", response["data"])[0];
oFormValues["bati_date_mutation"] = oBatiParcelle[""];
//oFormValues["cont_zone_autre"] = oParcelle[""];
//oFormValues["cont_zone_urba"] = oParcelle[""];
//oFormValues["cont_zone_anc"] = oParcelle[""];
} else {
//
var oOptions = {
"className": "modal-danger"
};
// Message d'erreur ?
if (response["data"]["errorMessage"] != null)
oOptions["message"] = response["data"]["errorMessage"];
$rootScope["modalWindow"]("alert", "REQUEST_ERROR", oOptions);
}
});
*/
}
} else {
//
var oOptions = {
"className": "modal-danger"
};
// Message d'erreur ?
if (response["data"]["errorMessage"] != null)
oOptions["message"] = response["data"]["errorMessage"];
$rootScope["modalWindow"]("alert", "REQUEST_ERROR", oOptions);
}
}
});
} else {
//
var oOptions = {
"className": "modal-danger"
};
// Message d'erreur ?
if (response["data"]["errorMessage"] != null)
oOptions["message"] = response["data"]["errorMessage"];
$rootScope["modalWindow"]("alert", "REQUEST_ERROR", oOptions);
}
}
});
//
//formScope.$broadcast('$$rebind::refresh');
//
formScope.$apply();
});
});
};
/**
* initAncInstallationSuiviForm function.
* Traitements avant l'affichage du formulaire de la section "Suivi" de l'onglet "Installation".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncInstallationSuiviForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
$log.info("initAncInstallationSuiviForm");
// Initialise la carte
this['initAncInstallationSuiviFormMap']();
// Attend la fin du chargement de tous les champs du formulaire.
var clearListener = $rootScope.$on('formExtracted', function (event, sFormDefinitionName) {
// Supprime le "listener".
clearListener();
// Conversion des dates au format Fr.
var oFormValues = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]];
oFormValues["create_date"] = moment(oFormValues["create_date"]).format('L');
if (goog.isDefAndNotNull(oFormValues["maj_date"]))
oFormValues["maj_date"] = moment(oFormValues["maj_date"]).format('L');
var formScope = angular.element("form[name='" + envSrvc["oFormDefinition"][envSrvc["sFormDefinitionName"]]["name"]).scope();
formScope.$apply();
});
};
/**
* initAncPretraitementForm function.
* Traitements avant l'affichage du formulaire de la section "Dossier" de l'onglet "Contrôle".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncPretraitementForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
var formSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["formSrvc"]);
var propertiesSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["propertiesSrvc"]);
//
$log.info("initAncPretraitementForm");
//
var clearListener = $rootScope.$on('formExtracted', function (event, sFormDefinitionName) {
// Supprime le "listener".
clearListener();
// Champs de form. à afficher suivant le type de contrôle et le mode du form.
var aFormFieldsToConcat = [envSrvc["sMode"] + "_button", "id_pretraitement", "id_installation", "id_controle"];
var oFormFieldsToDisplay, aFormFieldsToDisplay = [];
if (envSrvc["sMode"] == "search") {
//oFormFieldsToDisplay = {
// "BON FONCTIONNEMENT": ["controle_ss_type", "des_date_control", "des_interval_control", "des_refus_visite", "cl_avis", "cl_classe_cbf", "cl_date_avis", "cl_auteur_avis", "cl_date_prochain_controle", "cl_facture"],
// "CONCEPTION": ["dep_date_depot", "dep_dossier_complet", "cl_avis", "cl_date_avis", "cl_auteur_avis", "cl_date_prochain_controle", "cl_facture"],
// "REALISATION": ["des_date_control", "des_interval_control", "des_refus_visite", "cl_avis", "cl_date_avis", "cl_auteur_avis", "cl_date_prochain_controle", "cl_facture"]
//};
//$rootScope["displayFormFields"](aFormFieldsToConcat);
} else {
oFormFieldsToDisplay = {
"BON FONCTIONNEMENT": ["tra_dist_hab", "ptr_im_puit", "ptr_adapte", "ptr_type_eau", "ptr_type", "ptr_volume", "ptr_marque", "ptr_materiau", "ptr_cloison", "ptr_commentaire", "ptr_im_distance", "ptr_im_acces", "ptr_et_degrad", "ptr_et_real", "ptr_vi_date", "ptr_vi_justi", "ptr_vi_entr", "ptr_vi_bord", "ptr_vi_dest", "ptr_vi_perc", "maj", "maj_date", "create", "create_date", "Element_0", "Element_1", "Element_2", "Element_3", "Element_4"],
"CONCEPTION": ["ptr_type", "ptr_volume", "ptr_marque", "ptr_materiau", "ptr_commentaire", "ptr_im_distance", "maj", "maj_date", "create", "create_date", "Element_0", "Element_1", "Element_4"],
"REALISATION": ["ptr_type", "ptr_volume", "ptr_marque", "ptr_materiau", "ptr_commentaire", "ptr_im_distance", "ptr_im_hydrom", "maj", "maj_date", "create", "create_date", "Element_0", "Element_4", "ptr_pose", "ptr_adapte", "ptr_conforme_projet", "ptr_renforce", "ptr_verif_mise_en_eau", "ptr_type_eau", "ptr_im_dalle", "ptr_im_puit", "tra_dist_hab"]
};
if (envSrvc["sMode"] == "insert")
$rootScope["displayFormFields"](aFormFieldsToConcat);
else {
aFormFieldsToDisplay = oFormFieldsToDisplay[envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["controle_type"]];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
}
}
// Affiche et cache les champs de form. suivant le type de contrôle.
var oControl = formSrvc["getFormElementDefinition"]("id_controle", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
document.getElementById(oControl["id"]).addEventListener("change", function () {
var iIdControl = this.value;
// Charge les données du contrôle.
ajaxRequest({
"method": "GET",
"url": propertiesSrvc["web_server_name"] + "/" + propertiesSrvc["services_alias"] + "/anc/controles/" + iIdControl,
"scope": $rootScope,
"success": function (response) {
var oControl = envSrvc["extractWebServiceData"]("controles", response["data"])[0];
var aFormFieldsToDisplay = oFormFieldsToDisplay[oControl["controle_type"]];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
}
});
});
});
// Conversion des dates.
var oFormValues = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]];
if (goog.isDefAndNotNull(oFormValues["create_date"]))
oFormValues["create_date"] = moment(oFormValues["create_date"]).format('L');
if (goog.isDefAndNotNull(oFormValues["maj_date"]))
oFormValues["maj_date"] = moment(oFormValues["maj_date"]).format('L');
if (goog.isDefAndNotNull(oFormValues["ptr_vi_date"]))
oFormValues["ptr_vi_date"] = moment(oFormValues["ptr_vi_date"]).format('L');
};
/**
* loadAncPretraitementsControl function.
* Chargement de la section "Prétraitement" de l'onglet "Contrôle".
*/
angular.element(vitisApp.appMainDrtv).scope()["loadAncPretraitementsControl"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var $translate = angular.element(vitisApp.appMainDrtv).injector().get(["$translate"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
//
$log.info("loadAncPretraitementsControl");
// Sauve certaines données de la liste.
var sSortedBy = envSrvc["oSelectedObject"]["sorted_by"];
var sSortedDir = envSrvc["oSelectedObject"]["sorted_dir"];
var sEditColumn = envSrvc["oSelectedObject"]["edit_column"];
var sShowColumn = envSrvc["oSelectedObject"]["show_column"];
// "sIdField" pour les boutons du mode "update" et "display".
envSrvc["oSelectedObject"]["sIdField"] = "id_controle";
// Colonne et sens de tri.
envSrvc["oSelectedObject"]["sorted_by"] = "id_pretraitement";
envSrvc["oSelectedObject"]["sorted_dir"] = "ASC";
envSrvc["oSelectedObject"]["edit_column"] = "editModalSectionForm";
envSrvc["oSelectedObject"]["show_column"] = "showModalSectionForm";
// Affiche la liste des prétraitements du contrôle.
$translate(["GRID_TITLE_ANC_SAISIE_ANC_CONTROLE_CONTROLE_PRETRAITEMENT"]).then(function (oTranslations) {
// Paramètres de la liste + boutons.
var oGridOptions = {
"appHeader": true,
"appHeaderSearchForm": false,
"appGridTitle": oTranslations["GRID_TITLE_ANC_SAISIE_ANC_CONTROLE_CONTROLE_PRETRAITEMENT"],
"appShowActions": true,
"appIdField": "id_pretraitement"
};
//
$rootScope["loadSectionList"](oGridOptions);
});
// Attends que les boutons du "header" soient ajoutés.
var clearListener = $rootScope.$on('workspaceListHeaderActionsAdded', function (event, oGridOptions) {
// Supprime le "listener".
clearListener();
// Restaure les données originales de la liste.
envSrvc["oSelectedObject"]["sorted_by"] = sSortedBy;
envSrvc["oSelectedObject"]["sorted_dir"] = sSortedDir;
envSrvc["oSelectedObject"]["edit_column"] = sEditColumn;
envSrvc["oSelectedObject"]["show_column"] = sShowColumn;
// Boutons d'ajout et de suppression d'un traitement.
for (var i = 0; i < oGridOptions["appActions"].length; i++) {
if (oGridOptions["appActions"][i]["name"].indexOf("_add") != -1)
oGridOptions["appActions"][i]["event"] = "addModalSectionForm()";
else if (oGridOptions["appActions"][i]["name"].indexOf("_delete") != -1)
oGridOptions["appActions"][i]["event"] = "DeleteSelection({'sIdField':'id_pretraitement'})";
}
});
};
/**
* initAncControlDryToiletsForm function.
* Traitements avant l'affichage du formulaire de la section "Dossier" de l'onglet "Contrôle".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncControlDryToiletsForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
//
$log.info("initAncControlDryToiletsForm");
// Attends la fin de l'affichage du formulaire.
var clearListener = $rootScope.$on('formExtracted', function (event, sFormDefinitionName) {
// Supprime le "listener".
clearListener();
// Champs de form. à afficher suivant le type de contrôle.
var aFormFieldsToConcat = [envSrvc["sMode"] + "_button"];
var oFormFieldsToDisplay;
oFormFieldsToDisplay = {
"BON FONCTIONNEMENT": ["ts_type_effluent", "ts_capacite_bac", "ts_nb_bac", "ts_coher_taille_util", "ts_aire_etanche", "ts_aire_abri", "ts_ventilation", "ts_cuve_etanche", "ts_val_comp", "ts_ruissel_ep", "ts_absence_nuisance", "ts_respect_regles", "ts_commentaires"],
"CONCEPTION": ["ts_type_effluent", "ts_capacite_bac", "ts_nb_bac", "ts_val_comp", "ts_commentaires"],
"REALISATION": ["ts_conforme", "ts_type_effluent", "ts_capacite_bac", "ts_nb_bac", "ts_aire_etanche", "ts_aire_abri", "ts_ventilation", "ts_cuve_etanche", "ts_val_comp", "ts_commentaires"]
};
var aFormFieldsToDisplay = oFormFieldsToDisplay[envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["controle_type"]];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
});
};
/**
* initAncControlVentilationForm function.
* Traitements avant l'affichage du formulaire de la section "Ventilation" de l'onglet "Contrôle".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncControlVentilationForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
//
$log.info("initAncControlVentilationForm");
//
var clearListener = $rootScope.$on('formExtracted', function (event, sFormDefinitionName) {
// Supprime le "listener".
clearListener();
// Champs de form. à afficher suivant le type de contrôle.
var aFormFieldsToConcat = [envSrvc["sMode"] + "_button"];
var oFormFieldsToDisplay;
oFormFieldsToDisplay = {
"BON FONCTIONNEMENT": ["vt_primaire", "vt_secondaire", "vt_prim_loc", "vt_prim_ht", "vt_prim_type_extract", "vt_second_loc", "vt_second_ht", "vt_prim_diam", "vt_second_diam", "vt_second_type_extract", "vt_prim_type_materiau", "vt_second_type_materiau", "Element_0", "Element_1", "Element_2", "vt_commentaire"],
"CONCEPTION": ["vt_primaire", "emplacement_vt_secondaire"],
"REALISATION": ["vt_primaire", "vt_secondaire", "vt_prim_loc", "vt_prim_ht", "vt_prim_type_extract", "vt_second_loc", "vt_second_ht", "vt_prim_diam", "vt_second_diam", "vt_second_type_extract", "vt_prim_type_materiau", "vt_second_type_materiau", "Element_0", "Element_1", "Element_2", "vt_commentaire"]
};
var aFormFieldsToDisplay = oFormFieldsToDisplay[envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["controle_type"]];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
});
};
/**
* loadAncTraitementsControl function.
* Chargement de la section "Prétraitement" de l'onglet "Contrôle".
*/
angular.element(vitisApp.appMainDrtv).scope()["loadAncTraitementsControl"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var $translate = angular.element(vitisApp.appMainDrtv).injector().get(["$translate"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
//
$log.info("loadAncTraitementsControl");
// Sauve certaines données de la liste.
var sSortedBy = envSrvc["oSelectedObject"]["sorted_by"];
var sSortedDir = envSrvc["oSelectedObject"]["sorted_dir"];
var sEditColumn = envSrvc["oSelectedObject"]["edit_column"];
var sShowColumn = envSrvc["oSelectedObject"]["show_column"];
// Colonne et sens de tri.
envSrvc["oSelectedObject"]["sorted_by"] = "id_traitement";
envSrvc["oSelectedObject"]["sorted_dir"] = "ASC";
envSrvc["oSelectedObject"]["edit_column"] = "editModalSectionForm";
envSrvc["oSelectedObject"]["show_column"] = "showModalSectionForm";
// "sIdField" pour les boutons du mode "update" et "display".
envSrvc["oSelectedObject"]["sIdField"] = "id_controle";
// Affiche la liste des prétraitements du contrôle.
$translate(["GRID_TITLE_ANC_SAISIE_ANC_CONTROLE_CONTROLE_TRAITEMENT"]).then(function (oTranslations) {
// Paramètres de la liste + boutons.
var oGridOptions = {
"appHeader": true,
"appHeaderSearchForm": false,
"appGridTitle": oTranslations["GRID_TITLE_ANC_SAISIE_ANC_CONTROLE_CONTROLE_TRAITEMENT"],
"appShowActions": true,
"appIdField": "id_traitement"
};
//
$rootScope["loadSectionList"](oGridOptions);
});
// Attends que les boutons du "header" soient ajoutés.
var clearListener = $rootScope.$on('workspaceListHeaderActionsAdded', function (event, oGridOptions) {
// Supprime le "listener".
clearListener();
// Restaure les données originales de la liste.
envSrvc["oSelectedObject"]["sorted_by"] = sSortedBy;
envSrvc["oSelectedObject"]["sorted_dir"] = sSortedDir;
envSrvc["oSelectedObject"]["edit_column"] = sEditColumn;
envSrvc["oSelectedObject"]["show_column"] = sShowColumn;
// Boutons d'ajout et de suppression d'un traitement.
for (var i = 0; i < oGridOptions["appActions"].length; i++) {
if (oGridOptions["appActions"][i]["name"].indexOf("_add") != -1)
oGridOptions["appActions"][i]["event"] = "addModalSectionForm()";
else if (oGridOptions["appActions"][i]["name"].indexOf("_delete") != -1)
oGridOptions["appActions"][i]["event"] = "DeleteSelection({'sIdField':'id_traitement'})";
}
});
};
/**
* initAncTraitementForm function.
* Traitements avant l'affichage du formulaire de l'onglet "Traitement".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncTraitementForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
var formSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["formSrvc"]);
var propertiesSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["propertiesSrvc"]);
//
$log.info("initAncTraitementForm");
// Attends la fin de l'affichage du formulaire.
var clearListener = $rootScope.$on("formExtracted", function (event, sFormDefinitionName) {
// Supprime le "listener".
clearListener();
// Champs de form. à afficher suivant le type de contrôle et le mode du form.
var aFormFieldsToConcat = [envSrvc["sMode"] + "_button", "id_traitement", "id_controle", "tra_type", "id_installation"];
var oFormFieldsToDisplay, aFormFieldsToDisplay = [];
var sControleType;
if (envSrvc["sMode"] == "search") {
/*
oFormFieldsToDisplay = {
"BON FONCTIONNEMENT": ["controle_ss_type", "des_date_control", "des_interval_control", "des_refus_visite", "cl_avis", "cl_classe_cbf", "cl_date_avis", "cl_auteur_avis", "cl_date_prochain_controle", "cl_facture"],
"CONCEPTION": ["dep_date_depot", "dep_dossier_complet", "cl_avis", "cl_date_avis", "cl_auteur_avis", "cl_date_prochain_controle", "cl_facture"],
"REALISATION": ["des_date_control", "des_interval_control", "des_refus_visite", "cl_avis", "cl_date_avis", "cl_auteur_avis", "cl_date_prochain_controle", "cl_facture"]
};
$rootScope["displayFormFields"](aFormFieldsToConcat);
*/
} else {
oFormFieldsToDisplay = {
"BON FONCTIONNEMENT": ["tra_dist_hab", "tra_dist_lim_parc", "tra_dist_veget", "tra_dist_puit", "tra_regrep_mat", "tra_regrep_affl", "tra_regrep_equi", "tra_regbl_mat", "tra_regbl_affl", "tra_regcol_mat", "tra_regcol_affl", "maj", "maj_date", "create", "create_date", "Element_0", "Element_1", "Element_3", "Element_4", "Element_5", "Element_6", "tra_commentaire"],
"CONCEPTION": ["maj", "maj_date", "create", "create_date", "Element_0", "Element_6", "tra_commentaire"],
"REALISATION": ["tra_dist_lim_parc", "tra_dist_veget", "tra_dist_puit", "tra_vm_grav_qual", "tra_vm_grav_ep", "tra_vm_geo_text", "tra_vm_bon_mat", "tra_regrep_mat", "tra_regrep_affl", "tra_regrep_equi", "tra_regrep_perf", "tra_regbl_mat", "tra_regbl_affl", "tra_regbl_hz", "tra_regbl_epand", "tra_regbl_perf", "tra_regcol_mat", "tra_regcol_affl", "tra_regcol_hz", "maj", "maj_date", "create", "create_date", "Element_0", "Element_1", "Element_2", "Element_3", "Element_4", "Element_5", "Element_6", "tra_dist_hab", "tra_vm_racine", "tra_vm_humidite", "tra_vm_imper", "tra_vm_geogrille", "tra_vm_tuy_perf", "tra_vm_sab_qual", "tra_vm_sab_ep", "tra_vm_geomembrane", "tra_commentaire"]
};
//
var setTypeTraitement = function (event) {
var sTraType;
if (typeof (event) != "undefined")
sTraType = event.target.value;
else
sTraType = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["tra_type"]["selectedOption"]["value"];
if (goog.isObject(sTraType)) {
if (goog.isDefAndNotNull(sTraType['selectedOption'])) {
if (goog.isDefAndNotNull(sTraType['selectedOption']['value'])) {
sTraType = angular.copy(sTraType['selectedOption']['value']);
}
}
}
if (typeof (sControleType) != "undefined" && sControleType != "") {
if (sTraType == "TRANCHÉES D'EPANDAGE")
$rootScope["displayFormFields"](oFormFieldsToDisplay[sControleType].concat(["tra_nb", "tra_longueur", "tra_tot_lin", "tra_profond", "tra_largeur"]).concat(aFormFieldsToConcat));
else
$rootScope["displayFormFields"](oFormFieldsToDisplay[sControleType].concat(["tra_long", "tra_larg", "tra_surf", "tra_profondeur"]).concat(aFormFieldsToConcat));
}
}
//
//
var oTypeTraitement = formSrvc["getFormElementDefinition"]("tra_type", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
if (envSrvc["sMode"] == "insert")
$rootScope["displayFormFields"](aFormFieldsToConcat);
else {
if (typeof (envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["controle_type"]) == "string")
sControleType = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["controle_type"];
else
sControleType = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["controle_type"]["selectedOption"]["value"];
setTypeTraitement();
}
}
// Affiche et cache les champs de form. suivant le type de contrôle.
var oControl = formSrvc["getFormElementDefinition"]("id_controle", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
document.getElementById(oControl["id"]).addEventListener("change", function () {
var iIdControl = this.value;
// Charge les données du contrôle.
ajaxRequest({
"method": "GET",
"url": propertiesSrvc["web_server_name"] + "/" + propertiesSrvc["services_alias"] + "/anc/controles/" + iIdControl,
"scope": $rootScope,
"success": function (response) {
var oControl = envSrvc["extractWebServiceData"]("controles", response["data"])[0];
sControleType = oControl["controle_type"];
var aFormFieldsToDisplay = oFormFieldsToDisplay[oControl["controle_type"]];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
}
});
});
// Affichage de certains champs suivant le type de contrôle.
document.getElementById(oTypeTraitement["id"]).addEventListener("change", setTypeTraitement)
});
// Conversion des dates.
var oFormValues = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]];
if (goog.isDefAndNotNull(oFormValues["create_date"]))
oFormValues["create_date"] = moment(oFormValues["create_date"]).format('L');
if (goog.isDefAndNotNull(oFormValues["maj_date"]))
oFormValues["maj_date"] = moment(oFormValues["maj_date"]).format('L');
};
/**
* initAncFilieresAgreeesForm function.
* Traitements avant l'affichage du formulaire de l'onglet "Traitement".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncFilieresAgreeesForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
var formSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["formSrvc"]);
var propertiesSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["propertiesSrvc"]);
//
$log.info("initAncFilieresAgreeesForm");
//
var clearListener = $rootScope.$on("formExtracted", function (event, sFormDefinitionName) {
// Supprime le "listener".
clearListener();
// Champs de form. à afficher suivant le type de contrôle et le mode du form.
var aFormFieldsToConcat = [envSrvc["sMode"] + "_button", "id_fag", "id_controle", "id_installation"];
var oFormFieldsToDisplay, aFormFieldsToDisplay = [];
if (envSrvc["sMode"] == "search") {
/*
oFormFieldsToDisplay = {
"BON FONCTIONNEMENT": ["controle_ss_type", "des_date_control", "des_interval_control", "des_refus_visite", "cl_avis", "cl_classe_cbf", "cl_date_avis", "cl_auteur_avis", "cl_date_prochain_controle", "cl_facture"],
"CONCEPTION": ["dep_date_depot", "dep_dossier_complet", "cl_avis", "cl_date_avis", "cl_auteur_avis", "cl_date_prochain_controle", "cl_facture"],
"REALISATION": ["des_date_control", "des_interval_control", "des_refus_visite", "cl_avis", "cl_date_avis", "cl_auteur_avis", "cl_date_prochain_controle", "cl_facture"]
};
$rootScope["displayFormFields"](aFormFieldsToConcat);
*/
} else {
oFormFieldsToDisplay = {
"BON FONCTIONNEMENT": ["id_fag", "id_controle", "fag_type", "fag_agree", "fag_integerer", "fag_denom", "fag_fab", "fag_num_ag", "fag_cap_eh", "fag_nb_cuv", "fag_et_deg", "fag_et_od", "fag_et_dy", "fag_en_date", "fag_en_jus", "fag_en_entr", "fag_en_bord", "fag_en_dest", "fag_en_perc", "fag_en_contr", "fag_en_mainteger", "fag_dist_arb", "fag_dist_parc", "fag_dist_hab", "fag_dist_cap", "maj", "maj_date", "create", "create_date", "Element_6", "Element_7", "Element_8", "fag_num", "fag_num_filt", "fag_mat_cuv", "fag_guide", "fag_contr", "fag_soc", "Element_0", "fag_pres", "fag_tamp", "fag_ventil", "fag_mil_typ", "fag_mil_filt", "fag_pres_reg", "fag_pres_alar", "fag_commentaires"],
"CONCEPTION": ["id_fag", "id_controle", "fag_type", "fag_agree", "fag_integerer", "fag_denom", "fag_fab", "fag_num_ag", "fag_cap_eh", "fag_nb_cuv", "maj", "maj_date", "create", "create_date"],
"REALISATION": ["id_fag", "id_controle", "fag_type", "fag_agree", "fag_integerer", "fag_denom", "fag_fab", "fag_num_ag", "fag_cap_eh", "fag_nb_cuv", "fag_surpr", "fag_surpr_ref", "fag_surpr_dist", "fag_surpr_elec", "fag_surpr_aer", "fag_reac_bull", "fag_broy", "fag_dec", "fag_type_eau", "fag_reg_mar", "fag_reg_mat", "fag_reg_affl", "fag_reg_hz", "fag_reg_van", "fag_fvl_nb", "fag_fvl_long", "fag_fvl_larg", "fag_fvl_prof", "fag_fvl_sep", "fag_fvl_pla", "fag_fvl_drain", "fag_fvl_resp", "fag_fhz_long", "fag_fhz_larg", "fag_fhz_prof", "fag_fhz_drain", "fag_fhz_resp", "fag_mat_qual", "fag_mat_epa", "fag_pres_veg", "fag_pres_pro", "maj", "maj_date", "create", "create_date", "Element_1", "Element_2", "Element_3", "Element_5", "fag_num", "fag_num_filt", "fag_mat_cuv", "fag_guide", "fag_contr", "fag_soc", "fag_soc", "fag_livret", "Element_0", "fag_pres", "fag_plan", "fag_tamp", "fag_ancrage", "fag_ventil", "fag_mil_typ", "fag_mil_filt", "fag_mise_eau", "fag_pres_alar", "fag_pres_reg", "fag_pres", "fag_plan", "fag_tamp", "fag_rep", "fag_respect", "fag_att_conf", "Element_10", "fag_commentaires"]
};
if (envSrvc["sMode"] == "insert")
$rootScope["displayFormFields"](aFormFieldsToConcat);
else {
aFormFieldsToDisplay = oFormFieldsToDisplay[envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["controle_type"]];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
}
}
// Affiche et cache les champs de form. suivant le type de contrôle.
var oControl = formSrvc["getFormElementDefinition"]("id_controle", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
document.getElementById(oControl["id"]).addEventListener("change", function () {
var iIdControl = this.value;
// Charge les données du contrôle.
ajaxRequest({
"method": "GET",
"url": propertiesSrvc["web_server_name"] + "/" + propertiesSrvc["services_alias"] + "/anc/controles/" + iIdControl,
"scope": $rootScope,
"success": function (response) {
var oControl = envSrvc["extractWebServiceData"]("controles", response["data"])[0];
var aFormFieldsToDisplay = oFormFieldsToDisplay[oControl["controle_type"]];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
}
});
});
// Conversion des dates.
var oFormValues = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]];
var sFagEnDate = oFormValues["fag_en_date"];
if (goog.isDefAndNotNull(sFagEnDate) && sFagEnDate != "")
oFormValues["fag_en_date"] = moment(sFagEnDate).format("L")
if (goog.isDefAndNotNull(oFormValues["create_date"]))
oFormValues["create_date"] = moment(oFormValues["create_date"]).format('L');
if (goog.isDefAndNotNull(oFormValues["maj_date"]))
oFormValues["maj_date"] = moment(oFormValues["maj_date"]).format('L');
});
};
/**
* loadAncFilieresAgreeesControl function.
* Chargement de la section "Filières aggréées" de l'onglet "Contrôle".
*/
angular.element(vitisApp.appMainDrtv).scope()["loadAncFilieresAgreeesControl"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var $translate = angular.element(vitisApp.appMainDrtv).injector().get(["$translate"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
//
$log.info("loadAncFilieresAgreeesControl");
// Sauve certaines données de la liste.
var sSortedBy = envSrvc["oSelectedObject"]["sorted_by"];
var sSortedDir = envSrvc["oSelectedObject"]["sorted_dir"];
var sEditColumn = envSrvc["oSelectedObject"]["edit_column"];
var sShowColumn = envSrvc["oSelectedObject"]["show_column"];
// "sIdField" pour les boutons du mode "update" et "display".
envSrvc["oSelectedObject"]["sIdField"] = "id_controle";
// Colonne et sens de tri.
envSrvc["oSelectedObject"]["sorted_by"] = "id_fag";
envSrvc["oSelectedObject"]["sorted_dir"] = "ASC";
envSrvc["oSelectedObject"]["edit_column"] = "editModalSectionForm";
envSrvc["oSelectedObject"]["show_column"] = "showModalSectionForm";
// Affiche la liste des prétraitements du contrôle.
$translate(["GRID_TITLE_ANC_SAISIE_ANC_CONTROLE_CONTROLE_PRETRAITEMENT"]).then(function (oTranslations) {
// Paramètres de la liste + boutons.
var oGridOptions = {
"appHeader": true,
"appHeaderSearchForm": false,
"appGridTitle": oTranslations["GRID_TITLE_ANC_SAISIE_ANC_CONTROLE_CONTROLE_PRETRAITEMENT"],
"appShowActions": true,
"appIdField": "id_fag"
};
//
$rootScope["loadSectionList"](oGridOptions);
});
// Attends que les boutons du "header" soient ajoutés.
var clearListener = $rootScope.$on('workspaceListHeaderActionsAdded', function (event, oGridOptions) {
// Supprime le "listener".
clearListener();
// Restaure les données originales de la liste.
envSrvc["oSelectedObject"]["sorted_by"] = sSortedBy;
envSrvc["oSelectedObject"]["sorted_dir"] = sSortedDir;
envSrvc["oSelectedObject"]["edit_column"] = sEditColumn;
envSrvc["oSelectedObject"]["show_column"] = sShowColumn;
// Boutons d'ajout et de suppression d'un traitement.
for (var i = 0; i < oGridOptions["appActions"].length; i++) {
if (oGridOptions["appActions"][i]["name"].indexOf("_add") != -1)
oGridOptions["appActions"][i]["event"] = "addModalSectionForm()";
else if (oGridOptions["appActions"][i]["name"].indexOf("_delete") != -1)
oGridOptions["appActions"][i]["event"] = "DeleteSelection({'sIdField':'id_fag'})";
}
});
};
/**
* initAncControlDispositifsAnnexesForm function.
* Traitements avant l'affichage du formulaire de la section "Dispositifs Annexes" de l'onglet "Contrôle".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncControlDispositifsAnnexesForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
//
$log.info("initAncControlDispositifsAnnexesForm");
//
var clearListener = $rootScope.$on('formExtracted', function (event, sFormDefinitionName) {
// Supprime le "listener".
clearListener();
// Champs de form. à afficher suivant le type de contrôle.
var aFormFieldsToConcat = [envSrvc["sMode"] + "_button", "Element_1", "Element_2"];
var oFormFieldsToDisplay;
oFormFieldsToDisplay = {
"BON FONCTIONNEMENT": ["da_chasse_acces", "da_chasse_pr_nat_eau", "da_chasse_dysfonctionnement", "da_chasse_degradation", "da_chasse_entretien", "da_pr_loc_pompe", "da_pr_acces", "da_pr_clapet", "da_pr_etanche", "da_pr_dysfonctionnement", "da_pr_degradation", "da_pr_entretien", "da_commentaires", "da_pr_ventilatio"],
"CONCEPTION": ["da_chasse_auto", "da_chasse_pr_nat_eau", "da_pr_loc_pompe", "da_pr_nb_pompe", "da_pr_nat_eau", "da_commentaires"],
"REALISATION": ["da_chasse_pr_nat_eau", "da_chasse_ok", "da_pr_loc_pompe", "da_pr_ok", "da_pr_clapet", "da_pr_etanche", "da_pr_branchement", "da_pr_ventilatio", "da_pr_alarme", "da_commentaires"]
};
var aFormFieldsToDisplay = oFormFieldsToDisplay[envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["controle_type"]];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
});
};
/**
* initAncControlConclusionForm function.
* Traitements avant l'affichage du formulaire de la section "Conclusion" de l'onglet "Contrôle".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncControlConclusionForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
var formSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["formSrvc"]);
//
$log.info("initAncControlConclusionForm");
var aClassesCbf = ["ABSENCE D'INSTALLATION", "NON CONFORME - DÉFAUT DE SÉCURITÉ SANITAIRE", "NON CONFORME - DÉFAUT DE STRUCTURE OU DE FERMETURE", "NON CONFORME - INSTALLATION IMPLANTÉE À MOINS DE 35M D'UN PUITS DÉCLARÉ ET UTILISÉ", "NON CONFORME - INSTALLATION INCOMPLÈTE", "NON CONFORME - INSTALLATION SIGNIFICATIVEMENT SOUS DIMENSIONNÉE", "NON CONFORME - INSTALLATION PRÉSENTANT DES DYSFONCTIONNEMENTS MAJEURS", "INSTALLATION NECESSITANT DES RECOMMANDATIONS DE TRAVAUX"];
// Filtre pour le datasource du champ "Montant du contrôle" (année en cours et type de contrôle).
if (envSrvc["sMode"] == "update") {
var oClMontantDef = formSrvc["getFormElementDefinition"]("cl_montant", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
var oClMontantDatasource = envSrvc['oFormDefinition']['datasources'][oClMontantDef["datasource"]["datasource_id"]];
var oFirstSectionFormValues = envSrvc["oFormValues"][envSrvc["oSelectedObject"]["name"] + "_" + envSrvc["oSectionForm"][envSrvc["oSelectedObject"]["name"]]["sections"][0]["name"] + "_" + envSrvc["sMode"] + "_form"];
if (goog.isDefAndNotNull(oFirstSectionFormValues["des_date_control"])) {
var aMatchResult = oFirstSectionFormValues["des_date_control"].match(/[0-9]{4}/);
if (aMatchResult !== null)
oClMontantDatasource["parameters"]["filter"]["annee_validite"] = aMatchResult[0];
}
oClMontantDatasource["parameters"]["filter"]["controle_type"] = oFirstSectionFormValues["controle_type"]["selectedOption"]["value"];
}
//
var clearListener = $rootScope.$on('formExtracted', function (event, sFormDefinitionName) {
// Supprime le "listener".
clearListener();
// Champs de form. à afficher suivant le type de contrôle.
var aFormFieldsToConcat = [envSrvc["sMode"] + "_button", "Element_1", "Element_2"];
var oFormFieldsToDisplay;
oFormFieldsToDisplay = {
"BON FONCTIONNEMENT": ["cl_classe_cbf", "cl_commentaires", "cl_date_avis", "cl_auteur_avis", "cl_montant", "cl_facture", "cl_facture_le", "cl_constat", "cl_travaux"],
"CONCEPTION": ["cl_avis", "cl_commentaires", "cl_date_avis", "cl_auteur_avis", "cl_montant", "cl_facture", "cl_facture_le"],
"REALISATION": ["cl_commentaires", "cl_date_avis", "cl_auteur_avis", "cl_montant", "cl_facture", "cl_facture_le", "cl_classe_cbf"]
};
var aFormFieldsToDisplay = oFormFieldsToDisplay[envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["controle_type"]];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
//
//var oClClasseCbfWarning = formSrvc["getFormElementDefinition"]("cl_classe_cbf_warning", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
if (envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["controle_type"] == "BON FONCTIONNEMENT") {
var sClClasseCbf = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["cl_classe_cbf"]["selectedOption"]["value"];
if (aClassesCbf.indexOf(sClClasseCbf) != -1)
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat).concat(["cl_classe_cbf_warning"]));
else
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
// Rafraîchit le formulaire.
/*
var formScope = angular.element("form[name='" + envSrvc["oFormDefinition"][envSrvc["sFormDefinitionName"]]["name"]).scope();
formScope.$broadcast('$$rebind::refresh');
formScope.$applyAsync();
*/
var oClClasseCbf = formSrvc["getFormElementDefinition"]("cl_classe_cbf", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
document.getElementById(oClClasseCbf["id"]).addEventListener("change", function () {
if (aClassesCbf.indexOf(this.value) != -1)
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat).concat(["cl_classe_cbf_warning"]));
else
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
});
}
// Conversion des dates.
var sClDateAvis = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["cl_date_avis"];
if (goog.isDefAndNotNull(sClDateAvis) && sClDateAvis != "")
envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["cl_date_avis"] = moment(sClDateAvis).format("L")
var sClFactureLe = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["cl_facture_le"];
if (goog.isDefAndNotNull(sClFactureLe) && sClFactureLe != "")
envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["cl_facture_le"] = moment(sClFactureLe).format("L")
});
};
/**
* initAncEvacuationEauxForm function.
* Traitements avant l'affichage du formulaire de l'onglet "Evacuation des eaux".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncEvacuationEauxForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
var formSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["formSrvc"]);
var propertiesSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["propertiesSrvc"]);
//
$log.info("initAncEvacuationEauxForm");
//
var clearListener = $rootScope.$on("formExtracted", function (event, sFormDefinitionName) {
// Supprime le "listener".
clearListener();
// Champs de form. à afficher suivant le type de contrôle et le mode du form.
var aFormFieldsToConcat = [envSrvc["sMode"] + "_button", "id_eva", "id_installation", "id_controle"];
var oFormFieldsToDisplay, aFormFieldsToDisplay = [];
oFormFieldsToDisplay = {
"BON FONCTIONNEMENT": ["evacuation_eaux.id_eva", "id_controle", "evac_type", "evac_is_long", "evac_is_larg", "evac_is_surface", "evac_is_profondeur", "evac_is_reg_rep", "evac_is_reb_bcl", "evac_is_veg", "evac_is_acc_reg", "evac_is_type_effl", "evac_rp_grav", "evac_rp_tamp", "evac_rp_type_eff", "evac_rp_trap", "evac_hs_type", "evac_hs_gestionnaire", "evac_hs_gestionnaire_auth", "evac_commentaires", "maj", "maj_date", "create", "create_date", "Element_0", "Element_1", "Element_2", "Element_4", "evac_is_lin_total", "evac_rp_type", "evac_hs_intr", "evac_hs_type_eff", "evac_hs_ecoul"],
"CONCEPTION": ["evacuation_eaux.id_eva", "id_controle", "evac_type", "evac_is_long", "evac_is_larg", "evac_is_surface", "evac_is_profondeur", "evac_rp_etude_hydrogeol", "evac_rp_rejet", "evac_hs_type", "evac_hs_gestionnaire", "evac_hs_gestionnaire_auth", "evac_commentaires", "maj", "maj_date", "create", "create_date", "photos_f", "fiche_f", "schema_f", "documents_f", "plan_f", "Element_0", "Element_1", "Element_2", "Element_3", "Element_4", "evac_is_inf_perm", "evac_hs_type_eff"],
"REALISATION": ["evacuation_eaux.id_eva", "id_controle", "evac_type", "evac_is_long", "evac_is_larg", "evac_is_surface", "evac_is_profondeur", "evac_is_geotex", "evac_is_rac", "evac_is_hum", "evac_is_reg_rep", "evac_is_reb_bcl", "evac_is_veg", "evac_is_type_effl", "evac_rp_grav", "evac_rp_tamp", "evac_rp_type_eff", "evac_hs_type", "evac_commentaires", "maj", "maj_date", "create", "create_date", "Element_0", "Element_1", "Element_2", "Element_4", "evac_is_lin_total", "evac_rp_bons_grav", "evac_hs_intr", "evac_hs_type_eff", "evac_hs_ecoul"]
};
if (envSrvc["sMode"] == "insert")
$rootScope["displayFormFields"](aFormFieldsToConcat);
else {
aFormFieldsToDisplay = oFormFieldsToDisplay[envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["controle_type"]];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
}
// Affiche et cache les champs de form. suivant le type de contrôle.
if (envSrvc["sMode"] != "display") {
var oControl = formSrvc["getFormElementDefinition"]("id_controle", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
document.getElementById(oControl["id"]).addEventListener("change", function () {
var iIdControl = this.value;
// Charge les données du contrôle.
ajaxRequest({
"method": "GET",
"url": propertiesSrvc["web_server_name"] + "/" + propertiesSrvc["services_alias"] + "/anc/controles/" + iIdControl,
"scope": $rootScope,
"success": function (response) {
var oControl = envSrvc["extractWebServiceData"]("controles", response["data"])[0];
var aFormFieldsToDisplay = oFormFieldsToDisplay[oControl["controle_type"]];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
}
});
});
}
});
// Conversion des dates au format Fr.
var oFormValues = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]];
if (goog.isDefAndNotNull(oFormValues["create_date"]))
oFormValues["create_date"] = moment(oFormValues["create_date"]).format('L');
if (goog.isDefAndNotNull(oFormValues["maj_date"]))
oFormValues["maj_date"] = moment(oFormValues["maj_date"]).format('L');
};
/**
* loadAncEvacuationEauxControl function.
* Chargement de la section "Prétraitement" de l'onglet "Contrôle".
*/
angular.element(vitisApp.appMainDrtv).scope()["loadAncEvacuationEauxControl"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var $translate = angular.element(vitisApp.appMainDrtv).injector().get(["$translate"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
//
$log.info("loadAncEvacuationEauxControl");
// Sauve certaines données de la liste.
var sSortedBy = envSrvc["oSelectedObject"]["sorted_by"];
var sSortedDir = envSrvc["oSelectedObject"]["sorted_dir"];
var sEditColumn = envSrvc["oSelectedObject"]["edit_column"];
var sShowColumn = envSrvc["oSelectedObject"]["show_column"];
// "sIdField" pour les boutons du mode "update" et "display".
envSrvc["oSelectedObject"]["sIdField"] = "id_controle";
// Colonne et sens de tri.
envSrvc["oSelectedObject"]["sorted_by"] = "id_eva";
envSrvc["oSelectedObject"]["sorted_dir"] = "ASC";
envSrvc["oSelectedObject"]["edit_column"] = "editModalSectionForm";
envSrvc["oSelectedObject"]["show_column"] = "showModalSectionForm";
// Affiche la liste des prétraitements du contrôle.
$translate(["GRID_TITLE_ANC_SAISIE_ANC_CONTROLE_CONTROLE_EVACUATION_EAUX"]).then(function (oTranslations) {
// Paramètres de la liste + boutons.
var oGridOptions = {
"appHeader": true,
"appHeaderSearchForm": false,
"appGridTitle": oTranslations["GRID_TITLE_ANC_SAISIE_ANC_CONTROLE_CONTROLE_EVACUATION_EAUX"],
"appShowActions": true,
"appIdField": "id_eva"
};
//
$rootScope["loadSectionList"](oGridOptions);
});
// Attends que les boutons du "header" soient ajoutés.
var clearListener = $rootScope.$on('workspaceListHeaderActionsAdded', function (event, oGridOptions) {
// Supprime le "listener".
clearListener();
// Restaure les données originales de la liste.
envSrvc["oSelectedObject"]["sorted_by"] = sSortedBy;
envSrvc["oSelectedObject"]["sorted_dir"] = sSortedDir;
envSrvc["oSelectedObject"]["edit_column"] = sEditColumn;
envSrvc["oSelectedObject"]["show_column"] = sShowColumn;
// Boutons d'ajout et de suppression d'un traitement.
for (var i = 0; i < oGridOptions["appActions"].length; i++) {
if (oGridOptions["appActions"][i]["name"].indexOf("_add") != -1)
oGridOptions["appActions"][i]["event"] = "addModalSectionForm()";
else if (oGridOptions["appActions"][i]["name"].indexOf("_delete") != -1)
oGridOptions["appActions"][i]["event"] = "DeleteSelection({'sIdField':'id_eva'})";
}
});
};
/**
* initAncControlPretraitementForm function.
* Traitements avant l'affichage du formulaire d'un prétraitement de la section "Prétraitement" de l'onglet "Contrôle".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncControlPretraitementForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var $timeout = angular.element(vitisApp.appMainDrtv).injector().get(["$timeout"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
var formSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["formSrvc"]);
var propertiesSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["propertiesSrvc"]);
//
$log.info("initAncControlPretraitementForm");
var scope = this;
// Préremplissage de l'installation et du contrôle en mode "insert".
var oParentFormValues = envSrvc["oFormValues"][envSrvc["oSelectedObject"]["name"] + "_" + envSrvc["oSectionForm"][envSrvc["oSelectedObject"]["name"]]["sections"][0]["name"] + "_" + scope.$parent["sParentMode"] + "_form"];
var oControl = formSrvc["getFormElementDefinition"]("id_controle", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
if (envSrvc["sMode"] == "insert") {
var oInstallation = formSrvc["getFormElementDefinition"]("id_installation", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
oInstallation["default_value"] = oParentFormValues["id_installation"]["selectedOption"]["value"];
oControl["default_value"] = oParentFormValues["id_controle"];
}
//
var clearListener = $rootScope.$on('formExtracted', function (event, sFormDefinitionName) {
// Supprime le "listener".
clearListener();
// Champs de form. à afficher suivant le type de contrôle et le mode du form.
var aFormFieldsToConcat = [envSrvc["sMode"] + "_button", "id_pretraitement", "id_installation", "id_controle"];
var oFormFieldsToDisplay, aFormFieldsToDisplay = [];
oFormFieldsToDisplay = {
"BON FONCTIONNEMENT": ["ptr_im_puit", "ptr_adapte", "ptr_type_eau", "ptr_type", "ptr_volume", "ptr_marque", "ptr_materiau", "ptr_cloison", "ptr_commentaire", "ptr_im_distance", "ptr_im_acces", "ptr_et_degrad", "ptr_et_real", "ptr_vi_date", "ptr_vi_justi", "ptr_vi_entr", "ptr_vi_bord", "ptr_vi_dest", "ptr_vi_perc", "maj", "maj_date", "create", "create_date", "Element_0", "Element_1", "Element_3", "Element_4"],
"CONCEPTION": ["ptr_type", "ptr_volume", "ptr_marque", "ptr_materiau", "ptr_commentaire", "ptr_im_distance", "maj", "maj_date", "create", "create_date", "Element_0", "Element_1", "Element_4"],
"REALISATION": ["ptr_type", "ptr_volume", "ptr_marque", "ptr_materiau", "ptr_commentaire", "ptr_im_distance", "ptr_im_hydrom", "maj", "maj_date", "create", "create_date", "Element_0", "Element_4", "ptr_pose", "ptr_adapte", "ptr_conforme_projet", "ptr_renforce", "ptr_verif_mise_en_eau", "ptr_type_eau", "ptr_im_dalle", "ptr_im_puit"]
};
if (typeof (oParentFormValues["controle_type"]) == "string")
var sControleType = oParentFormValues["controle_type"];
else
var sControleType = oParentFormValues["controle_type"]["selectedOption"]["value"];
aFormFieldsToDisplay = oFormFieldsToDisplay[sControleType];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
// Affiche et cache les champs de form. suivant le type de contrôle.
if (envSrvc["sMode"] != "display") {
$timeout(function () {
document.getElementById(oControl["id"]).addEventListener("change", function () {
var iIdControl = this.value;
// Charge les données du contrôle.
ajaxRequest({
"method": "GET",
"url": propertiesSrvc["web_server_name"] + "/" + propertiesSrvc["services_alias"] + "/anc/controles/" + iIdControl,
"scope": $rootScope,
"success": function (response) {
var oControl = envSrvc["extractWebServiceData"]("controles", response["data"])[0];
var aFormFieldsToDisplay = oFormFieldsToDisplay[oControl["controle_type"]];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
}
});
});
});
}
});
// Conversion des dates.
var oFormValues = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]];
if (goog.isDefAndNotNull(oFormValues["create_date"]))
oFormValues["create_date"] = moment(oFormValues["create_date"]).format('L');
if (goog.isDefAndNotNull(oFormValues["maj_date"]))
oFormValues["maj_date"] = moment(oFormValues["maj_date"]).format('L');
if (goog.isDefAndNotNull(oFormValues["ptr_vi_date"]))
oFormValues["ptr_vi_date"] = moment(oFormValues["ptr_vi_date"]).format('L');
};
/**
* initAncControlTraitementForm function.
* Traitements avant l'affichage du formulaire d'un traitement de la section "Traitement" de l'onglet "Contrôle".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncControlTraitementForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var $timeout = angular.element(vitisApp.appMainDrtv).injector().get(["$timeout"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
var formSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["formSrvc"]);
var propertiesSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["propertiesSrvc"]);
//
$log.info("initAncControlTraitementForm");
var scope = this;
// Préremplissage de l'installation et dy contrôle en mode "insert".
var oParentFormValues = envSrvc["oFormValues"][envSrvc["oSelectedObject"]["name"] + "_" + envSrvc["oSectionForm"][envSrvc["oSelectedObject"]["name"]]["sections"][0]["name"] + "_" + scope.$parent["sParentMode"] + "_form"];
var oControl = formSrvc["getFormElementDefinition"]("id_controle", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
if (envSrvc["sMode"] == "insert") {
var oInstallation = formSrvc["getFormElementDefinition"]("id_installation", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
oInstallation["default_value"] = oParentFormValues["id_installation"]["selectedOption"]["value"];
oControl["default_value"] = oParentFormValues["id_controle"];
}
//
var clearListener = $rootScope.$on("formExtracted", function (event, sFormDefinitionName) {
// Supprime le "listener".
clearListener();
// Champs de form. à afficher suivant le type de contrôle et le mode du form.
var aFormFieldsToConcat = [envSrvc["sMode"] + "_button", "id_traitement", "id_controle", "tra_type", "id_installation"];
var oFormFieldsToDisplay, aFormFieldsToDisplay = [];
oFormFieldsToDisplay = {
"BON FONCTIONNEMENT": ["tra_dist_hab", "tra_dist_lim_parc", "tra_dist_veget", "tra_dist_puit", "tra_regrep_mat", "tra_regrep_affl", "tra_regrep_equi", "tra_regbl_mat", "tra_regbl_affl", "tra_regcol_mat", "tra_regcol_affl", "maj", "maj_date", "create", "create_date", "Element_0", "Element_1", "Element_3", "Element_4", "Element_5", "Element_6","tra_commentaire"],
"CONCEPTION": ["maj", "maj_date", "create", "create_date", "Element_0", "Element_6","tra_commentaire"],
"REALISATION": ["tra_dist_lim_parc", "tra_dist_veget", "tra_dist_puit", "tra_vm_grav_qual", "tra_vm_grav_ep", "tra_vm_geo_text", "tra_vm_bon_mat", "tra_regrep_mat", "tra_regrep_affl", "tra_regrep_equi", "tra_regrep_perf", "tra_regbl_mat", "tra_regbl_affl", "tra_regbl_hz", "tra_regbl_epand", "tra_regbl_perf", "tra_regcol_mat", "tra_regcol_affl", "tra_regcol_hz", "maj", "maj_date", "create", "create_date", "Element_0", "Element_1", "Element_2", "Element_3", "Element_4", "Element_5", "Element_6", , "tra_vm_racine", "tra_vm_humidite", "tra_vm_imper", "tra_vm_geogrille", "tra_vm_tuy_perf", "tra_vm_sab_qual", "tra_vm_sab_ep", "tra_vm_geomembrane","tra_commentaire"]
};
//
var setTypeTraitement = function (event) {
var sTraType;
if (typeof (event) != "undefined")
sTraType = event.target.value;
else
sTraType = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]]["tra_type"];
if (goog.isObject(sTraType)) {
if (goog.isDefAndNotNull(sTraType['selectedOption'])) {
if (goog.isDefAndNotNull(sTraType['selectedOption']['value'])) {
sTraType = angular.copy(sTraType['selectedOption']['value']);
}
}
}
if (typeof (sControleType) != "undefined" && sControleType != "") {
if (sTraType == "TRANCHÉES D'EPANDAGE") {
$rootScope["displayFormFields"](oFormFieldsToDisplay[sControleType].concat(["tra_nb", "tra_longueur", "tra_tot_lin", "tra_profond", "tra_largeur"]).concat(aFormFieldsToConcat));
} else {
$rootScope["displayFormFields"](oFormFieldsToDisplay[sControleType].concat(["tra_long", "tra_larg", "tra_surf", "tra_profondeur"]).concat(aFormFieldsToConcat));
}
}
}
//
if (typeof (oParentFormValues["controle_type"]) == "string")
var sControleType = oParentFormValues["controle_type"];
else
var sControleType = oParentFormValues["controle_type"]["selectedOption"]["value"];
aFormFieldsToDisplay = oFormFieldsToDisplay[sControleType];
var oTypeTraitement = formSrvc["getFormElementDefinition"]("tra_type", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
if (envSrvc["sMode"] == "insert")
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
else
setTypeTraitement();
// Affiche et cache les champs de form. suivant le type de contrôle.
if (envSrvc["sMode"] != "display") {
document.getElementById(oTypeTraitement["id"]).removeEventListener("change", setTypeTraitement)
$timeout(function () {
document.getElementById(oControl["id"]).addEventListener("change", function () {
var iIdControl = this.value;
// Charge les données du contrôle.
ajaxRequest({
"method": "GET",
"url": propertiesSrvc["web_server_name"] + "/" + propertiesSrvc["services_alias"] + "/anc/controles/" + iIdControl,
"scope": $rootScope,
"success": function (response) {
var oControl = envSrvc["extractWebServiceData"]("controles", response["data"])[0];
sControleType = oControl["controle_type"];
var aFormFieldsToDisplay = oFormFieldsToDisplay[oControl["controle_type"]];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
}
});
});
// Affichage de certains champs suivant le type de contrôle.
document.getElementById(oTypeTraitement["id"]).addEventListener("change", setTypeTraitement)
});
}
});
};
/**
* initAncControlFilieresAgreeesForm function.
* Traitements avant l'affichage du formulaire d'une filière agréée de la section "Filière agréées" de l'onglet "Contrôle".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncControlFilieresAgreeesForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var $timeout = angular.element(vitisApp.appMainDrtv).injector().get(["$timeout"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
var formSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["formSrvc"]);
var propertiesSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["propertiesSrvc"]);
//
$log.info("initAncControlFilieresAgreeesForm");
var scope = this;
// Préremplissage de l'installation et dy contrôle en mode "insert".
var oParentFormValues = envSrvc["oFormValues"][envSrvc["oSelectedObject"]["name"] + "_" + envSrvc["oSectionForm"][envSrvc["oSelectedObject"]["name"]]["sections"][0]["name"] + "_" + scope.$parent["sParentMode"] + "_form"];
var oControl = formSrvc["getFormElementDefinition"]("id_controle", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
if (envSrvc["sMode"] == "insert") {
var oInstallation = formSrvc["getFormElementDefinition"]("id_installation", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
oInstallation["default_value"] = oParentFormValues["id_installation"]["selectedOption"]["value"];
oControl["default_value"] = oParentFormValues["id_controle"];
}
//
var clearListener = $rootScope.$on("formExtracted", function (event, sFormDefinitionName) {
// Supprime le "listener".
clearListener();
// Champs de form. à afficher suivant le type de contrôle et le mode du form.
var aFormFieldsToConcat = [envSrvc["sMode"] + "_button", "id_fag", "id_controle", "id_installation"];
var oFormFieldsToDisplay, aFormFieldsToDisplay = [];
oFormFieldsToDisplay = {
"BON FONCTIONNEMENT": ["id_fag", "id_controle", "fag_type", "fag_agree", "fag_integerer", "fag_denom", "fag_fab", "fag_num_ag", "fag_cap_eh", "fag_nb_cuv", "fag_et_deg", "fag_et_od", "fag_et_dy", "fag_en_date", "fag_en_jus", "fag_en_entr", "fag_en_bord", "fag_en_dest", "fag_en_perc", "fag_en_contr", "fag_en_mainteger", "fag_dist_arb", "fag_dist_parc", "fag_dist_hab", "fag_dist_cap", "maj", "maj_date", "create", "create_date", "Element_6", "Element_7", "Element_8", "fag_num", "fag_num_filt", "fag_mat_cuv", "fag_guide", "fag_contr", "fag_soc", "Element_0", "fag_pres", "fag_tamp", "fag_ventil", "fag_mil_typ", "fag_mil_filt", "fag_pres_reg", "fag_pres_alar", "fag_commentaires"],
"CONCEPTION": ["id_fag", "id_controle", "fag_type", "fag_agree", "fag_integerer", "fag_denom", "fag_fab", "fag_num_ag", "fag_cap_eh", "fag_nb_cuv", "maj", "maj_date", "create", "create_date"],
"REALISATION": ["id_fag", "id_controle", "fag_type", "fag_agree", "fag_integerer", "fag_denom", "fag_fab", "fag_num_ag", "fag_cap_eh", "fag_nb_cuv", "fag_surpr", "fag_surpr_ref", "fag_surpr_dist", "fag_surpr_elec", "fag_surpr_aer", "fag_reac_bull", "fag_broy", "fag_dec", "fag_type_eau", "fag_reg_mar", "fag_reg_mat", "fag_reg_affl", "fag_reg_hz", "fag_reg_van", "fag_fvl_nb", "fag_fvl_long", "fag_fvl_larg", "fag_fvl_prof", "fag_fvl_sep", "fag_fvl_pla", "fag_fvl_drain", "fag_fvl_resp", "fag_fhz_long", "fag_fhz_larg", "fag_fhz_prof", "fag_fhz_drain", "fag_fhz_resp", "fag_mat_qual", "fag_mat_epa", "fag_pres_veg", "fag_pres_pro", "maj", "maj_date", "create", "create_date", "Element_1", "Element_2", "Element_3", "Element_5", "fag_num", "fag_num_filt", "fag_mat_cuv", "fag_guide", "fag_contr", "fag_soc", "fag_soc", "fag_livret", "Element_0", "fag_pres", "fag_plan", "fag_tamp", "fag_ancrage", "fag_ventil", "fag_mil_typ", "fag_mil_filt", "fag_mise_eau", "fag_pres_alar", "fag_pres_reg", "fag_pres", "fag_plan", "fag_tamp", "fag_rep", "fag_respect", "fag_att_conf", "Element_10", "fag_commentaires"]
};
if (typeof (oParentFormValues["controle_type"]) == "string")
var sControleType = oParentFormValues["controle_type"];
else
var sControleType = oParentFormValues["controle_type"]["selectedOption"]["value"];
aFormFieldsToDisplay = oFormFieldsToDisplay[sControleType];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
// Affiche et cache les champs de form. suivant le type de contrôle.
if (envSrvc["sMode"] != "display") {
$timeout(function () {
document.getElementById(oControl["id"]).addEventListener("change", function () {
var iIdControl = this.value;
// Charge les données du contrôle.
ajaxRequest({
"method": "GET",
"url": propertiesSrvc["web_server_name"] + "/" + propertiesSrvc["services_alias"] + "/anc/controles/" + iIdControl,
"scope": $rootScope,
"success": function (response) {
var oControl = envSrvc["extractWebServiceData"]("controles", response["data"])[0];
var aFormFieldsToDisplay = oFormFieldsToDisplay[oControl["controle_type"]];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
}
});
});
});
}
});
// Conversion des dates.
var oFormValues = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]];
var sFagEnDate = oFormValues["fag_en_date"];
if (goog.isDefAndNotNull(sFagEnDate) && sFagEnDate != "")
oFormValues["fag_en_date"] = moment(sFagEnDate).format("L")
if (goog.isDefAndNotNull(oFormValues["create_date"]))
oFormValues["create_date"] = moment(oFormValues["create_date"]).format('L');
if (goog.isDefAndNotNull(oFormValues["maj_date"]))
oFormValues["maj_date"] = moment(oFormValues["maj_date"]).format('L');
};
/**
* initAncControlEvacuationEauxForm function.
* Traitements avant l'affichage du formulaire de l'onglet "Evacuation des eaux".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncControlEvacuationEauxForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var $rootScope = angular.element(vitisApp.appMainDrtv).injector().get(["$rootScope"]);
var $timeout = angular.element(vitisApp.appMainDrtv).injector().get(["$timeout"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
var formSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["formSrvc"]);
var propertiesSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["propertiesSrvc"]);
//
$log.info("initAncControlEvacuationEauxForm");
var scope = this;
// Préremplissage de l'installation et dy contrôle en mode "insert".
var oParentFormValues = envSrvc["oFormValues"][envSrvc["oSelectedObject"]["name"] + "_" + envSrvc["oSectionForm"][envSrvc["oSelectedObject"]["name"]]["sections"][0]["name"] + "_" + scope.$parent["sParentMode"] + "_form"];
var oControl = formSrvc["getFormElementDefinition"]("id_controle", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
if (envSrvc["sMode"] == "insert") {
var oInstallation = formSrvc["getFormElementDefinition"]("id_installation", envSrvc["sFormDefinitionName"], envSrvc["oFormDefinition"]);
oInstallation["default_value"] = oParentFormValues["id_installation"]["selectedOption"]["value"];
oControl["default_value"] = oParentFormValues["id_controle"];
}
//
var clearListener = $rootScope.$on("formExtracted", function (event, sFormDefinitionName) {
// Supprime le "listener".
clearListener();
// Champs de form. à afficher suivant le type de contrôle et le mode du form.
var aFormFieldsToConcat = [envSrvc["sMode"] + "_button", "id_eva", "id_installation", "id_controle"];
var oFormFieldsToDisplay, aFormFieldsToDisplay = [];
oFormFieldsToDisplay = {
"BON FONCTIONNEMENT": ["evacuation_eaux.id_eva", "id_controle", "evac_type", "evac_is_long", "evac_is_larg", "evac_is_surface", "evac_is_profondeur", "evac_is_reg_rep", "evac_is_reb_bcl", "evac_is_veg", "evac_is_acc_reg", "evac_rp_grav", "evac_rp_tamp", "evac_rp_type_eff", "evac_rp_trap", "evac_hs_type", "evac_hs_gestionnaire", "evac_hs_gestionnaire_auth", "evac_commentaires", "maj", "maj_date", "create", "create_date", "Element_0", "Element_1", "Element_2", "Element_4", "evac_is_lin_total", "evac_rp_type", "evac_hs_intr", "evac_hs_type_eff", "evac_hs_ecoul", "evac_is_type_effl"],
"CONCEPTION": ["evacuation_eaux.id_eva", "id_controle", "evac_type", "evac_is_long", "evac_is_larg", "evac_is_surface", "evac_is_profondeur", "evac_rp_etude_hydrogeol", "evac_rp_rejet", "evac_hs_type", "evac_hs_gestionnaire", "evac_hs_gestionnaire_auth", "evac_commentaires", "maj", "maj_date", "create", "create_date", "photos_f", "fiche_f", "schema_f", "documents_f", "plan_f", "Element_0", "Element_1", "Element_2", "Element_3", "Element_4", "evac_is_inf_perm", "evac_hs_type_eff"],
"REALISATION": ["evacuation_eaux.id_eva", "id_controle", "evac_type", "evac_is_long", "evac_is_larg", "evac_is_surface", "evac_is_profondeur", "evac_is_geotex", "evac_is_rac", "evac_is_hum", "evac_is_reg_rep", "evac_is_reb_bcl", "evac_is_veg", "evac_rp_grav", "evac_rp_tamp", "evac_hs_type", "evac_commentaires", "maj", "maj_date", "create", "create_date", "Element_0", "Element_1", "Element_2", "Element_4", "evac_is_lin_total", "evac_rp_bons_grav", "evac_hs_intr", "evac_hs_type_eff", "evac_hs_ecoul", "evac_is_type_effl", "evac_rp_type_eff"]
};
if (typeof (oParentFormValues["controle_type"]) == "string")
var sControleType = oParentFormValues["controle_type"];
else
var sControleType = oParentFormValues["controle_type"]["selectedOption"]["value"];
aFormFieldsToDisplay = oFormFieldsToDisplay[sControleType];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
// Affiche et cache les champs de form. suivant le type de contrôle.
if (envSrvc["sMode"] != "display") {
$timeout(function () {
document.getElementById(oControl["id"]).addEventListener("change", function () {
var iIdControl = this.value;
// Charge les données du contrôle.
ajaxRequest({
"method": "GET",
"url": propertiesSrvc["web_server_name"] + "/" + propertiesSrvc["services_alias"] + "/anc/controles/" + iIdControl,
"scope": $rootScope,
"success": function (response) {
var oControl = envSrvc["extractWebServiceData"]("controles", response["data"])[0];
var aFormFieldsToDisplay = oFormFieldsToDisplay[oControl["controle_type"]];
$rootScope["displayFormFields"](aFormFieldsToDisplay.concat(aFormFieldsToConcat));
}
});
});
});
}
});
// Conversion des dates au format Fr.
var oFormValues = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]];
if (goog.isDefAndNotNull(oFormValues["create_date"]))
oFormValues["create_date"] = moment(oFormValues["create_date"]).format('L');
if (goog.isDefAndNotNull(oFormValues["maj_date"]))
oFormValues["maj_date"] = moment(oFormValues["maj_date"]).format('L');
};
/**
* beforeSendingAncInstallationForm function.
* Traitements avant l'envoi du formulaire de la section "Habitation" de l'onglet "Installation".
**/
angular.element(vitisApp.appMainDrtv).scope()["beforeSendingAncInstallationForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
//
$log.info("beforeSendingAncInstallationForm");
// Champs obligatoirement en majuscules.
var aElemNames = ["parc_commune", "prop_adresse", "prop_commune", "prop_nom_prenom", "prop_titre"];
var oFormValues = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]];
for (var i in aElemNames) {
if (typeof (oFormValues[aElemNames[i]]) == "string")
oFormValues[aElemNames[i]] = oFormValues[aElemNames[i]].toUpperCase();
}
}
/**
* initAncControleSuiviForm function.
* Traitements avant l'affichage du formulaire de la section "Suivi" de l'onglet "Contrôle".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncControleSuiviForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
//
$log.info("initAncControleSuiviForm");
// Conversion des dates au format Fr.
var oFormValues = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]];
if (goog.isDefAndNotNull(oFormValues["create_date"]))
oFormValues["create_date"] = moment(oFormValues["create_date"]).format('L');
if (goog.isDefAndNotNull(oFormValues["maj_date"]))
oFormValues["maj_date"] = moment(oFormValues["maj_date"]).format('L');
};
/**
* appAdminDescriptionColumn directive.
* Mise en forme de la colonne "description" dans la liste de l'onglet "Admin".
* @ngInject
*/
vitisApp.appAdminDescriptionColumnDrtv = function () {
return {
link: function (scope, element, attrs) {
// 1er affichage ou tri de la liste : maj de la mise en forme.
var clearObserver = attrs.$observe("appAdminDescriptionColumn", function (value) {
console.log(scope["row"]["entity"][scope["col"]["field"]]);
// Si le champ est vide : supprime l'icône.
if (scope["row"]["entity"][scope["col"]["field"]] == null || scope["row"]["entity"][scope["col"]["field"]] == "")
element[0].className = "";
else {
// Classes css (ui-grid + spécifiques).
element[0].className = "ui-grid-cell-contents wk-params-icon";
// Création du "tooltip".
$(element)["popover"]({
"trigger": "hover",
"container": "body",
"html": true,
"title": function () {
return "#" + scope["row"]["entity"]["id_parametre_admin"];
},
// Placement du tooltip à gauche ou à droite suivant la position horizontale de l'élément.
"placement": function (oPopoverNode, oElementNode) {
return scope.$root["workspaceTooltipPlacement"](oElementNode);
},
"content": function () {
return String(scope["row"]["entity"][scope["col"]["field"]]).replace(/,/g, '<br>');
}
});
}
});
// Attends la suppression du scope.
scope.$on("$destroy", function () {
// Supprime le tooltip.
$(element)["popover"]("destroy");
// Supprime l'observateur.
clearObserver();
});
}
};
};
vitisApp["compileProvider"].directive("appAdminDescriptionColumn", vitisApp.appAdminDescriptionColumnDrtv);
/**
* appAdminSignatureColumn directive.
* Mise en forme de la colonne "description" dans la liste de l'onglet "Admin".
* @ngInject
*/
vitisApp.appAdminSignatureColumnDrtv = function () {
return {
link: function (scope, element, attrs) {
// 1er affichage ou tri de la liste : maj de la mise en forme.
var clearObserver = attrs.$observe("appAdminSignatureColumn", function (value) {
console.log(scope["row"]["entity"][scope["col"]["field"]]);
// Si le champ est vide : supprime l'icône.
if (scope["row"]["entity"][scope["col"]["field"]] == null || scope["row"]["entity"][scope["col"]["field"]] == "")
element[0].className = "";
else {
// Classes css (ui-grid + spécifiques).
element[0].className = "ui-grid-cell-contents wk-params-icon";
// Création du "tooltip".
$(element)["popover"]({
"trigger": "hover",
"container": "body",
"html": true,
"title": function () {
return "#" + scope["row"]["entity"]["id_parametre_admin"];
},
// Placement du tooltip à gauche ou à droite suivant la position horizontale de l'élément.
"placement": function (oPopoverNode, oElementNode) {
return scope.$root["workspaceTooltipPlacement"](oElementNode);
},
"content": function () {
return String(scope["row"]["entity"][scope["col"]["field"]]).replace(/,/g, '<br>');
}
});
}
});
// Attends la suppression du scope.
scope.$on("$destroy", function () {
// Supprime le tooltip.
$(element)["popover"]("destroy");
// Supprime l'observateur.
clearObserver();
});
}
};
};
vitisApp["compileProvider"].directive("appAdminSignatureColumn", vitisApp.appAdminSignatureColumnDrtv);
/**
* initAncParametrageEntrepriseForm function.
* Traitements avant l'affichage du formulaire de l'onglet "Entreprise".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncParametrageEntrepriseForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
//
$log.info("initAncParametrageEntrepriseForm");
// Conversion des dates au format Fr.
var oFormValues = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]];
if (goog.isDefAndNotNull(oFormValues["create_date"]))
oFormValues["create_date"] = moment(oFormValues["create_date"]).format('L');
if (goog.isDefAndNotNull(oFormValues["maj_date"]))
oFormValues["maj_date"] = moment(oFormValues["maj_date"]).format('L');
};
/**
* initAncParametrageAdministrateurForm function.
* Traitements avant l'affichage du formulaire de l'onglet "Entreprise".
**/
angular.element(vitisApp.appMainDrtv).scope()["initAncParametrageAdministrateurForm"] = function () {
// Injection des services.
var $log = angular.element(vitisApp.appMainDrtv).injector().get(["$log"]);
var envSrvc = angular.element(vitisApp.appMainDrtv).injector().get(["envSrvc"]);
//
$log.info("initAncParametrageAdministrateurForm");
// Conversion des dates au format Fr.
var oFormValues = envSrvc["oFormValues"][envSrvc["sFormDefinitionName"]];
if (goog.isDefAndNotNull(oFormValues["date_fin_validite"]))
oFormValues["date_fin_validite"] = moment(oFormValues["date_fin_validite"]).format('L');
};
});
{
"TEXT_MODE_ANC_SAISIE" : "Saisie des assainissements non collectifs",
"TITLE_MODE_ANC_SAISIE" : "Saisie des ANC",
"TEXT_MODE_ANC_PARAMETRAGE" : "Paramétrage des assainissements non collectifs",
"TITLE_MODE_ANC_PARAMETRAGE" : "Paramétrage ANC",
"ANC_SAISIE_ANC_INSTALLATION_TITLE" : "",
"ANC_SAISIE_ANC_INSTALLATION_TITLE_INSERT" : "Installation",
"ANC_SAISIE_ANC_INSTALLATION_FORM_ID_INSTALLATION" : "id_installation",
"ANC_SAISIE_ANC_INSTALLATION_FORM_ID_COM" : "id_com",
"ANC_SAISIE_ANC_INSTALLATION_FORM_ID_PARC" : "id_parc",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PARC_SUP" : "parc_sup",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PARC_PARCELLE_ASSOCIEES" : "parc_parcelle_associees",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PARC_ADRESSE" : "parc_adresse",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CODE_POSTAL" : "code_postal",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PARC_COMMUNE" : "parc_commune",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PROP_TITRE" : "prop_titre",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PROP_NOM_PRENOM" : "prop_nom_prenom",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PROP_ADRESSE" : "prop_adresse",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PROP_CODE_POSTAL" : "prop_code_postal",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PROP_COMMUNE" : "prop_commune",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PROP_TEL" : "prop_tel",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PROP_MAIL" : "prop_mail",
"ANC_SAISIE_ANC_INSTALLATION_FORM_BATI_TYPE" : "bati_type",
"ANC_SAISIE_ANC_INSTALLATION_FORM_BATI_CA_NB_PP" : "bati_ca_nb_pp",
"ANC_SAISIE_ANC_INSTALLATION_FORM_BATI_CA_NB_EH" : "bati_ca_nb_eh",
"ANC_SAISIE_ANC_INSTALLATION_FORM_BATI_CA_NB_CHAMBRES" : "bati_ca_nb_chambres",
"ANC_SAISIE_ANC_INSTALLATION_FORM_BATI_NB_A_CONTROL" : "bati_nb_a_control",
"ANC_SAISIE_ANC_INSTALLATION_FORM_BATI_DATE_MUTATION" : "bati_date_mutation",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_ZONE_ENJEU" : "cont_zone_enjeu",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_ZONE_SAGE" : "cont_zone_sage",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_ZONE_AUTRE" : "cont_zone_autre",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_ZONE_URBA" : "cont_zone_urba",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_ZONE_ANC" : "cont_zone_anc",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_ALIM_EAU_POTABLE" : "cont_alim_eau_potable",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_PUITS_USAGE" : "cont_puits_usage",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_PUITS_DECLARATION" : "cont_puits_declaration",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_PUITS_SITUATION" : "cont_puits_situation",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_PUITS_TERRAIN_MITOYEN" : "cont_puits_terrain_mitoyen",
"ANC_SAISIE_ANC_INSTALLATION_FORM_OBSERVATIONS" : "Observations",
"ANC_SAISIE_ANC_INSTALLATION_FORM_MAJ" : "maj",
"ANC_SAISIE_ANC_INSTALLATION_FORM_MAJ_DATE" : "maj_date",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CREATE" : "create",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CREATE_DATE" : "create_date",
"ANC_SAISIE_ANC_INSTALLATION_FORM_ARCHIVAGE" : "archivage",
"ANC_SAISIE_ANC_INSTALLATION_FORM_GEOM" : "geom",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PHOTO_F" : "photo_f",
"ANC_SAISIE_ANC_INSTALLATION_FORM_DOCUMENT_F" : "document_f",
"ANC_SAISIE_ANC_INSTALLATION_FORM_NUM_DOSSIER" : "num_dossier",
"ANC_SAISIE_ANC_INSTALLATION_FORM_COMMUNE" : "commune",
"ANC_SAISIE_ANC_INSTALLATION_FORM_SECTION" : "section",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PARCELLE" : "parcelle",
"ANC_SAISIE_ANC_INSTALLATION_FORM_NB_CONTROLE" : "nb_controle",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_TITLE" : "",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_TITLE_INSERT" : "Liste",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_TITLE_UPDATE" : "Liste n°{{sId}}",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_TITLE_DISPLAY" : "Liste n°{{sId}}",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_FORM_ID_PARAMETRE_LISTE" : "id_parametre_liste",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_FORM_NOM_TABLE" : "nom_table",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_FORM_NOM_LISTE" : "nom_liste",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_FORM_VALEURS" : "valeurs",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_FORM_ALIAS" : "alias",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_TITLE" : "",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_TITLE_INSERT" : "Tarif",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_TITLE_UPDATE" : "Tarif n°{{id_parametre_tarif}}",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_TITLE_DISPLAY" : "Tarif n°{{sId}}",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_FORM_ID_PARAMETRE_TARIF" : "ID",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_FORM_ID_COM" : "Commune",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_FORM_CONTROLE_TYPE" : "Type de contrôle",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_FORM_MONTANT" : "Montant",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_FORM_ANNEE_VALIDITE" : "Année de validité",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_FORM_DEVISE" : "Devise",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_TITLE" : "",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_TITLE_INSERT" : "Entreprise",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_TITLE_UPDATE" : "Entreprise n°{{id_parametre_entreprises}}",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_TITLE_DISPLAY" : "Entreprise n°{{id_parametre_entreprises}}",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_ID_PARAMETRE_ENTREPRISES" : "id_parametre_entreprises",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_ID_COM" : "id_com",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_SIRET" : "siret",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_RAISON_SOCIALE" : "raison_sociale",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_NOM_ENTREPRISE" : "nom_entreprise",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_NOM_CONTACT" : "nom_contact",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_TELEPHONE_FIXE" : "telephone_fixe",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_TELEPHONE_MOBILE" : "telephone_mobile",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_WEB" : "web",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_MAIL" : "mail",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_CODE_POSTAL" : "code_postal",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_VOIE" : "voie",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_BUREAU_ETUDE" : "bureau_etude",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_CONCEPTEUR" : "concepteur",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_CONSTRUCTEUR" : "constructeur",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_INSTALLATEUR" : "installateur",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_VIDANGEUR" : "vidangeur",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_EN_ACTIVITE" : "en_activite",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_OBSERVATIONS" : "observations",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_CREAT" : "creat",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_CREAT_DATE" : "creat_date",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_MAJ" : "maj",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_MAJ_DATE" : "maj_date",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_GEOM" : "geom",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_TITLE" : "",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_FORM_OBSERVATIONS" : "Observations",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_FORM_MAJ" : "maj",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_FORM_MAJ_DATE" : "maj_date",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_FORM_CREATE" : "create",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_FORM_CREATE_DATE" : "create_date",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_FORM_ARCHIVAGE" : "archivage",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_FORM_GEOM" : "geom",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_DOCUMENTS_TITLE" : "",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_DOCUMENTS_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_DOCUMENTS_FORM_PHOTO_F" : "Photos",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_DOCUMENTS_FORM_DOCUMENT_F" : "Documents",
"ANC_SAISIE_ANC_CONTROLE_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_TITLE_INSERT" : "Control",
"ANC_SAISIE_ANC_CONTROLE_FORM_ID_CONTROLE" : "id_controle",
"ANC_SAISIE_ANC_CONTROLE_FORM_ID_INSTALLATION" : "id_installation",
"ANC_SAISIE_ANC_CONTROLE_FORM_CONTROLE_TYPE" : "controle_type",
"ANC_SAISIE_ANC_CONTROLE_FORM_CONTROLE_SS_TYPE" : "controle_ss_type",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_DATE_CONTROL" : "des_date_control",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_PERS_CONTROL" : "des_pers_control",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_AGENT_CONTROL" : "des_agent_control",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_REFUS_VISITE" : "des_refus_visite",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_DATE_INSTALLATION" : "des_date_installation",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_DATE_RECOMMANDE" : "des_date_recommande",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_NUMERO_RECOMMANDE" : "des_numero_recommande",
"ANC_SAISIE_ANC_CONTROLE_FORM_DEP_DATE_DEPOT" : "dep_date_depot",
"ANC_SAISIE_ANC_CONTROLE_FORM_DEP_LISTE_PIECE" : "dep_liste_piece",
"ANC_SAISIE_ANC_CONTROLE_FORM_DEP_DOSSIER_COMPLET" : "dep_dossier_complet",
"ANC_SAISIE_ANC_CONTROLE_FORM_DEP_DATE_ENVOI_INCOMPLET" : "dep_date_envoi_incomplet",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_NATURE_PROJET" : "des_nature_projet",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_CONCEPTEUR" : "des_concepteur",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_SURFACE_DISPO_M2" : "car_surface_dispo_m2",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_PERMEA" : "car_permea",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_VALEUR_PERMEA" : "car_valeur_permea",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_HYDROMORPHIE" : "car_hydromorphie",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_PROF_APP" : "car_prof_app",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_NAPPE_FOND" : "car_nappe_fond",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_TERRAIN_INNONDABLE" : "car_terrain_innondable",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_ROCHE_SOL" : "car_roche_sol",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_DIST_HAB" : "car_dist_hab",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_DIST_LIM_PAR" : "car_dist_lim_par",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_DIST_VEGET" : "car_dist_veget",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_DIST_PUIT" : "car_dist_puit",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_REAMENAGE_TERRAIN" : "des_reamenage_terrain",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_REAMENAGE_IMMEUBLE" : "des_reamenage_immeuble",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_REAL_TRVX" : "des_real_trvx",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_ANC_SS_ACCORD" : "des_anc_ss_accord",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_COLLECTE_EP" : "des_collecte_ep",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_SEP_EP_EU" : "des_sep_ep_eu",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_EU_NB_SORTIE" : "des_eu_nb_sortie",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_EU_TES_REGARDS" : "des_eu_tes_regards",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_EU_PENTE_ECOUL" : "des_eu_pente_ecoul",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_EU_REGARS_ACCES" : "des_eu_regars_acces",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_EU_ALTERATION" : "des_eu_alteration",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_EU_ECOULEMENT" : "des_eu_ecoulement",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_EU_DEPOT_REGARD" : "des_eu_depot_regard",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_COMMENTAIRE" : "des_commentaire",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_TITLE" : "",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_TITLE_INSERT" : "Admin",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_TITLE_UPDATE" : "Admin n°{{id_parametre_admin}}",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_TITLE_DISPLAY" : "Admin n°{{id_parametre_admin}}",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_ID_PARAMETRE_ADMIN" : "id_parametre_admin",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_ID_COM" : "id_com",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_TYPE" : "type",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_SOUS TYPE" : "sous type",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_NOM" : "nom",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_PRENOM" : "prenom",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_DESCRIPTION" : "description",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_CIVILITE" : "civilite",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_DATE_FIN_VALIDITE" : "date_fin_validite",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_QUALITE" : "qualite",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_SIGNATURE" : "signature",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_CONFORME" : "ts_conforme",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_TYPE_EFFLUENT" : "ts_type_effluent",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_CAPACITE_BAC" : "ts_capacite_bac",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_NB_BAC" : "ts_nb_bac",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_COHER_TAILLE_UTIL" : "ts_coher_taille_util",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_AIRE_ETANCHE" : "ts_aire_etanche",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_AIRE_ABRI" : "ts_aire_abri",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_VENTILATION" : "ts_ventilation",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_CUVE_ETANCHE" : "ts_cuve_etanche",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_VAL_COMP" : "ts_val_comp",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_RUISSEL_EP" : "ts_ruissel_ep",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_ABSENCE_NUISANCE" : "ts_absence_nuisance",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_RESPECT_REGLES" : "ts_respect_regles",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_COMMENTAIRES" : "ts_commentaires",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_PRIMAIRE" : "vt_primaire",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_SECONDAIRE" : "vt_secondaire",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_PRIM_LOC" : "vt_prim_loc",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_PRIM_HT" : "vt_prim_ht",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_PRIM_DIAM" : "vt_prim_diam",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_PRIM_TYPE_EXTRACT" : "vt_prim_type_extract",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_SECOND_LOC" : "vt_second_loc",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_SECOND_HT" : "vt_second_ht",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_SECOND_DIAM" : "vt_second_diam",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_SECOND_TYPE_EXTRACT" : "vt_second_type_extract",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_CHASSE_ACCES" : "da_chasse_acces",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_CHASSE_AUTO" : "da_chasse_auto",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_CHASSE_PR_NAT_EAU" : "da_chasse_pr_nat_eau",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_CHASSE_OK" : "da_chasse_ok",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_CHASSE_DYSFONCTIONNEMENT" : "da_chasse_dysfonctionnement",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_CHASSE_DEGRADATION" : "da_chasse_degradation",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_CHASSE_ENTRETIEN" : "da_chasse_entretien",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_LOC_POMPE" : "da_pr_loc_pompe",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_ACCES" : "da_pr_acces",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_NB_POMPE" : "da_pr_nb_pompe",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_NAT_EAU" : "da_pr_nat_eau",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_OK" : "da_pr_ok",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_CLAPET" : "da_pr_clapet",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_ETANCHE" : "da_pr_etanche",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_BRANCHEMENT" : "da_pr_branchement",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_DYSFONCTIONNEMENT" : "da_pr_dysfonctionnement",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_DEGRADATION" : "da_pr_degradation",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_ENTRETIEN" : "da_pr_entretien",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_COMMENTAIRES" : "da_commentaires",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_AVIS" : "cl_avis",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_CLASSE_CBF" : "cl_classe_cbf",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_COMMENTAIRES" : "cl_commentaires",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_DATE_AVIS" : "cl_date_avis",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_AUTEUR_AVIS" : "cl_auteur_avis",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_DATE_PROCHAIN_CONTROL" : "cl_date_prochain_control",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_MONTANT" : "cl_montant",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_FACTURE" : "cl_facture",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_FACTURE_LE" : "cl_facture_le",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_SUIVI_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_SUIVI_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_SUIVI_FORM_MAJ" : "maj",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_SUIVI_FORM_MAJ_DATE" : "maj_date",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_SUIVI_FORM_CREATE" : "create",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_SUIVI_FORM_CREATE_DATE" : "create_date",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_SUIVI_FORM_CLOTURER" : "cloturer",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DOCUMENTS_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DOCUMENTS_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DOCUMENTS_FORM_PHOTOS_F" : "photos_f",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DOCUMENTS_FORM_FICHE_F" : "fiche_f",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DOCUMENTS_FORM_RAPPORT_F" : "rapport_f",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DOCUMENTS_FORM_SCHEMA_F" : "schema_f",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DOCUMENTS_FORM_DOCUMENTS_F" : "documents_f",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DOCUMENTS_FORM_PLAN_F" : "plan_f",
"ANC_SAISIE_ANC_PRETRAITEMENT_TITLE" : "",
"ANC_SAISIE_ANC_PRETRAITEMENT_TITLE_INSERT" : "Pretreatment",
"ANC_SAISIE_ANC_PRETRAITEMENT_TITLE_UPDATE" : "Prétraitement n°{{id_pretraitement}}",
"ANC_SAISIE_ANC_PRETRAITEMENT_TITLE_DISPLAY" : "Prétraitement n°{{id_pretraitement}}",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_ID_PRETRAITEMENT" : "id_pretraitement",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_ID_CONTROLE" : "id_controle",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_TYPE" : "ptr_type",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_VOLUME" : "ptr_volume",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_MARQUE" : "ptr_marque",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_MATERIAU" : "ptr_materiau",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_RENFORCE" : "ptr_renforce",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_VERIF_MISE_EN_EAU" : "ptr_verif_mise_en_eau",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_CLOISON" : "ptr_cloison",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_COMMENTAIRE" : "ptr_commentaire",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_IM_DISTANCE" : "ptr_im_distance",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_IM_HYDROM" : "ptr_im_hydrom",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_IM_FIXATION" : "ptr_im_fixation",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_IM_ACCES" : "ptr_im_acces",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_ET_DEGRAD" : "ptr_et_degrad",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_ET_REAL" : "ptr_et_real",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_VI_DATE" : "ptr_vi_date",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_VI_JUSTI" : "ptr_vi_justi",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_VI_ENTR" : "ptr_vi_entr",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_VI_BORD" : "ptr_vi_bord",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_VI_DEST" : "ptr_vi_dest",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_VI_PERC" : "ptr_vi_perc",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_MAJ" : "maj",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_MAJ_DATE" : "maj_date",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_CREATE" : "create",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_CREATE_DATE" : "create_date",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PHOTOS_F" : "photos_f",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_FICHE_F" : "fiche_f",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_SCHEMA_F" : "schema_f",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_DOCUMENTS_F" : "documents_f",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PLAN_F" : "plan_f",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_ID_INSTALLATION" : "id_installation",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_NUM_DOSSIER" : "num_dossier",
"ANC_SAISIE_ANC_EVACUATION_EAUX_TITLE" : "",
"ANC_SAISIE_ANC_EVACUATION_EAUX_TITLE_INSERT" : "Water evacuation",
"ANC_SAISIE_ANC_EVACUATION_EAUX_TITLE_UPDATE" : "Evacuation des eaux n°{{sId}}",
"ANC_SAISIE_ANC_EVACUATION_EAUX_TITLE_DISPLAY" : "Evacuation des eaux n°{{sId}}",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_ID_EVA" : "id_eva",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_ID_CONTROLE" : "id_controle",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_TYPE" : "evac_type",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_LONG" : "evac_is_long",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_LARG" : "evac_is_larg",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_SURFACE" : "evac_is_surface",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_PROFONDEUR" : "evac_is_profondeur",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_GEOTEX" : "evac_is_geotex",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_RAC" : "evac_is_rac",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_HUM" : "evac_is_hum",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_REG_REP" : "evac_is_reg_rep",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_REB_BCL" : "evac_is_reb_bcl",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_VEG" : "evac_is_veg",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_TYPE_EFFL" : "evac_is_type_effl",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_ACC_REG" : "evac_is_acc_reg",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_RP_ETUDE_HYDROGEOL" : "evac_rp_etude_hydrogeol",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_RP_REJET" : "evac_rp_rejet",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_RP_GRAV" : "evac_rp_grav",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_RP_TAMP" : "evac_rp_tamp",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_RP_TYPE_EFF" : "evac_rp_type_eff",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_RP_TRAP" : "evac_rp_trap",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_HS_TYPE" : "evac_hs_type",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_HS_GESTIONNAIRE" : "evac_hs_gestionnaire",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_HS_GESTIONNAIRE_AUTH" : "evac_hs_gestionnaire_auth",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_COMMENTAIRES" : "evac_commentaires",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_MAJ" : "maj",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_MAJ_DATE" : "maj_date",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_CREATE" : "create",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_CREATE_DATE" : "create_date",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_PHOTOS_F" : "photos_f",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_FICHE_F" : "fiche_f",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_SCHEMA_F" : "schema_f",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_DOCUMENTS_F" : "documents_f",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_PLAN_F" : "plan_f",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_ID_INSTALLATION" : "id_installation",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_NUM_DOSSIER" : "num_dossier",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_PRETRAITEMENT_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_PRETRAITEMENT_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_FILIERES_AGREE_TITLE" : "",
"ANC_SAISIE_ANC_FILIERES_AGREE_TITLE_INSERT" : "Filière agréée",
"ANC_SAISIE_ANC_FILIERES_AGREE_TITLE_UPDATE" : "Filière agréée n°{{sId}}",
"GRID_TITLE_ANC_SAISIE_ANC_CONTROLE_CONTROLE_FILIERES_AGREE" : "Liste des filières agréées du contrôle",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_ID_FAG" : "id_fag",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_ID_CONTROLE" : "id_controle",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_TYPE" : "fag_type",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_AGREE" : "fag_agree",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_INTEGERER" : "fag_integerer",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_DENOM" : "fag_denom",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FAB" : "fag_fab",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_NUM_AG" : "fag_num_ag",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_CAP_EH" : "fag_cap_eh",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_NB_CUV" : "fag_nb_cuv",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_GUIDE" : "fag_guide",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_LIVRET" : "fag_livret",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_CONTR" : "fag_contr",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_SOC" : "fag_soc",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_PRES" : "fag_pres",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_PLAN" : "fag_plan",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_TAMP" : "fag_tamp",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_ANCRAGE" : "fag_ancrage",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_REP" : "fag_rep",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_RESPECT" : "fag_respect",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_VENTIL" : "fag_ventil",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_MIL_TYP" : "fag_mil_typ",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_MIL_FILT" : "fag_mil_filt",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_MISE_EAU" : "fag_mise_eau",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_PRES_ALAR" : "fag_pres_alar",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_PRES_REG" : "fag_pres_reg",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_ATT_CONF" : "fag_att_conf",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_SURPR" : "fag_surpr",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_SURPR_REF" : "fag_surpr_ref",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_SURPR_DIST" : "fag_surpr_dist",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_SURPR_ELEC" : "fag_surpr_elec",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_SURPR_AER" : "fag_surpr_aer",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_REAC_BULL" : "fag_reac_bull",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_BROY" : "fag_broy",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_DEC" : "fag_dec",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_TYPE_EAU" : "fag_type_eau",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_REG_MAR" : "fag_reg_mar",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_REG_MAT" : "fag_reg_mat",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_REG_AFFL" : "fag_reg_affl",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_REG_HZ" : "fag_reg_hz",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_REG_VAN" : "fag_reg_van",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FVL_NB" : "fag_fvl_nb",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FVL_LONG" : "fag_fvl_long",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FVL_LARG" : "fag_fvl_larg",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FVL_PROF" : "fag_fvl_prof",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FVL_SEP" : "fag_fvl_sep",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FVL_PLA" : "fag_fvl_pla",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FVL_DRAIN" : "fag_fvl_drain",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FVL_RESP" : "fag_fvl_resp",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FHZ_LONG" : "fag_fhz_long",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FHZ_LARG" : "fag_fhz_larg",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FHZ_PROF" : "fag_fhz_prof",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FHZ_DRAIN" : "fag_fhz_drain",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FHZ_RESP" : "fag_fhz_resp",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_MAT_QUAL" : "fag_mat_qual",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_MAT_EPA" : "fag_mat_epa",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_PRES_VEG" : "fag_pres_veg",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_PRES_PRO" : "fag_pres_pro",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_ACCES" : "fag_acces",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_ET_DEG" : "fag_et_deg",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_ET_OD" : "fag_et_od",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_ET_DY" : "fag_et_dy",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_EN_DATE" : "fag_en_date",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_EN_JUS" : "fag_en_jus",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_EN_ENTR" : "fag_en_entr",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_EN_BORD" : "fag_en_bord",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_EN_DEST" : "fag_en_dest",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_EN_PERC" : "fag_en_perc",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_EN_CONTR" : "fag_en_contr",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_EN_MAINTEGER" : "fag_en_mainteger",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_DIST_ARB" : "fag_dist_arb",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_DIST_PARC" : "fag_dist_parc",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_DIST_HAB" : "fag_dist_hab",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_DIST_CAP" : "fag_dist_cap",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_MAJ" : "maj",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_MAJ_DATE" : "maj_date",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_CREATE" : "create",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_CREATE_DATE" : "create_date",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_PHOTOS_F" : "photos_f",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FICHE_F" : "fiche_f",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_SCHEMA_F" : "schema_f",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_DOCUMENTS_F" : "documents_f",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_PLAN_F" : "plan_f",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_ID_INSTALLATION" : "id_installation",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_NUM_DOSSIER" : "num_dossier",
"SECTION_INSERT_TITLE_ANC_SAISIE_ANC_INSTALLATION" : "Installation",
"SECTION_INSERT_TITLE_ANC_SAISIE_ANC_CONTROLE" : "Control",
"ANC_SAISIE_ANC_TRAITEMENT_TITLE_INSERT" : "Treatment",
"ANC_SAISIE_ANC_TRAITEMENT_TITLE_UPDATE" : "Treatement n°{{id_traitement}}",
"ANC_SAISIE_ANC_TRAITEMENT_TITLE_DISPLAY" : "Treatement n°{{id_traitement}}",
"SECTION_UPDATE_TITLE_ANC_SAISIE_ANC_INSTALLATION" : "Installation n°{{sId}}",
"SECTION_DISPLAY_TITLE_ANC_SAISIE_ANC_INSTALLATION" : "Installation n°{{sId}}",
"SECTION_UPDATE_TITLE_ANC_SAISIE_ANC_CONTROLE" : "Contrôle n°{{sId}}",
"SECTION_DISPLAY_TITLE_ANC_SAISIE_ANC_CONTROLE" : "Contrôle n°{{sId}}",
"GRID_TITLE_ANC_SAISIE_ANC_CONTROLE_CONTROLE_PRETRAITEMENT" : "Liste des prétraitements du contrôle",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_PRETRAITEMENT_TITLE_INSERT" : "Pretreatment",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_PRETRAITEMENT_TITLE_UPDATE" : "Pretreatment n°{{sId}}",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_PRETRAITEMENT_TITLE_DISPLAY" : "Pretreatment n°{{sId}}",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_SCHEMA_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_RAPPORT_TITLE" : "Reports",
"GRID_TITLE_ANC_SAISIE_ANC_CONTROLE_CONTROLE_TRAITEMENT" : "Liste des traitements du contrôle",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TRAITEMENT_TITLE_INSERT" : "Treatement",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TRAITEMENT_TITLE_UPDATE" : "Treatement n°{{sId}}",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TRAITEMENT_TITLE_DISPLAY" : "Treatement n°{{sId}}",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_FILIERES_AGREE_TITLE_INSERT" : "Filière agréée",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_FILIERES_AGREE_TITLE_UPDATE" : "Filière agréée n°{{sId}}",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_FILIERES_AGREE_TITLE_DISPLAY" : "Filière agréée n°{{sId}}",
"GRID_TITLE_ANC_SAISIE_ANC_CONTROLE_CONTROLE_EVACUATION_EAUX" : "Liste des évacuations des eaux du contrôle",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_EVACUATION_EAUX_TITLE_INSERT" : "Evacuation des eaux",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_EVACUATION_EAUX_TITLE_UPDATE" : "Evacuation des eaux n°{{id_eva}}",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_EVACUATION_EAUX_TITLE_DISPLAY" : "Evacuation des eaux n°{{id_eva}}"
}
{
"TEXT_MODE_ANC_SAISIE" : "Saisie des assainissements non collectifs",
"TITLE_MODE_ANC_SAISIE" : "Saisie des ANC",
"TEXT_MODE_ANC_PARAMETRAGE" : "Paramétrage des assainissements non collectifs",
"TITLE_MODE_ANC_PARAMETRAGE" : "Paramétrage ANC",
"ANC_SAISIE_ANC_INSTALLATION_TITLE" : "",
"ANC_SAISIE_ANC_INSTALLATION_TITLE_INSERT" : "Installation",
"ANC_SAISIE_ANC_INSTALLATION_FORM_ID_INSTALLATION" : "id_installation",
"ANC_SAISIE_ANC_INSTALLATION_FORM_ID_COM" : "id_com",
"ANC_SAISIE_ANC_INSTALLATION_FORM_ID_PARC" : "id_parc",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PARC_SUP" : "parc_sup",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PARC_PARCELLE_ASSOCIEES" : "parc_parcelle_associees",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PARC_ADRESSE" : "parc_adresse",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CODE_POSTAL" : "code_postal",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PARC_COMMUNE" : "parc_commune",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PROP_TITRE" : "prop_titre",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PROP_NOM_PRENOM" : "prop_nom_prenom",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PROP_ADRESSE" : "prop_adresse",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PROP_CODE_POSTAL" : "prop_code_postal",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PROP_COMMUNE" : "prop_commune",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PROP_TEL" : "prop_tel",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PROP_MAIL" : "prop_mail",
"ANC_SAISIE_ANC_INSTALLATION_FORM_BATI_TYPE" : "bati_type",
"ANC_SAISIE_ANC_INSTALLATION_FORM_BATI_CA_NB_PP" : "bati_ca_nb_pp",
"ANC_SAISIE_ANC_INSTALLATION_FORM_BATI_CA_NB_EH" : "bati_ca_nb_eh",
"ANC_SAISIE_ANC_INSTALLATION_FORM_BATI_CA_NB_CHAMBRES" : "bati_ca_nb_chambres",
"ANC_SAISIE_ANC_INSTALLATION_FORM_BATI_NB_A_CONTROL" : "bati_nb_a_control",
"ANC_SAISIE_ANC_INSTALLATION_FORM_BATI_DATE_MUTATION" : "bati_date_mutation",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_ZONE_ENJEU" : "cont_zone_enjeu",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_ZONE_SAGE" : "cont_zone_sage",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_ZONE_AUTRE" : "cont_zone_autre",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_ZONE_URBA" : "cont_zone_urba",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_ZONE_ANC" : "cont_zone_anc",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_ALIM_EAU_POTABLE" : "cont_alim_eau_potable",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_PUITS_USAGE" : "cont_puits_usage",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_PUITS_DECLARATION" : "cont_puits_declaration",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_PUITS_SITUATION" : "cont_puits_situation",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CONT_PUITS_TERRAIN_MITOYEN" : "cont_puits_terrain_mitoyen",
"ANC_SAISIE_ANC_INSTALLATION_FORM_OBSERVATIONS" : "Observations",
"ANC_SAISIE_ANC_INSTALLATION_FORM_MAJ" : "maj",
"ANC_SAISIE_ANC_INSTALLATION_FORM_MAJ_DATE" : "maj_date",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CREATE" : "create",
"ANC_SAISIE_ANC_INSTALLATION_FORM_CREATE_DATE" : "create_date",
"ANC_SAISIE_ANC_INSTALLATION_FORM_ARCHIVAGE" : "archivage",
"ANC_SAISIE_ANC_INSTALLATION_FORM_GEOM" : "geom",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PHOTO_F" : "photo_f",
"ANC_SAISIE_ANC_INSTALLATION_FORM_DOCUMENT_F" : "document_f",
"ANC_SAISIE_ANC_INSTALLATION_FORM_NUM_DOSSIER" : "num_dossier",
"ANC_SAISIE_ANC_INSTALLATION_FORM_COMMUNE" : "commune",
"ANC_SAISIE_ANC_INSTALLATION_FORM_SECTION" : "section",
"ANC_SAISIE_ANC_INSTALLATION_FORM_PARCELLE" : "parcelle",
"ANC_SAISIE_ANC_INSTALLATION_FORM_NB_CONTROLE" : "nb_controle",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_TITLE" : "",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_TITLE_INSERT" : "Liste",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_TITLE_UPDATE" : "Liste n°{{sId}}",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_TITLE_DISPLAY" : "Liste n°{{sId}}",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_FORM_ID_PARAMETRE_LISTE" : "id_parametre_liste",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_FORM_NOM_TABLE" : "nom_table",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_FORM_NOM_LISTE" : "nom_liste",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_FORM_VALEURS" : "valeurs",
"ANC_PARAMETRAGE_ANC_PARAM_LISTE_FORM_ALIAS" : "alias",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_TITLE" : "",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_TITLE_INSERT" : "Tarif",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_TITLE_UPDATE" : "Tarif n°{{id_parametre_tarif}}",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_TITLE_DISPLAY" : "Tarif n°{{id_parametre_tarif}}",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_FORM_ID_PARAMETRE_TARIF" : "ID",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_FORM_ID_COM" : "Commune",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_FORM_CONTROLE_TYPE" : "Type de contrôle",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_FORM_MONTANT" : "Montant",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_FORM_ANNEE_VALIDITE" : "Année de validité",
"ANC_PARAMETRAGE_ANC_PARAM_TARIF_FORM_DEVISE" : "Devise",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_TITLE" : "",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_TITLE_INSERT" : "Entreprise",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_TITLE_UPDATE" : "Entreprise n°{{id_parametre_entreprises}}",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_TITLE_DISPLAY" : "Entreprise n°{{id_parametre_entreprises}}",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_ID_PARAMETRE_ENTREPRISES" : "id_parametre_entreprises",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_ID_COM" : "id_com",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_SIRET" : "siret",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_RAISON_SOCIALE" : "raison_sociale",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_NOM_ENTREPRISE" : "nom_entreprise",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_NOM_CONTACT" : "nom_contact",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_TELEPHONE_FIXE" : "telephone_fixe",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_TELEPHONE_MOBILE" : "telephone_mobile",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_WEB" : "web",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_MAIL" : "mail",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_CODE_POSTAL" : "code_postal",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_VOIE" : "voie",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_BUREAU_ETUDE" : "bureau_etude",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_CONCEPTEUR" : "concepteur",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_CONSTRUCTEUR" : "constructeur",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_INSTALLATEUR" : "installateur",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_VIDANGEUR" : "vidangeur",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_EN_ACTIVITE" : "en_activite",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_OBSERVATIONS" : "observations",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_CREAT" : "creat",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_CREAT_DATE" : "creat_date",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_MAJ" : "maj",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_MAJ_DATE" : "maj_date",
"ANC_PARAMETRAGE_ANC_ENTREPRISE_FORM_GEOM" : "geom",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_TITLE" : "",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_FORM_OBSERVATIONS" : "Observations",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_FORM_MAJ" : "maj",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_FORM_MAJ_DATE" : "maj_date",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_FORM_CREATE" : "create",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_FORM_CREATE_DATE" : "create_date",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_FORM_ARCHIVAGE" : "archivage",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_SUIVI_FORM_GEOM" : "geom",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_DOCUMENTS_TITLE" : "",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_DOCUMENTS_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_DOCUMENTS_FORM_PHOTO_F" : "Photos",
"ANC_SAISIE_ANC_INSTALLATION_INSTALLATION_DOCUMENTS_FORM_DOCUMENT_F" : "Documents",
"ANC_SAISIE_ANC_CONTROLE_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_TITLE_INSERT" : "Contrôle",
"ANC_SAISIE_ANC_CONTROLE_FORM_ID_CONTROLE" : "id_controle",
"ANC_SAISIE_ANC_CONTROLE_FORM_ID_INSTALLATION" : "id_installation",
"ANC_SAISIE_ANC_CONTROLE_FORM_CONTROLE_TYPE" : "controle_type",
"ANC_SAISIE_ANC_CONTROLE_FORM_CONTROLE_SS_TYPE" : "controle_ss_type",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_DATE_CONTROL" : "des_date_control",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_PERS_CONTROL" : "des_pers_control",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_AGENT_CONTROL" : "des_agent_control",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_REFUS_VISITE" : "des_refus_visite",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_DATE_INSTALLATION" : "des_date_installation",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_DATE_RECOMMANDE" : "des_date_recommande",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_NUMERO_RECOMMANDE" : "des_numero_recommande",
"ANC_SAISIE_ANC_CONTROLE_FORM_DEP_DATE_DEPOT" : "dep_date_depot",
"ANC_SAISIE_ANC_CONTROLE_FORM_DEP_LISTE_PIECE" : "dep_liste_piece",
"ANC_SAISIE_ANC_CONTROLE_FORM_DEP_DOSSIER_COMPLET" : "dep_dossier_complet",
"ANC_SAISIE_ANC_CONTROLE_FORM_DEP_DATE_ENVOI_INCOMPLET" : "dep_date_envoi_incomplet",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_NATURE_PROJET" : "des_nature_projet",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_CONCEPTEUR" : "des_concepteur",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_SURFACE_DISPO_M2" : "car_surface_dispo_m2",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_PERMEA" : "car_permea",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_VALEUR_PERMEA" : "car_valeur_permea",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_HYDROMORPHIE" : "car_hydromorphie",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_PROF_APP" : "car_prof_app",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_NAPPE_FOND" : "car_nappe_fond",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_TERRAIN_INNONDABLE" : "car_terrain_innondable",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_ROCHE_SOL" : "car_roche_sol",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_DIST_HAB" : "car_dist_hab",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_DIST_LIM_PAR" : "car_dist_lim_par",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_DIST_VEGET" : "car_dist_veget",
"ANC_SAISIE_ANC_CONTROLE_FORM_CAR_DIST_PUIT" : "car_dist_puit",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_REAMENAGE_TERRAIN" : "des_reamenage_terrain",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_REAMENAGE_IMMEUBLE" : "des_reamenage_immeuble",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_REAL_TRVX" : "des_real_trvx",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_ANC_SS_ACCORD" : "des_anc_ss_accord",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_COLLECTE_EP" : "des_collecte_ep",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_SEP_EP_EU" : "des_sep_ep_eu",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_EU_NB_SORTIE" : "des_eu_nb_sortie",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_EU_TES_REGARDS" : "des_eu_tes_regards",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_EU_PENTE_ECOUL" : "des_eu_pente_ecoul",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_EU_REGARS_ACCES" : "des_eu_regars_acces",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_EU_ALTERATION" : "des_eu_alteration",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_EU_ECOULEMENT" : "des_eu_ecoulement",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_EU_DEPOT_REGARD" : "des_eu_depot_regard",
"ANC_SAISIE_ANC_CONTROLE_FORM_DES_COMMENTAIRE" : "des_commentaire",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_TITLE" : "",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_TITLE_INSERT" : "Admin",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_TITLE_UPDATE" : "Admin n°{{id_parametre_admin}}",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_TITLE_DISPLAY" : "Admin n°{{id_parametre_admin}}",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_ID_PARAMETRE_ADMIN" : "id_parametre_admin",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_ID_COM" : "id_com",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_TYPE" : "type",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_SOUS TYPE" : "sous type",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_NOM" : "nom",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_PRENOM" : "prenom",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_DESCRIPTION" : "description",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_CIVILITE" : "civilite",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_DATE_FIN_VALIDITE" : "date_fin_validite",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_QUALITE" : "qualite",
"ANC_PARAMETRAGE_ANC_PARAM_ADMIN_FORM_SIGNATURE" : "signature",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_CONFORME" : "ts_conforme",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_TYPE_EFFLUENT" : "ts_type_effluent",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_CAPACITE_BAC" : "ts_capacite_bac",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_NB_BAC" : "ts_nb_bac",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_COHER_TAILLE_UTIL" : "ts_coher_taille_util",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_AIRE_ETANCHE" : "ts_aire_etanche",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_AIRE_ABRI" : "ts_aire_abri",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_VENTILATION" : "ts_ventilation",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_CUVE_ETANCHE" : "ts_cuve_etanche",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_VAL_COMP" : "ts_val_comp",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_RUISSEL_EP" : "ts_ruissel_ep",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_ABSENCE_NUISANCE" : "ts_absence_nuisance",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_RESPECT_REGLES" : "ts_respect_regles",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TOILETTES_SECHES_FORM_TS_COMMENTAIRES" : "ts_commentaires",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_PRIMAIRE" : "vt_primaire",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_SECONDAIRE" : "vt_secondaire",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_PRIM_LOC" : "vt_prim_loc",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_PRIM_HT" : "vt_prim_ht",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_PRIM_DIAM" : "vt_prim_diam",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_PRIM_TYPE_EXTRACT" : "vt_prim_type_extract",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_SECOND_LOC" : "vt_second_loc",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_SECOND_HT" : "vt_second_ht",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_SECOND_DIAM" : "vt_second_diam",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_VENTILATION_FORM_VT_SECOND_TYPE_EXTRACT" : "vt_second_type_extract",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_CHASSE_ACCES" : "da_chasse_acces",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_CHASSE_AUTO" : "da_chasse_auto",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_CHASSE_PR_NAT_EAU" : "da_chasse_pr_nat_eau",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_CHASSE_OK" : "da_chasse_ok",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_CHASSE_DYSFONCTIONNEMENT" : "da_chasse_dysfonctionnement",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_CHASSE_DEGRADATION" : "da_chasse_degradation",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_CHASSE_ENTRETIEN" : "da_chasse_entretien",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_LOC_POMPE" : "da_pr_loc_pompe",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_ACCES" : "da_pr_acces",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_NB_POMPE" : "da_pr_nb_pompe",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_NAT_EAU" : "da_pr_nat_eau",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_OK" : "da_pr_ok",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_CLAPET" : "da_pr_clapet",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_ETANCHE" : "da_pr_etanche",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_BRANCHEMENT" : "da_pr_branchement",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_DYSFONCTIONNEMENT" : "da_pr_dysfonctionnement",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_DEGRADATION" : "da_pr_degradation",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_PR_ENTRETIEN" : "da_pr_entretien",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DISPOSITIF_FORM_DA_COMMENTAIRES" : "da_commentaires",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_AVIS" : "cl_avis",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_CLASSE_CBF" : "cl_classe_cbf",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_COMMENTAIRES" : "cl_commentaires",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_DATE_AVIS" : "cl_date_avis",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_AUTEUR_AVIS" : "cl_auteur_avis",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_DATE_PROCHAIN_CONTROL" : "cl_date_prochain_control",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_MONTANT" : "cl_montant",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_FACTURE" : "cl_facture",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_CONCLUSION_FORM_CL_FACTURE_LE" : "cl_facture_le",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_SUIVI_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_SUIVI_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_SUIVI_FORM_MAJ" : "maj",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_SUIVI_FORM_MAJ_DATE" : "maj_date",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_SUIVI_FORM_CREATE" : "create",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_SUIVI_FORM_CREATE_DATE" : "create_date",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_SUIVI_FORM_CLOTURER" : "cloturer",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DOCUMENTS_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DOCUMENTS_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DOCUMENTS_FORM_PHOTOS_F" : "photos_f",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DOCUMENTS_FORM_FICHE_F" : "fiche_f",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DOCUMENTS_FORM_RAPPORT_F" : "rapport_f",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DOCUMENTS_FORM_SCHEMA_F" : "schema_f",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DOCUMENTS_FORM_DOCUMENTS_F" : "documents_f",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_DOCUMENTS_FORM_PLAN_F" : "plan_f",
"ANC_SAISIE_ANC_PRETRAITEMENT_TITLE" : "",
"ANC_SAISIE_ANC_PRETRAITEMENT_TITLE_INSERT" : "Prétraitement",
"ANC_SAISIE_ANC_PRETRAITEMENT_TITLE_UPDATE" : "Prétraitement n°{{id_pretraitement}}",
"ANC_SAISIE_ANC_PRETRAITEMENT_TITLE_DISPLAY" : "Prétraitement n°{{id_pretraitement}}",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_ID_PRETRAITEMENT" : "id_pretraitement",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_ID_CONTROLE" : "id_controle",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_TYPE" : "ptr_type",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_VOLUME" : "ptr_volume",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_MARQUE" : "ptr_marque",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_MATERIAU" : "ptr_materiau",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_RENFORCE" : "ptr_renforce",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_VERIF_MISE_EN_EAU" : "ptr_verif_mise_en_eau",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_CLOISON" : "ptr_cloison",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_COMMENTAIRE" : "ptr_commentaire",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_IM_DISTANCE" : "ptr_im_distance",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_IM_HYDROM" : "ptr_im_hydrom",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_IM_FIXATION" : "ptr_im_fixation",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_IM_ACCES" : "ptr_im_acces",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_ET_DEGRAD" : "ptr_et_degrad",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_ET_REAL" : "ptr_et_real",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_VI_DATE" : "ptr_vi_date",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_VI_JUSTI" : "ptr_vi_justi",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_VI_ENTR" : "ptr_vi_entr",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_VI_BORD" : "ptr_vi_bord",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_VI_DEST" : "ptr_vi_dest",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PTR_VI_PERC" : "ptr_vi_perc",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_MAJ" : "maj",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_MAJ_DATE" : "maj_date",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_CREATE" : "create",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_CREATE_DATE" : "create_date",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PHOTOS_F" : "photos_f",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_FICHE_F" : "fiche_f",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_SCHEMA_F" : "schema_f",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_DOCUMENTS_F" : "documents_f",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_PLAN_F" : "plan_f",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_ID_INSTALLATION" : "id_installation",
"ANC_SAISIE_ANC_PRETRAITEMENT_FORM_NUM_DOSSIER" : "num_dossier",
"ANC_SAISIE_ANC_EVACUATION_EAUX_TITLE" : "",
"ANC_SAISIE_ANC_EVACUATION_EAUX_TITLE_INSERT" : "Evacuation des eaux",
"ANC_SAISIE_ANC_EVACUATION_EAUX_TITLE_UPDATE" : "Evacuation des eaux n°{{id_eva}}",
"ANC_SAISIE_ANC_EVACUATION_EAUX_TITLE_DISPLAY" : "Evacuation des eaux n°{{id_eva}}",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_ID_EVA" : "id_eva",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_ID_CONTROLE" : "id_controle",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_TYPE" : "evac_type",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_LONG" : "evac_is_long",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_LARG" : "evac_is_larg",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_SURFACE" : "evac_is_surface",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_PROFONDEUR" : "evac_is_profondeur",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_GEOTEX" : "evac_is_geotex",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_RAC" : "evac_is_rac",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_HUM" : "evac_is_hum",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_REG_REP" : "evac_is_reg_rep",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_REB_BCL" : "evac_is_reb_bcl",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_VEG" : "evac_is_veg",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_TYPE_EFFL" : "evac_is_type_effl",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_IS_ACC_REG" : "evac_is_acc_reg",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_RP_ETUDE_HYDROGEOL" : "evac_rp_etude_hydrogeol",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_RP_REJET" : "evac_rp_rejet",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_RP_GRAV" : "evac_rp_grav",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_RP_TAMP" : "evac_rp_tamp",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_RP_TYPE_EFF" : "evac_rp_type_eff",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_RP_TRAP" : "evac_rp_trap",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_HS_TYPE" : "evac_hs_type",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_HS_GESTIONNAIRE" : "evac_hs_gestionnaire",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_HS_GESTIONNAIRE_AUTH" : "evac_hs_gestionnaire_auth",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_EVAC_COMMENTAIRES" : "evac_commentaires",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_MAJ" : "maj",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_MAJ_DATE" : "maj_date",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_CREATE" : "create",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_CREATE_DATE" : "create_date",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_PHOTOS_F" : "photos_f",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_FICHE_F" : "fiche_f",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_SCHEMA_F" : "schema_f",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_DOCUMENTS_F" : "documents_f",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_PLAN_F" : "plan_f",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_ID_INSTALLATION" : "id_installation",
"ANC_SAISIE_ANC_EVACUATION_EAUX_FORM_NUM_DOSSIER" : "num_dossier",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_PRETRAITEMENT_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_PRETRAITEMENT_TITLE_INSERT" : "",
"ANC_SAISIE_ANC_FILIERES_AGREE_TITLE" : "",
"ANC_SAISIE_ANC_FILIERES_AGREE_TITLE_INSERT" : "Filière agréée",
"ANC_SAISIE_ANC_FILIERES_AGREE_TITLE_UPDATE" : "Filière agréée n°{{id_fag}}",
"ANC_SAISIE_ANC_FILIERES_AGREE_TITLE_DISPLAY" : "Filière agréée n°{{id_fag}}",
"GRID_TITLE_ANC_SAISIE_ANC_CONTROLE_CONTROLE_FILIERES_AGREE" : "Liste des filières agréées du contrôle",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_ID_FAG" : "id_fag",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_ID_CONTROLE" : "id_controle",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_TYPE" : "fag_type",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_AGREE" : "fag_agree",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_INTEGERER" : "fag_integerer",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_DENOM" : "fag_denom",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FAB" : "fag_fab",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_NUM_AG" : "fag_num_ag",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_CAP_EH" : "fag_cap_eh",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_NB_CUV" : "fag_nb_cuv",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_GUIDE" : "fag_guide",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_LIVRET" : "fag_livret",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_CONTR" : "fag_contr",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_SOC" : "fag_soc",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_PRES" : "fag_pres",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_PLAN" : "fag_plan",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_TAMP" : "fag_tamp",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_ANCRAGE" : "fag_ancrage",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_REP" : "fag_rep",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_RESPECT" : "fag_respect",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_VENTIL" : "fag_ventil",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_MIL_TYP" : "fag_mil_typ",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_MIL_FILT" : "fag_mil_filt",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_MISE_EAU" : "fag_mise_eau",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_PRES_ALAR" : "fag_pres_alar",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_PRES_REG" : "fag_pres_reg",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_ATT_CONF" : "fag_att_conf",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_SURPR" : "fag_surpr",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_SURPR_REF" : "fag_surpr_ref",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_SURPR_DIST" : "fag_surpr_dist",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_SURPR_ELEC" : "fag_surpr_elec",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_SURPR_AER" : "fag_surpr_aer",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_REAC_BULL" : "fag_reac_bull",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_BROY" : "fag_broy",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_DEC" : "fag_dec",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_TYPE_EAU" : "fag_type_eau",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_REG_MAR" : "fag_reg_mar",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_REG_MAT" : "fag_reg_mat",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_REG_AFFL" : "fag_reg_affl",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_REG_HZ" : "fag_reg_hz",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_REG_VAN" : "fag_reg_van",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FVL_NB" : "fag_fvl_nb",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FVL_LONG" : "fag_fvl_long",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FVL_LARG" : "fag_fvl_larg",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FVL_PROF" : "fag_fvl_prof",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FVL_SEP" : "fag_fvl_sep",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FVL_PLA" : "fag_fvl_pla",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FVL_DRAIN" : "fag_fvl_drain",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FVL_RESP" : "fag_fvl_resp",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FHZ_LONG" : "fag_fhz_long",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FHZ_LARG" : "fag_fhz_larg",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FHZ_PROF" : "fag_fhz_prof",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FHZ_DRAIN" : "fag_fhz_drain",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_FHZ_RESP" : "fag_fhz_resp",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_MAT_QUAL" : "fag_mat_qual",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_MAT_EPA" : "fag_mat_epa",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_PRES_VEG" : "fag_pres_veg",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_PRES_PRO" : "fag_pres_pro",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_ACCES" : "fag_acces",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_ET_DEG" : "fag_et_deg",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_ET_OD" : "fag_et_od",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_ET_DY" : "fag_et_dy",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_EN_DATE" : "fag_en_date",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_EN_JUS" : "fag_en_jus",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_EN_ENTR" : "fag_en_entr",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_EN_BORD" : "fag_en_bord",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_EN_DEST" : "fag_en_dest",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_EN_PERC" : "fag_en_perc",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_EN_CONTR" : "fag_en_contr",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_EN_MAINTEGER" : "fag_en_mainteger",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_DIST_ARB" : "fag_dist_arb",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_DIST_PARC" : "fag_dist_parc",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_DIST_HAB" : "fag_dist_hab",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FAG_DIST_CAP" : "fag_dist_cap",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_MAJ" : "maj",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_MAJ_DATE" : "maj_date",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_CREATE" : "create",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_CREATE_DATE" : "create_date",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_PHOTOS_F" : "photos_f",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_FICHE_F" : "fiche_f",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_SCHEMA_F" : "schema_f",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_DOCUMENTS_F" : "documents_f",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_PLAN_F" : "plan_f",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_ID_INSTALLATION" : "id_installation",
"ANC_SAISIE_ANC_FILIERES_AGREE_FORM_NUM_DOSSIER" : "num_dossier",
"SECTION_INSERT_TITLE_ANC_SAISIE_ANC_INSTALLATION" : "Installation",
"SECTION_INSERT_TITLE_ANC_SAISIE_ANC_CONTROLE" : "Contrôle",
"ANC_SAISIE_ANC_TRAITEMENT_TITLE_INSERT" : "Traitement",
"ANC_SAISIE_ANC_TRAITEMENT_TITLE_UPDATE" : "Traitement n°{{id_traitement}}",
"ANC_SAISIE_ANC_TRAITEMENT_TITLE_DISPLAY" : "Traitement n°{{id_traitement}}",
"SECTION_UPDATE_TITLE_ANC_SAISIE_ANC_INSTALLATION" : "Installation n°{{sId}}",
"SECTION_DISPLAY_TITLE_ANC_SAISIE_ANC_INSTALLATION" : "Installation n°{{sId}}",
"SECTION_UPDATE_TITLE_ANC_SAISIE_ANC_CONTROLE" : "Contrôle n°{{sId}}",
"SECTION_DISPLAY_TITLE_ANC_SAISIE_ANC_CONTROLE" : "Contrôle n°{{sId}}",
"GRID_TITLE_ANC_SAISIE_ANC_CONTROLE_CONTROLE_PRETRAITEMENT" : "Liste des prétraitements du contrôle",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_PRETRAITEMENT_TITLE_INSERT" : "Prétraitement",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_PRETRAITEMENT_TITLE_UPDATE" : "Prétraitement n°{{sId}}",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_PRETRAITEMENT_TITLE_DISPLAY" : "Prétraitement n°{{sId}}",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_SCHEMA_TITLE" : "",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_RAPPORT_TITLE" : "Rapports",
"GRID_TITLE_ANC_SAISIE_ANC_CONTROLE_CONTROLE_TRAITEMENT" : "Liste des traitements du contrôle",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TRAITEMENT_TITLE_INSERT" : "Traitement",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TRAITEMENT_TITLE_UPDATE" : "Traitement n°{{sId}}",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_TRAITEMENT_TITLE_DISPLAY" : "Traitement n°{{sId}}",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_FILIERES_AGREE_TITLE_INSERT" : "Filière agréée",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_FILIERES_AGREE_TITLE_UPDATE" : "Filière agréée n°{{sId}}",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_FILIERES_AGREE_TITLE_DISPLAY" : "Filière agréée n°{{sId}}",
"GRID_TITLE_ANC_SAISIE_ANC_CONTROLE_CONTROLE_EVACUATION_EAUX" : "Liste des évacuations des eaux du contrôle",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_EVACUATION_EAUX_TITLE_INSERT" : "Evacuation des eaux",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_EVACUATION_EAUX_TITLE_UPDATE" : "Evacuation des eaux n°{{sId}}",
"ANC_SAISIE_ANC_CONTROLE_CONTROLE_EVACUATION_EAUX_TITLE_DISPLAY" : "Evacuation des eaux n°{{sId}}"
}
ul.anc_saisie_controle_rapports_list {
float: left;
min-width: 50%;
padding: 5px 0;
margin: 2px 0 0;
font-size: 14px;
text-align: left;
list-style: none;
background-color: #fff;
-webkit-background-clip: padding-box;
background-clip: padding-box;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 4px;
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}
ul.anc_saisie_controle_rapports_list > li > a {
display: block;
padding: 3px 20px;
clear: both;
font-weight: 400;
line-height: 1.42857143;
color: #333;
white-space: nowrap;
}
// Bouton "supprimer les installations".
button[name="anc_saisie_anc_installation_deleteFlexigrid"] {
color: #fff;
background-color: #d9534f;
border-color: #d43f3a;
}
// Bouton "Ajouter une installation".
button[name="anc_saisie_anc_installation_add_smallFlexigrid"] {
color: #fff;
background-color: #5cb85c;
border-color: #4cae4c;
margin-right: 100px;
}
\ No newline at end of file
// LESS
@ui-grid-bg-image: "../images/ui-grid/wbg.gif";
@font-color-purple: #6d1a67;
@test-color: black;
@import 'installation.less';
@import 'controle.less';
<?php
$properties["schema_anc"] = 's_anc';
$properties["anc"]["files_container"] = 'anc';
$properties["anc"]["cont_zone_urba"]["intersect"]["schema"] = '';
$properties["anc"]["cont_zone_urba"]["intersect"]["table"] = '';
$properties["anc"]["cont_zone_urba"]["intersect"]["column"] = '';
$properties["anc"]["cont_zone_urba"]["intersect"]["column_geom"] = '';
$properties["anc"]["code_postal"]["schema"] = '';
$properties["anc"]["code_postal"]["table"] = '';
$properties["anc"]["code_postal"]["column"] = '';
$properties["anc"]["controle"]["business_object_id"] = '';
$properties["anc"]["controle"]["map_id"] = false;
$properties["anc"]["controle"]["zoom_on_parcelle"] = true;
$properties["anc"]["installation"]["map_id"] = false;
$properties["anc"]["installation"]["zoom_on_parcelle"] = true;
?>
<?php
$aAdminFields = Array(
'schema_anc',
'anc.*'
);
$aUserFields = Array(
'schema_anc',
'anc.*'
);
$properties['aAdminFields'] = array_merge($properties['aAdminFields'], $aAdminFields);
$properties['aUserFields'] = array_merge($properties['aUserFields'], $aUserFields);
?>
\ No newline at end of file
<?php
// Numéro de la version de cadastre
define ("VM_VERSION", "[VERSION]");
define ("VM_BUILD", "[BUILD]");
define ("VM_MONTH_YEAR", "[MONTH_YEAR]");
define ("VM_STATUS", "UNSTABLE");
?>
\ No newline at end of file
Source diff could not be displayed: it is too large. Options to address this: view the blob.
<?php
require_once dirname($_SERVER['SCRIPT_FILENAME']) . "/class/vitis_lib/DbClass.class.inc";
require_once dirname($_SERVER['SCRIPT_FILENAME']) . '/ws/vitis/Vitis.class.inc';
require_once 'vmlib/logUtil.inc';
class Anc extends Vitis {
//Chemin du fichier de ressources contenant les requêtes SQL
var $sRessourcesFile = 'ws/anc/Anc.class.sql.inc';
/**
* DEPRECATED
* Upload un document dans le ws_data du module Anc.
* @param type $sIndex
* @param type $sFolder
*/
function uploadDocument($sIndex, $sFolder) {
// Crée le répertoire si inexistant.
$sDirPath = $this->aProperties['ws_data_dir'] . '/anc/' . $sFolder . '/documents/' . $this->aValues["my_vitis_id"] . '/' . $sIndex . '/';
if (!is_dir($sDirPath))
mkdir($sDirPath, 0777, true);
// Ecrit le fichier.
if (!empty($_FILES[$sIndex])) {
$sErrorMessage = uploadFile($sIndex, "", $sDirPath . $_FILES[$sIndex]["name"], $_FILES[$sIndex]['size'] + 1);
if ($sErrorMessage != "")
writeToErrorLog($sErrorMessage);
}
else {
$sfileContentIndex = $sIndex . '_file';
$sfileNameIndex = $sIndex . '_name';
if (!empty($this->aValues[$sfileContentIndex])) {
$this->aValues[$sIndex] = $this->aValues[$sfileNameIndex];
$fp = fopen($sDirPath . $this->aValues[$sfileNameIndex], "w");
fwrite($fp, $this->aValues[$sfileContentIndex]);
fclose($fp);
}
}
}
}
?>
<?php
//Définition des requêtes de l'api Vitis
$aSql['checkIP'] = "SELECT user_id, ip_constraint FROM [sSchemaFramework].user WHERE login ='[sLogin]'";
$aSql['getGroups'] = "SELECT group_id FROM [sSchemaFramework].user_group WHERE user_id = [user_id]";
$aSql['loginUnique'] = 'SELECT UPPER("login") FROM [sSchemaFramework]."user" WHERE UPPER("login")=UPPER(\'sLoginUser\')';
$aSql['getLoginbyId'] = 'SELECT "login" FROM [sSchemaFramework]."user" WHERE user_id=[user_id]';
$aSql['getTableColumn'] = 'SELECT column_name FROM INFORMATION_SCHEMA.COLUMNS WHERE table_schema = \'[sSchemaFramework]\' and table_name= \'[sTable]\'';
$aSql['getUserPrivileges'] = 'SELECT groname FROM pg_user s LEFT OUTER JOIN pg_group g on (s.usesysid = any(g.grolist) )inner join [sSchemaFramework].user on "user".login = usename WHERE user_id = [user_id]';
$aSql['listDomain'] = 'SELECT distinct domain, alias FROM [sSchemaFramework].domain WHERE "type" = \'AD\'';
$aSql['createRolname'] = 'CREATE ROLE "vitis_[sDomain]" NOSUPERUSER INHERIT NOCREATEDB CREATEROLE;';
$aSql['getInfoRolname'] = 'SELECT * FROM pg_catalog.pg_roles WHERE rolname = \'vitis_[sDomain]\'';
// Installations
$aSql['getInstallationControls'] = "SELECT id_controle FROM [sSchemaAnc].v_controle WHERE id_installation IN([idList]) LIMIT 1";
$aSql['getContZoneUrbaIntersect'] = "SELECT [sColumn]::text FROM [sSchema].[sTable] WHERE ST_INTERSECTS([sTable].[sColumnGeom], [geom])";
// Suppressions des sous-objets
$aSql['getControleEvacuationEaux'] = "SELECT id_eva FROM [sSchemaAnc].v_evacuation_eaux WHERE id_controle IN([idList])";
$aSql['getControleFilieresAgrees'] = "SELECT id_fag FROM [sSchemaAnc].v_filieres_agrees WHERE id_controle IN([idList])";
$aSql['getControlePretraitements'] = "SELECT id_pretraitement FROM [sSchemaAnc].v_pretraitement WHERE id_controle IN([idList])";
$aSql['getControleTraitements'] = "SELECT id_traitement FROM [sSchemaAnc].v_traitement WHERE id_controle IN([idList])";
$aSql['getControleComposants'] = "SELECT id_composant FROM [sSchemaAnc].v_composant WHERE id_controle IN([idList])";
?>
\ No newline at end of file
<?php
require_once __DIR__ . '/Anc.class.inc';
require_once dirname($_SERVER['SCRIPT_FILENAME']) . '/class/vitis_lib/Connection.class.inc';
/**
* \file Composant.class.inc
* \class Composant
*
* \author Armand Bahi <armand.bahi@veremes.com>.
*
* \brief This file contains the Composant php class
*
* This class defines operation for one Composant
*
*/
class Composant extends Anc {
public $oError;
/**
* construct
* @param type $aPath url of the request
* @param type $aValues parameters of the request
* @param type $properties properties
* @param type $oConnection connection object
*/
function __construct($aPath, $aValues, $properties) {
$this->aValues = $aValues;
$this->aPath = $aPath;
$this->aProperties = $properties;
$this->oConnection = new Connection($this->aValues, $this->aProperties);
}
/**
* @SWG\Get(path="/composants/{id_composant}",
* tags={"Composants"},
* summary="Get Composant",
* description="Request to get Composant by id",
* operationId="GET",
* produces={"application/xml", "application/json"},
* @SWG\Parameter(
* name="token",
* in="query",
* description="user token",
* required=true,
* type="string"
* ),
* @SWG\Parameter(
* name="id_composant",
* in="path",
* description="id_composant",
* required=true,
* type="integer",
* format="int32"
* ),
* @SWG\Parameter(
* name="attributs",
* in="query",
* description="list of attributs",
* required=false,
* type="string"
* ),
* @SWG\Response(
* response=200,
* description="Composant Response",
* @SWG\Schema(ref="#/definitions/composants")
* )
* )
*/
/**
* get informations about mode
*/
function GET() {
$this->aFields = $this->getFields($this->aProperties['schema_anc'], "v_composant", "id_composant");
}
/**
* delete a Point_situation
*/
function DELETE() {
$this->oConnection->oBd->delete($this->aProperties['schema_anc'], 'v_composant', 'id_composant', $this->aValues["my_vitis_id"], 'integer');
if ($this->oConnection->oBd->enErreur()) {
$this->oError = new VitisError(1, $this->oConnection->oBd->getBDMessage());
} else {
$this->aFields["id_composant"] = $this->aValues["my_vitis_id"];
}
}
}
?>
\ No newline at end of file
<?php
require_once __DIR__ . '/Anc.class.inc';
require_once dirname($_SERVER['SCRIPT_FILENAME']) . '/class/vitis_lib/Connection.class.inc';
/**
* \file ComposantTypeFeatureStyle.class.inc
* \class ComposantTypeFeatureStyle
*
* \author Armand Bahi <armand.bahi@veremes.com>.
*
* \brief This file contains the ComposantTypeFeatureStyle php class
*
* This class defines operation for one ComposantTypeFeatureStyle
*
*/
class ComposantTypeFeatureStyle extends Anc {
public $oError;
/**
* construct
* @param type $aPath url of the request
* @param type $aValues parameters of the request
* @param type $properties properties
* @param type $oConnection connection object
*/
function __construct($aPath, $aValues, $properties) {
$this->aValues = $aValues;
$this->aPath = $aPath;
$this->aProperties = $properties;
$this->oConnection = new Connection($this->aValues, $this->aProperties);
}
/**
* @SWG\Get(path="/composanttypefeaturestyles/{composant_type}",
* tags={"ComposantTypeFeatureStyles"},
* summary="Get ComposantTypeFeatureStyle",
* description="Request to get ComposantTypeFeatureStyle by id",
* operationId="GET",
* produces={"application/xml", "application/json"},
* @SWG\Parameter(
* name="token",
* in="query",
* description="user token",
* required=true,
* type="string"
* ),
* @SWG\Parameter(
* name="composant_type",
* in="path",
* description="composant_type",
* required=true,
* type="integer",
* format="int32"
* ),
* @SWG\Parameter(
* name="attributs",
* in="query",
* description="list of attributs",
* required=false,
* type="string"
* ),
* @SWG\Response(
* response=200,
* description="ComposantTypeFeatureStyle Response",
* @SWG\Schema(ref="#/definitions/composanttypefeaturestyles")
* )
* )
*/
/**
* get informations about mode
*/
function GET() {
$this->aFields = $this->getFields($this->aProperties['schema_anc'], "v_composant_type_feature_style", "composant_type");
}
/**
* delete a Point_situation
*/
function DELETE() {
$this->oConnection->oBd->delete($this->aProperties['schema_anc'], 'v_composant_type_feature_style', 'composant_type', $this->aValues["my_vitis_id"], 'integer');
if ($this->oConnection->oBd->enErreur()) {
$this->oError = new VitisError(1, $this->oConnection->oBd->getBDMessage());
} else {
$this->aFields["composant_type"] = $this->aValues["my_vitis_id"];
}
}
}
?>
\ No newline at end of file
<?php
/**
* \file ComposantTypeFeatureStyles.class.inc
* \class ComposantTypeFeatureStyles
*
* \author Armand Bahi <armand.bahi@veremes.com>.
*
* \brief This file contains the ComposantTypeFeatureStyles php class
*
* This class defines Rest Api to Vitis ComposantTypeFeatureStyles
*
*/
require_once __DIR__ . '/Anc.class.inc';
require_once 'ComposantTypeFeatureStyle.class.inc';
class ComposantTypeFeatureStyles extends Anc {
/**
* @SWG\Definition(
* definition="/composanttypefeaturestyles",
* allOf={
* @SWG\Schema(ref="#/definitions/composanttypefeaturestyles")
* }
* )
* * @SWG\Tag(
* name="ComposantTypeFeatureStyles",
* description="Operations about ComposantTypeFeatureStyles"
* )
*/
/**
* construct
* @param type $aPath url of the request
* @param type $aValues parameters of the request
* @param type $properties properties
*/
function __construct($aPath, $aValues, $properties) {
$this->aValues = $aValues;
$this->aPath = $aPath;
$this->aProperties = $properties;
$this->oConnection = new Connection($this->aValues, $this->aProperties);
}
/**
* @SWG\Get(path="/composanttypefeaturestyles",
* tags={"ComposantTypeFeatureStyles"},
* summary="Get ComposantTypeFeatureStyles",
* description="Request to get ComposantTypeFeatureStyles",
* operationId="GET",
* produces={"application/xml", "application/json", "application/x-vm-json"},
* @SWG\Parameter(
* name="token",
* in="query",
* description="user token",
* required=true,
* type="string"
* ),
* @SWG\Parameter(
* name="order_by",
* in="query",
* description="list of ordering fields",
* required=false,
* type="string"
* ),
* @SWG\Parameter(
* name="sort_order",
* in="query",
* description="sort_order",
* required=false,
* type="string"
* ),
* @SWG\Parameter(
* name="limit",
* in="query",
* description="number of element",
* required=false,
* type="integer",
* format="int32"
* ),
* @SWG\Parameter(
* name="offset",
* in="query",
* description="index of first element",
* required=false,
* type="string",
* format="int32"
* ),
* @SWG\Parameter(
* name="attributs",
* in="query",
* description="list of attributs",
* required=false,
* type="string"
* ),
* @SWG\Parameter(
* name="filter",
* in="query",
* description="filter results",
* required=false,
* type="string"
* ),
* @SWG\Parameter(
* name="distinct",
* in="query",
* description="delete duplicates",
* required=false,
* type="boolean"
* ),
* @SWG\Response(
* response=200,
* description="ComposantTypeFeatureStyle Response",
* @SWG\Schema(ref="#/definitions/composanttypefeaturestyles")
* )
* )
*/
/**
* get ComposantTypeFeatureStyles
* @return ComposantTypeFeatureStyles
*/
function GET() {
$aReturn = $this->genericGet($this->aProperties['schema_anc'], "v_composant_type_feature_style", "composant_type");
$sMessage = $aReturn['sMessage'];
return $sMessage;
}
/**
* @SWG\Post(path="/composanttypefeaturestyles",
* tags={"ComposantTypeFeatureStyles"},
* summary="Add composant",
* description="Request to add ComposantTypeFeatureStyles",
* operationId="POST",
* produces={"application/xml", "application/json"},
* @SWG\Parameter(
* name="token",
* in="query",
* description="user token",
* required=true,
* type="string"
* ),
* @SWG\Response(
* response=200,
* description="composant Response",
* @SWG\Schema(ref="#/definitions/composanttypefeaturestyles")
* )
* )
*/
/**
* insert ComposantTypeFeatureStyle
* @return id of the ComposantTypeFeatureStyle created
*/
function POST() {
$aReturn = $this->genericPost($this->aProperties['schema_anc'], 'v_composant_type_feature_style', null, 'composant_type');
return $aReturn['sMessage'];
}
/**
* @SWG\Put(path="/composanttypefeaturestyles/{composant_type}",
* tags={"ComposantTypeFeatureStyles"},
* summary="update ComposantTypeFeatureStyles",
* description="Request to update ComposantTypeFeatureStyles",
* operationId="PUT",
* produces={"application/xml", "application/json"},
* @SWG\Parameter(
* name="token",
* in="query",
* description="ComposantTypeFeatureStyle token",
* required=true,
* type="string"
* ),
* * @SWG\Parameter(
* name="composant_type",
* in="path",
* description="id of the ComposantTypeFeatureStyles",
* required=true,
* type="integer",
* format = "int32"
* ),
* @SWG\Response(
* response=200,
* description="Poprerties Response",
* @SWG\Schema(ref="#/definitions/composanttypefeaturestyles")
* )
* )
*/
/**
* update composanttypefeaturestyles
* @return id of composanttypefeaturestyles updated or error object if a composanttypefeaturestyles is not updated
*/
function PUT() {
$aReturn = $this->genericPut($this->aProperties['schema_anc'], 'v_composant_type_feature_style', 'composant_type');
return $aReturn['sMessage'];
}
/**
* @SWG\Delete(path="/composanttypefeaturestyles",
* tags={"ComposantTypeFeatureStyles"},
* summary="delete ComposantTypeFeatureStyles",
* description="Request to delete ComposantTypeFeatureStyles",
* operationId="DELETE",
* produces={"application/xml", "application/json"},
* @SWG\Parameter(
* name="token",
* in="query",
* description="token",
* required=true,
* type="string"
* ),
* * @SWG\Parameter(
* name="idList",
* in="query",
* description="id of the composant",
* required=true,
* type="string"
* ),
* @SWG\Response(
* response=200,
* description="composant Response",
* @SWG\Schema(ref="#/definitions/composanttypefeaturestyles")
* )
* )
*/
/**
* @SWG\Delete(path="/composanttypefeaturestyles/{composant_type}",
* tags={"ComposantTypeFeatureStyles"},
* summary="delete ComposantTypeFeatureStyles",
* description="Request to delete ComposantTypeFeatureStyles",
* operationId="DELETE",
* produces={"application/xml", "application/json"},
* @SWG\Parameter(
* name="token",
* in="query",
* description="ComposantTypeFeatureStyle token",
* required=true,
* type="string"
* ),
* * @SWG\Parameter(
* name="composant_type",
* in="path",
* description="id of the ComposantTypeFeatureStyles",
* required=true,
* type="integer",
* format = "int32"
* ),
* @SWG\Response(
* response=200,
* description="Poprerties Response",
* @SWG\Schema(ref="#/definitions/composanttypefeaturestyles")
* )
* )
*/
/**
* delete composanttypefeaturestyles
* @return id of composanttypefeaturestyles deleted or error object if a composanttypefeaturestyles is not deleted
*/
function DELETE() {
$aReturn = $this->genericDelete($this->aProperties['schema_anc'], 'v_composant_type_feature_style', 'composant_type');
return $aReturn['sMessage'];
}
}
?>
\ No newline at end of file
<?php
/**
* \file Composants.class.inc
* \class Composants
*
* \author Armand Bahi <armand.bahi@veremes.com>.
*
* \brief This file contains the Composants php class
*
* This class defines Rest Api to Vitis Composants
*
*/
require_once __DIR__ . '/Anc.class.inc';
require_once 'Composant.class.inc';
class Composants extends Anc {
/**
* @SWG\Definition(
* definition="/composants",
* allOf={
* @SWG\Schema(ref="#/definitions/composants")
* }
* )
* * @SWG\Tag(
* name="Composants",
* description="Operations about Composants"
* )
*/
/**
* construct
* @param type $aPath url of the request
* @param type $aValues parameters of the request
* @param type $properties properties
*/
function __construct($aPath, $aValues, $properties) {
$this->aValues = $aValues;
$this->aPath = $aPath;
$this->aProperties = $properties;
$this->oConnection = new Connection($this->aValues, $this->aProperties);
$this->aSelectedFields = Array( "id_installation", "id_controle", "id_composant", "composant_type", "label", "observations", "size", "rotation", "feature_style_id", "draw_color", "draw_outline_color", "draw_size", "draw_dash", "draw_symbol", "draw_rotation", "image", "text_font", "text_color", "text_outline_color", "text_size", "text_outline_size", "text_offset_x", "text_offset_y", "text_rotation", "text_text", "ST_AsGeoJSON(ST_Transform(geom, 4326)) as geom");
}
/**
* @SWG\Get(path="/composants",
* tags={"Composants"},
* summary="Get Composants",
* description="Request to get Composants",
* operationId="GET",
* produces={"application/xml", "application/json", "application/x-vm-json"},
* @SWG\Parameter(
* name="token",
* in="query",
* description="user token",
* required=true,
* type="string"
* ),
* @SWG\Parameter(
* name="order_by",
* in="query",
* description="list of ordering fields",
* required=false,
* type="string"
* ),
* @SWG\Parameter(
* name="sort_order",
* in="query",
* description="sort_order",
* required=false,
* type="string"
* ),
* @SWG\Parameter(
* name="limit",
* in="query",
* description="number of element",
* required=false,
* type="integer",
* format="int32"
* ),
* @SWG\Parameter(
* name="offset",
* in="query",
* description="index of first element",
* required=false,
* type="string",
* format="int32"
* ),
* @SWG\Parameter(
* name="attributs",
* in="query",
* description="list of attributs",
* required=false,
* type="string"
* ),
* @SWG\Parameter(
* name="filter",
* in="query",
* description="filter results",
* required=false,
* type="string"
* ),
* @SWG\Parameter(
* name="distinct",
* in="query",
* description="delete duplicates",
* required=false,
* type="boolean"
* ),
* @SWG\Response(
* response=200,
* description="composant Response",
* @SWG\Schema(ref="#/definitions/composants")
* )
* )
*/
/**
* get Composants
* @return Composants
*/
function GET() {
$aReturn = $this->genericGet($this->aProperties['schema_anc'], "v_composant", "id_composant");
$sMessage = $aReturn['sMessage'];
return $sMessage;
}
/**
* @SWG\Post(path="/composants",
* tags={"Composants"},
* summary="Add composant",
* description="Request to add Composants",
* operationId="POST",
* produces={"application/xml", "application/json"},
* @SWG\Parameter(
* name="token",
* in="query",
* description="user token",
* required=true,
* type="string"
* ),
* @SWG\Response(
* response=200,
* description="composant Response",
* @SWG\Schema(ref="#/definitions/composants")
* )
* )
*/
/**
* insert composant
* @return id of the composant created
*/
function POST() {
$aReturn = $this->genericPost($this->aProperties['schema_anc'], 'v_composant', null, 'id_composant');
return $aReturn['sMessage'];
}
/**
* @SWG\Put(path="/composants/{id_composant}",
* tags={"Composants"},
* summary="update Composants",
* description="Request to update Composants",
* operationId="PUT",
* produces={"application/xml", "application/json"},
* @SWG\Parameter(
* name="token",
* in="query",
* description="Composant token",
* required=true,
* type="string"
* ),
* * @SWG\Parameter(
* name="id_composant",
* in="path",
* description="id of the Composants",
* required=true,
* type="integer",
* format = "int32"
* ),
* @SWG\Response(
* response=200,
* description="Poprerties Response",
* @SWG\Schema(ref="#/definitions/composants")
* )
* )
*/
/**
* update composants
* @return id of composants updated or error object if a composants is not updated
*/
function PUT() {
$aReturn = $this->genericPut($this->aProperties['schema_anc'], 'v_composant', 'id_composant');
return $aReturn['sMessage'];
}
/**
* @SWG\Delete(path="/composants",
* tags={"Composants"},
* summary="delete Composants",
* description="Request to delete Composants",
* operationId="DELETE",
* produces={"application/xml", "application/json"},
* @SWG\Parameter(
* name="token",
* in="query",
* description="token",
* required=true,
* type="string"
* ),
* * @SWG\Parameter(
* name="idList",
* in="query",
* description="id of the composant",
* required=true,
* type="string"
* ),
* @SWG\Response(
* response=200,
* description="composant Response",
* @SWG\Schema(ref="#/definitions/composants")
* )
* )
*/
/**
* @SWG\Delete(path="/composants/{id_composant}",
* tags={"Composants"},
* summary="delete Composants",
* description="Request to delete Composants",
* operationId="DELETE",
* produces={"application/xml", "application/json"},
* @SWG\Parameter(
* name="token",
* in="query",
* description="Composant token",
* required=true,
* type="string"
* ),
* * @SWG\Parameter(
* name="id_composant",
* in="path",
* description="id of the Composants",
* required=true,
* type="integer",
* format = "int32"
* ),
* @SWG\Response(
* response=200,
* description="Poprerties Response",
* @SWG\Schema(ref="#/definitions/composants")
* )
* )
*/
/**
* delete composants
* @return id of composants deleted or error object if a composants is not deleted
*/
function DELETE() {
$aReturn = $this->genericDelete($this->aProperties['schema_anc'], 'v_composant', 'id_composant');
return $aReturn['sMessage'];
}
}
?>
\ No newline at end of file
<?php
require_once __DIR__ . '/Anc.class.inc';
require_once __DIR__ . '/Composants.class.inc';
require_once __DIR__ . '/ComposantTypeFeatureStyles.class.inc';
require_once dirname($_SERVER['SCRIPT_FILENAME']) . '/class/vitis_lib/Connection.class.inc';
/**
* \file Controle.class.inc
* \class Controle
*
* \author WAB <support.wab@veremes.com>.
*
* \brief This file contains the Controle php class
*
* This class defines operation for one Controle
*
*/
class Controle extends Anc {
public $oError;
/**
* construct
* @param type $aPath url of the request
* @param type $aValues parameters of the request
* @param type $properties properties
* @param type $oConnection connection object
*/
function __construct($aPath, $aValues, $properties) {
$this->aValues = $aValues;
$this->aPath = $aPath;
$this->aProperties = $properties;
$this->oConnection = new Connection($this->aValues, $this->aProperties);
$this->oFilesManager = new Files_manager($this->aProperties);
}
/**
* @SWG\Get(path="/controles/{id_controle}",
* tags={"Controles"},
* summary="Get Controle",
* description="Request to get Controle by id",
* operationId="GET",
* produces={"application/xml", "application/json"},
* @SWG\Parameter(
* name="token",
* in="query",
* description="user token",
* required=true,
* type="string"
* ),
* @SWG\Parameter(
* name="id_controle",
* in="path",
* description="id_controle",
* required=true,
* type="integer",
* format="int32"
* ),
* @SWG\Parameter(
* name="attributs",
* in="query",
* description="list of attributs",
* required=false,
* type="string"
* ),
* @SWG\Response(
* response=200,
* description="Controle Response",
* @SWG\Schema(ref="#/definitions/controles")
* )
* )
*/
/**
* get informations about mode
*/
function GET() {
$this->aFields = $this->getFields($this->aProperties['schema_anc'], 'v_controle', 'id_controle', 'anc_saisie_anc_controle', $this->aProperties['anc']['files_container']);
// Champ sur lequel sera fait le typage pour changer les styles etc..
$this->sTyleField = 'composant_type';
// custom_form du controle pour map_workbench
$this->getCustomFormInfos();
// Composants du controle
$this->getComposants();
}
/**
* Récupère au format GeoJSON les composants à afficher
*/
function getComposants() {
$aPath = array('anc', 'composants');
$aValues = $this->aValues;
unset($aValues['my_vitis_id']);
unset($aValues['attributs']);
//$aValues['attributs'] = 'composant_type|label|observations||geom';
$aValues['filter'] = '{"column":"id_controle","compare_operator":"=","value":"' . $this->aFields['id_controle'] . '"}';
$oComposants = new Composants($aPath, $aValues, $this->aProperties, $this->oConnection);
$oComposants->GET();
$aComposants = array();
if (!empty($oComposants->aObjects)) {
for ($i = 0; $i < count($oComposants->aObjects); $i++) {
if (!empty($oComposants->aObjects[$i]->aFields)) {
array_push($aComposants, $oComposants->aObjects[$i]->aFields);
}
}
}
$aFeatures = array();
for ($i = 0; $i < count($aComposants); $i++) {
if (!empty($aComposants[$i]['geom'])) {
$aGeom = json_decode($aComposants[$i]['geom'], true);
$aAttributes = $aComposants[$i];
unset($aAttributes['geom']);
$aTmpFeature = array(
'type' => 'Feature',
'geometry' => $aGeom,
'properties' => array(
'style' => $this->getGeoJSONStyle($aAttributes),
'attributes' => $aAttributes
)
);
array_push($aFeatures, $aTmpFeature);
}
}
if (!empty($aFeatures)) {
$this->aFields['composants'] = json_encode(array(
'type' => 'FeatureCollection',
'features' => $aFeatures
));
}
}
/**
* Récupère les informations à merger dans le custom_form
*/
function getCustomFormInfos() {
$aPath = array('anc', 'composanttypefeaturestyles');
$aValues = $this->aValues;
unset($aValues['my_vitis_id']);
unset($aValues['filter']);
unset($aValues['attributs']);
$oComposantTypeFeatureStyles = new ComposantTypeFeatureStyles($aPath, $aValues, $this->aProperties, $this->oConnection);
$oComposantTypeFeatureStyles->GET();
if (!empty($oComposantTypeFeatureStyles->aObjects)) {
$this->aFields['custom_form'] = array(
'featureStructure' => array(
'field' => $this->sTyleField,
'types' => array()
)
);
for ($i = 0; $i < count($oComposantTypeFeatureStyles->aObjects); $i++) {
if (!empty($oComposantTypeFeatureStyles->aObjects[$i]->aFields)) {
$aStyle = $oComposantTypeFeatureStyles->aObjects[$i]->aFields;
if (!empty($aStyle[$this->sTyleField])) {
$this->aFields['custom_form']['featureStructure']['types'][$aStyle[$this->sTyleField]] = array(
'style' => $this->getGeoJSONStyle($aStyle),
'geometryType' => $aStyle['feature_type']
);
}
}
}
}
}
/**
* Returns a GeoJSON format style from an array format style
* @param array $aStyle
* @return array
*/
function getGeoJSONStyle($aStyle) {
$aGeoJSONStyle = array(
'draw' => array(),
'text' => array()
);
// Draw
if (!empty($aStyle['draw_color'])) {
$aGeoJSONStyle['draw']['color'] = $aStyle['draw_color'];
}
if (!empty($aStyle['draw_outline_color'])) {
$aGeoJSONStyle['draw']['outline_color'] = $aStyle['draw_outline_color'];
}
if (!empty($aStyle['draw_size'])) {
$aGeoJSONStyle['draw']['size'] = $aStyle['draw_size'];
}
if (!empty($aStyle['draw_dash'])) {
$aGeoJSONStyle['draw']['dash'] = $aStyle['draw_dash'];
}
if (!empty($aStyle['draw_symbol'])) {
$aGeoJSONStyle['draw']['symbol'] = $aStyle['draw_symbol'];
}
if (!empty($aStyle['draw_rotation'])) {
$aGeoJSONStyle['draw']['rotation'] = $aStyle['draw_rotation'];
}
if (!empty($aStyle['image'])) {
$aGeoJSONStyle['draw']['image'] = $aStyle['image'];
}
// Text
if (!empty($aStyle['text_font'])) {
$aGeoJSONStyle['text']['font'] = $aStyle['text_font'];
}
if (!empty($aStyle['text_color'])) {
$aGeoJSONStyle['text']['color'] = $aStyle['text_color'];
}
if (!empty($aStyle['text_outline_color'])) {
$aGeoJSONStyle['text']['outline_color'] = $aStyle['text_outline_color'];
}
if (!empty($aStyle['text_size'])) {
$aGeoJSONStyle['text']['size'] = $aStyle['text_size'];
}
if (!empty($aStyle['text_outline_size'])) {
$aGeoJSONStyle['text']['outline_size'] = $aStyle['text_outline_size'];
}
if (!empty($aStyle['text_offset_x'])) {
$aGeoJSONStyle['text']['offsetX'] = $aStyle['text_offset_x'];
}
if (!empty($aStyle['text_offset_y'])) {
$aGeoJSONStyle['text']['offsetY'] = $aStyle['text_offset_y'];
}
if (!empty($aStyle['text_rotation'])) {
$aGeoJSONStyle['text']['rotation'] = $aStyle['text_rotation'];
}
if (!empty($aStyle['text_text'])) {
$aGeoJSONStyle['text']['text'] = $aStyle['text_text'];
}
// Vide draw ou text si ils sont vides
if (empty($aGeoJSONStyle['draw'])) {
unset($aGeoJSONStyle['draw']);
}
if (empty($aGeoJSONStyle['text'])) {
unset($aGeoJSONStyle['text']);
}
return $aGeoJSONStyle;
}
/**
* delete a Point_situation
*/
function DELETE() {
$this->oConnection->oBd->delete($this->aProperties['schema_anc'], 'v_controle', 'id_controle', $this->aValues["my_vitis_id"], 'integer');
if ($this->oConnection->oBd->enErreur()) {
$this->oError = new VitisError(1, $this->oConnection->oBd->getBDMessage());
} else {
$this->aFields["id_controle"] = $this->aValues["my_vitis_id"];
}
}
}
?>