Update SubHeaderRowGroupDoc.vue

pull/3815/head
Tuğçe Küçükoğlu 2023-03-27 14:14:09 +03:00
parent 0a065a4946
commit f629d7809a
1 changed files with 4 additions and 12 deletions

View File

@ -31,9 +31,7 @@
</Column>
<Column field="date" header="Date" style="min-width: 200px"></Column>
<template #groupfooter="slotProps">
<td colspan="5">
<div class="flex justify-content-end font-bold w-full">Total Customers: {{ calculateCustomerTotal(slotProps.data.representative.name) }}</div>
</td>
<div class="flex justify-content-end font-bold w-full">Total Customers: {{ calculateCustomerTotal(slotProps.data.representative.name) }}</div>
</template>
</DataTable>
</div>
@ -75,9 +73,7 @@ export default {
</div>
</template>
<template #groupfooter="slotProps">
<td colspan="5">
<div class="flex justify-content-end font-bold w-full">Total Customers: {{ calculateCustomerTotal(slotProps.data.representative.name) }}</div>
</td>
<div class="flex justify-content-end font-bold w-full">Total Customers: {{ calculateCustomerTotal(slotProps.data.representative.name) }}</div>
</template>
</DataTable>`,
options: `
@ -109,9 +105,7 @@ export default {
</div>
</template>
<template #groupfooter="slotProps">
<td colspan="5">
<div class="flex justify-content-end font-bold w-full">Total Customers: {{ calculateCustomerTotal(slotProps.data.representative.name) }}</div>
</td>
<div class="flex justify-content-end font-bold w-full">Total Customers: {{ calculateCustomerTotal(slotProps.data.representative.name) }}</div>
</template>
</DataTable>
</div>
@ -193,9 +187,7 @@ export default {
</div>
</template>
<template #groupfooter="slotProps">
<td colspan="5">
<div class="flex justify-content-end font-bold w-full">Total Customers: {{ calculateCustomerTotal(slotProps.data.representative.name) }}</div>
</td>
<div class="flex justify-content-end font-bold w-full">Total Customers: {{ calculateCustomerTotal(slotProps.data.representative.name) }}</div>
</template>
</DataTable>
</div>