feat: on affiche le contenu du footer dans v-html pour pour afficher du code html

This commit is contained in:
Christophe 2024-12-19 00:25:37 +01:00
parent 1285946276
commit 2c637dc538

View file

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