diff --git a/src/pages/Entry/Card/EntryCard.vue b/src/pages/Entry/Card/EntryCard.vue index f05f76b50..3f2596338 100644 --- a/src/pages/Entry/Card/EntryCard.vue +++ b/src/pages/Entry/Card/EntryCard.vue @@ -2,50 +2,7 @@ import VnCard from 'components/common/VnCard.vue'; import EntryDescriptor from './EntryDescriptor.vue'; import EntryFilter from '../EntryFilter.vue'; - -const filter = { - include: [ - { - relation: 'travel', - scope: { - fields: [ - 'id', - 'landed', - 'shipped', - 'agencyModeFk', - 'warehouseOutFk', - 'daysInForward', - ], - include: [ - { - relation: 'agency', - scope: { - fields: ['name'], - }, - }, - { - relation: 'warehouseOut', - scope: { - fields: ['name'], - }, - }, - { - relation: 'warehouseIn', - scope: { - fields: ['name'], - }, - }, - ], - }, - }, - { - relation: 'supplier', - scope: { - fields: ['id', 'nickname'], - }, - }, - ], -}; +import filter from './EntryFilter.js';