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