Skip to content

Commit

Permalink
Merge pull request #716 from rufener/bugfix
Browse files Browse the repository at this point in the history
Bugfix
  • Loading branch information
rufener authored Feb 8, 2023
2 parents 54d21cc + 4b4bdd4 commit 12e7292
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion front/src/components/Affaires/AffairesDashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default {
editEmolumentIndiceApplication: false,
editEmolumentTva: false,
editEmolumentFreeze: false,
loadNumerosFromExcel_remaniementParcellaire: false,
showRemaniementParcellaireLoadingBtn: false,
showEmolumentRepartition_saveToFactures_btn: false,
},
showConfirmAbandonAffaireDialog: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ export default {
this.typesAffaires_conf.modification_mutation,
this.typesAffaires_conf.modification_visa,
this.typesAffaires_conf.modification_duplicata,
this.typesAffaires_conf.modification_retour_etat_juridique
this.typesAffaires_conf.modification_retour_etat_juridique,
this.typesAffaires_conf.remaniement_parcellaire
].includes(this.affaire.type_id)) {
data = data.filter(x => x.affaire_numero_type_id !== num_type.ancien_id);
}
Expand Down Expand Up @@ -172,6 +173,7 @@ export default {
this.$root.$emit("ShowMessage", "L'affaire " + this.affaire.id + " a été clôturées avec succès");
//Log cloture affaire
logAffaireEtape(this.affaire.id, Number(process.env.VUE_APP_FIN_PROCESSUS_ID))
logAffaireEtape(this.affaire.id, Number(process.env.VUE_APP_ETAPE_CLOTURE_ID))
.then(() => this.$router.go(0));
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<md-card-expand-content>
<md-card-content>
<div class="md-layout md-gutter">
<div class="md-layout-item md-size-100" v-if="permission.loadNumerosFromExcel_remaniementParcellaire">
<div class="md-layout-item md-size-100" v-if="affaire.type_id === typesAffaires_conf.remaniement_parcellaire && permission.showRemaniementParcellaireLoadingBtn">
<md-button class="md-raised md-primary" v-on:click="loadNumerosFromExcel_remaniementParcellaire"><md-icon>description</md-icon> Importer les numéros de biens-fonds depuis le fichier excel</md-button>
<md-progress-bar md-mode="indeterminate" v-if="numerosLoading"></md-progress-bar>
</div>
Expand Down

0 comments on commit 12e7292

Please sign in to comment.