8077-sumDefaulterFront #832

Open
robert wants to merge 10 commits from 8077-sumDefaulterFront into dev
1 changed files with 8 additions and 1 deletions
Showing only changes of commit 1095538a08 - Show all commits

View File

@ -11,6 +11,7 @@ import VnInput from 'src/components/common/VnInput.vue';
import CustomerDefaulterAddObservation from './CustomerDefaulterAddObservation.vue'; import CustomerDefaulterAddObservation from './CustomerDefaulterAddObservation.vue';
import DepartmentDescriptorProxy from 'src/pages/Department/Card/DepartmentDescriptorProxy.vue'; import DepartmentDescriptorProxy from 'src/pages/Department/Card/DepartmentDescriptorProxy.vue';
import VnTable from 'src/components/VnTable/VnTable.vue'; import VnTable from 'src/components/VnTable/VnTable.vue';
import FetchData from 'components/FetchData.vue';
const { t } = useI18n(); const { t } = useI18n();
const quasar = useQuasar(); const quasar = useQuasar();
@ -190,9 +191,15 @@ function exprBuilder(param, value) {
</script> </script>
<template> <template>
<FetchData
:url="`Defaulters/filter?sumAmount=true`"
auto-load
@on-fetch="({ sumAmount }) => (totalAmount = sumAmount)"
></FetchData>
<VnSubToolbar> <VnSubToolbar>
<template #st-data> <template #st-data>
<CustomerBalanceDueTotal :amount="balanceDueTotal" /> <CustomerBalanceDueTotal :amount="totalAmount" />
</template> </template>
<template #st-actions> <template #st-actions>
<QBtn <QBtn