Commit f96096b3 authored by Justine FERRON's avatar Justine FERRON
Browse files

correction reference cadastrale

parent 68d7a86c
......@@ -80,7 +80,7 @@ export class ExportFoncierModalComponent implements OnInit, OnDestroy {
this.exportForm.get('identifiant').setValue(this.lastFeatureAdded.properties.gid);
this.exportForm.get('nom').setValue(this.lastFeatureAdded.properties.nom);
this.exportForm.get('prenom').setValue(this.lastFeatureAdded.properties.prenom);
this.exportForm.get('ref').setValue(this.lastFeatureAdded.properties.ref_cadast);
this.exportForm.get('ref').setValue(this.lastFeatureAdded.properties.ref_cadastrale);
this.exportForm.get('commentaire').setValue(this.lastFeatureAdded.properties.commentaire);
// Ajout d'un layer avec la feature
......@@ -237,7 +237,7 @@ export class ExportFoncierModalComponent implements OnInit, OnDestroy {
identifiant: this.exportForm.get('identifiant').value,
nom: this.exportForm.get('nom').value,
prenom: this.exportForm.get('prenom').value,
refcadast: this.lastFeatureAdded.properties.ref_cadast,
refcadast: this.exportForm.get('ref').value,
coord: coords[0],
surface: this.exportForm.get('surface').value ? this.exportForm.get('surface').value : 20,
title: this.exportForm.get('titre').value,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment