0
0
Fork 0

refs #6897 fix filters

This commit is contained in:
Carlos Satorres 2024-07-01 10:13:33 +02:00
parent 41d6c3f07e
commit 9d1e7363ab
3 changed files with 19 additions and 4 deletions

View File

@ -338,6 +338,18 @@ entry:
booked: Booked booked: Booked
confirmed: Confirmed confirmed: Confirmed
ordered: Ordered ordered: Ordered
tableVisibleColumns:
id: Id
reference: Reference
created: Creation
supplierFk: Supplier
isBooked: Booked
isConfirmed: Confirmed
isOrdered: Ordered
companyFk: Company
travelFk: Travel
isExcludedFromAvailable: Inventory
isRaid: Raid
summary: summary:
commission: Commission commission: Commission
currency: Currency currency: Currency

View File

@ -337,6 +337,10 @@ entry:
isBooked: Asentado isBooked: Asentado
isConfirmed: Confirmado isConfirmed: Confirmado
isOrdered: Pedida isOrdered: Pedida
companyFk: Empresa
travelFk: Envio
isExcludedFromAvailable: Inventario
isRaid: Redada
summary: summary:
commission: Comisión commission: Comisión
currency: Moneda currency: Moneda

View File

@ -18,19 +18,19 @@ const entityId = computed(() => route.params.id);
const entryFilter = { const entryFilter = {
include: [ include: [
{ {
relation: 'supplier', relation: 'suppliers',
scope: { scope: {
fields: ['id', 'name'], fields: ['id', 'name'],
}, },
}, },
{ {
relation: 'travel', relation: 'travels',
scope: { scope: {
fields: ['id', 'ref'], fields: ['id', 'ref'],
}, },
}, },
{ {
relation: 'company', relation: 'companies',
scope: { scope: {
fields: ['id', 'code'], fields: ['id', 'code'],
}, },
@ -39,7 +39,6 @@ const entryFilter = {
}; };
const columns = computed(() => [ const columns = computed(() => [
{ {
align: 'left', align: 'left',
label: t('entry.list.tableVisibleColumns.id'), label: t('entry.list.tableVisibleColumns.id'),