diff --git a/src/pages/Customer/Card/CustomerConsumption.vue b/src/pages/Customer/Card/CustomerConsumption.vue index 1ee771bf8..98a3115da 100644 --- a/src/pages/Customer/Card/CustomerConsumption.vue +++ b/src/pages/Customer/Card/CustomerConsumption.vue @@ -1,13 +1,14 @@ - - {{ t('Enter a new search') }} - + + + diff --git a/src/pages/Customer/Card/CustomerConsumptionFilter.vue b/src/pages/Customer/Card/CustomerConsumptionFilter.vue new file mode 100644 index 000000000..4d2c5ff3c --- /dev/null +++ b/src/pages/Customer/Card/CustomerConsumptionFilter.vue @@ -0,0 +1,91 @@ + + + + + + {{ t(`params.${tag.label}`) }}: + {{ formatFn(tag.value) }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +en: + params: + item: Item id + buyer: Buyer + type: Type + category: Category +es: + params: + item: Id artÃculo + buyer: Comprador + type: Tipo + category: CategorÃa + diff --git a/src/pages/Customer/components/CustomerNewPayment.vue b/src/pages/Customer/components/CustomerNewPayment.vue index cc92d7907..9acb6af3a 100644 --- a/src/pages/Customer/components/CustomerNewPayment.vue +++ b/src/pages/Customer/components/CustomerNewPayment.vue @@ -11,10 +11,12 @@ import VnRow from 'components/ui/VnRow.vue'; import VnInputDate from 'components/common/VnInputDate.vue'; import VnSelect from 'src/components/common/VnSelect.vue'; import VnInput from 'src/components/common/VnInput.vue'; - +import { useState } from 'src/composables/useState'; const { t } = useI18n(); const route = useRoute(); const { dialogRef } = useDialogPluginComponent(); +const state = useState(); +const user = state.getUser(); const $props = defineProps({ companyId: { @@ -55,12 +57,12 @@ const filterClientFindOne = { id: route.params.id, }, }; - const initialData = reactive({ amountPaid: $props.totalCredit, clientFk: route.params.id, companyFk: $props.companyId, email: clientFindOne.value.email, + bankFk: user.value.localBankFk, }); onBeforeMount(() => {