From 859eb918cd6a5fc6b785faa91bb2917bf9c3d427 Mon Sep 17 00:00:00 2001 From: carlossa Date: Fri, 30 Aug 2024 11:50:05 +0200 Subject: [PATCH] refs #6897 fix entry --- src/i18n/locale/en.yml | 1 + src/i18n/locale/es.yml | 1 + src/pages/Entry/EntryList.vue | 26 +++++++++++++++++++++++++- 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index ffa92c08d..d9b8911fd 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -455,6 +455,7 @@ entry: travelFk: Travel isExcludedFromAvailable: Inventory isRaid: Raid + invoiceAmount: Import summary: commission: Commission currency: Currency diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index a52565fd2..153dfa840 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -454,6 +454,7 @@ entry: travelFk: Envio isExcludedFromAvailable: Inventario isRaid: Redada + invoiceAmount: Importe summary: commission: ComisiĆ³n currency: Moneda diff --git a/src/pages/Entry/EntryList.vue b/src/pages/Entry/EntryList.vue index 2fddc4d64..c03c67edb 100644 --- a/src/pages/Entry/EntryList.vue +++ b/src/pages/Entry/EntryList.vue @@ -9,6 +9,11 @@ import RightMenu from 'src/components/common/RightMenu.vue'; import { toDate } from 'src/filters'; import { useSummaryDialog } from 'src/composables/useSummaryDialog'; import EntrySummary from './Card/EntrySummary.vue'; +import VnUserLink from 'components/ui/VnUserLink.vue'; +import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.vue'; +import CustomerDescriptorProxy from '../Customer/Card/CustomerDescriptorProxy.vue'; +import SupplierDescriptorProxy from 'src/pages/Supplier/Card/SupplierDescriptorProxy.vue'; +import TravelDescriptorProxy from 'src/pages/Travel/Card/TravelDescriptorProxy.vue'; const stateStore = useStateStore(); const { t } = useI18n(); @@ -145,6 +150,12 @@ const columns = computed(() => [ create: true, format: (row, dashIfEmpty) => dashIfEmpty(row.travelRef), }, + { + align: 'left', + label: t('entry.list.tableVisibleColumns.invoiceAmount'), + name: 'invoiceAmount', + cardVisible: true, + }, { align: 'left', label: t('entry.list.tableVisibleColumns.isExcludedFromAvailable'), @@ -216,7 +227,20 @@ onMounted(async () => { redirect="entry" auto-load :right-search="false" - /> + > + + +