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 @@