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
confirmed: Confirmed
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:
commission: Commission
currency: Currency

View File

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

View File

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