diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index fbab06966..6100e9528 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -322,6 +322,14 @@ entry: log: Log entryCreate: New entry latestBuys: Latest buys + tableVisibleColumns: + id: Id + reference: Reference + created: Creation + supplierFk: Supplier + isBooked: Booked + isConfirmed: Confirmed + isOrdered: Ordered list: newEntry: New entry landed: Landed diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index fec78d5e6..f845b1706 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -329,6 +329,14 @@ entry: booked: Asentado confirmed: Confirmado ordered: Pedida + tableVisibleColumns: + id: Id + reference: Referencia + created: Creación + supplierFk: Proveedor + isBooked: Asentado + isConfirmed: Confirmado + isOrdered: Pedida summary: commission: Comisión currency: Moneda diff --git a/src/pages/Entry/EntryLatestBuys.vue b/src/pages/Entry/EntryLatestBuys.vue index 5da3309d8..f70cd99a9 100644 --- a/src/pages/Entry/EntryLatestBuys.vue +++ b/src/pages/Entry/EntryLatestBuys.vue @@ -639,21 +639,6 @@ onUnmounted(() => (stateStore.rightDrawer = false)); auto-load @on-fetch="(data) => (intrastatOptions = data)" /> - - - - - -
@@ -739,12 +724,12 @@ onUnmounted(() => (stateStore.rightDrawer = false)); - + [ name: 'created', create: true, component: 'date', + columnField: { + component: null, + }, + format: (row, dashIfEmpty) => dashIfEmpty(toDate(row.created)), }, { align: 'left', @@ -56,6 +61,10 @@ const columns = computed(() => [ url: 'suppliers', fields: ['id', 'name'], }, + columnField: { + component: null, + }, + format: (row, dashIfEmpty) => dashIfEmpty(row.supplierName), }, { align: 'left', @@ -98,8 +107,8 @@ onMounted(async () => {