diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 4a78811e6..de23c1b86 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -765,6 +765,9 @@ supplier: consumption: entry: Entry travel: + search: Search travel + searchInfo: You can search by travel id or name + id: Id travelList: tableVisibleColumns: ref: Reference diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 2bfe7ec4b..ccac50446 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -757,6 +757,9 @@ supplier: consumption: entry: Entrada travel: + search: Buscar envío + searchInfo: Buscar envío por id o nombre + id: Id travelList: tableVisibleColumns: ref: Referencia diff --git a/src/pages/Travel/Card/TravelCard.vue b/src/pages/Travel/Card/TravelCard.vue index 4e48e6b53..5d8b338ba 100644 --- a/src/pages/Travel/Card/TravelCard.vue +++ b/src/pages/Travel/Card/TravelCard.vue @@ -1,48 +1,7 @@ diff --git a/src/pages/Travel/TravelList.vue b/src/pages/Travel/TravelList.vue index 4d2912bf7..a8dc868e4 100644 --- a/src/pages/Travel/TravelList.vue +++ b/src/pages/Travel/TravelList.vue @@ -5,18 +5,18 @@ import { useRouter, useRoute } from 'vue-router'; import VnTable from 'components/VnTable/VnTable.vue'; import { useSummaryDialog } from 'src/composables/useSummaryDialog'; import TravelSummary from './Card/TravelSummary.vue'; -import VnSearchbar from 'components/ui/VnSearchbar.vue'; import { toDate } from 'src/filters'; import { getDateQBadgeColor } from 'src/composables/getDateQBadgeColor.js'; -import RightMenu from 'src/components/common/RightMenu.vue'; import TravelFilter from './TravelFilter.vue'; import VnInputNumber from 'src/components/common/VnInputNumber.vue'; +import VnSection from 'src/components/common/VnSection.vue'; const { viewSummary } = useSummaryDialog(); const router = useRouter(); const { t } = useI18n(); const route = useRoute(); const tableRef = ref(); +const dataKey = 'TravelList'; const $props = defineProps({ id: { type: Number, @@ -189,90 +189,94 @@ const columns = computed(() => [