From 390ab9cfd16d266aaadac97ac48e6849cf96e2b8 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 23 Aug 2024 10:34:54 +0200 Subject: [PATCH] feat: CustomerConsumptionFilter --- .../Card/CustomerConsumptionFilter.vue | 93 ++++++++++++++++++- .../Card/SupplierConsumptionFilter.vue | 52 +++-------- 2 files changed, 102 insertions(+), 43 deletions(-) diff --git a/src/pages/Customer/Card/CustomerConsumptionFilter.vue b/src/pages/Customer/Card/CustomerConsumptionFilter.vue index 4d2c5ff3c..91536e954 100644 --- a/src/pages/Customer/Card/CustomerConsumptionFilter.vue +++ b/src/pages/Customer/Card/CustomerConsumptionFilter.vue @@ -5,6 +5,8 @@ import VnInput from 'src/components/common/VnInput.vue'; import { QItem } from 'quasar'; import VnSelect from 'src/components/common/VnSelect.vue'; import { QItemSection } from 'quasar'; +import VnInputDate from 'src/components/common/VnInputDate.vue'; +import { toDate } from 'src/filters'; const { t } = useI18n(); defineProps({ dataKey: { type: String, required: true } }); @@ -33,6 +35,8 @@ defineProps({ dataKey: { type: String, required: true } }); + + + + + + + + + + + + + + + + + + @@ -82,10 +149,30 @@ en: buyer: Buyer type: Type category: Category + itemId: Item id + buyerId: Buyer + typeId: Type + categoryId: Category + from: From + to: To + campaignId: Campaña + valentinesDay: Valentine's Day + mothersDay: Mother's Day + allSaints: All Saints' Day es: params: item: Id artículo buyer: Comprador type: Tipo category: Categoría + itemId: Id Artículo + buyerId: Comprador + typeId: Tipo + categoryId: Reino + from: Desde + to: Hasta + campaignId: Campaña + valentinesDay: Día de San Valentín + mothersDay: Día de la Madre + allSaints: Día de Todos los Santos diff --git a/src/pages/Supplier/Card/SupplierConsumptionFilter.vue b/src/pages/Supplier/Card/SupplierConsumptionFilter.vue index 3fc61b15e..401bde8fa 100644 --- a/src/pages/Supplier/Card/SupplierConsumptionFilter.vue +++ b/src/pages/Supplier/Card/SupplierConsumptionFilter.vue @@ -1,56 +1,21 @@