feat: ajout class du header dans le footer

This commit is contained in:
Christophe 2024-12-19 08:41:11 +01:00
parent 3539b018cb
commit 7ccaac01fc

View file

@ -139,13 +139,13 @@
</tr>
</tbody>
<tfoot>
<tr v-if="Object.keys(footer_affiche).length">
<th v-for="(label, head, i) in header" :key="'footerAffiche_' + i" :class="[head, classes[head]]">
<tr v-if="Object.keys(footer_affiche).length" class="footer_affiche">
<th v-for="(label, head, i) in header" :key="'footerAffiche_' + i" :class="[head, classes[head], header_class_header_top[i] + '--footer']">
<div v-html="footer_affiche[head] ?? ''"></div>
</th>
</tr>
<tr v-if="Object.keys(footer_total).length">
<th v-for="(label, head, i) in header" :key="'footerTotal_' + i" :class="[head, classes[head]]">
<tr v-if="Object.keys(footer_total).length" class="footer_total">
<th v-for="(label, head, i) in header" :key="'footerTotal_' + i" :class="[head, classes[head], header_class_header_top[i] + '--footer']">
<div v-html="footer_total[head] ?? ''"></div>
</th>
</tr>