diff --git a/front/src/components/Affaires/Facturation/Emoluments/Emoluments.vue b/front/src/components/Affaires/Facturation/Emoluments/Emoluments.vue index 904d108b..155b6625 100644 --- a/front/src/components/Affaires/Facturation/Emoluments/Emoluments.vue +++ b/front/src/components/Affaires/Facturation/Emoluments/Emoluments.vue @@ -1728,11 +1728,13 @@ export default { }); let _id = ''; + let _style = null; for (let i = 0; i < collection.length; i++) { _id = collection[i].id; + _style = collection[i].style; this.chapters.forEach(x => { - if (_id.startsWith('form_detail.' + x['nom'])) { + if (_id.startsWith('form_detail.' + x['nom']) && _style.display!=="none") { x['nb_rows'] += 1; } }); diff --git a/front/src/components/Affaires/Facturation/Emoluments/emoluments.html b/front/src/components/Affaires/Facturation/Emoluments/emoluments.html index cc4d318f..d0dfa3f1 100644 --- a/front/src/components/Affaires/Facturation/Emoluments/emoluments.html +++ b/front/src/components/Affaires/Facturation/Emoluments/emoluments.html @@ -1132,7 +1132,7 @@

Répartition des émoluments dans les factures

4.4 Surfaces - + {{ form_detail.travauxBureau23.code }} {{ form_detail.travauxBureau23.nom }} {{ form_detail.travauxBureau23.unite }} @@ -1156,7 +1156,7 @@

Répartition des émoluments dans les factures

{{ form_detail_batiment[i-1].travauxBureau24.montant }} CHF - + {{ form_detail.travauxBureau25.code }} {{ form_detail.travauxBureau25.nom }} {{ form_detail.travauxBureau25.unite }}