diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index d26ee26a3..be8a13267 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -94,6 +94,7 @@ export default { }, created: 'Created', worker: 'Worker', + name: 'Name', }, errors: { statusUnauthorized: 'Access denied', @@ -1034,11 +1035,6 @@ export default { }, }, }, - agency: { - pageTitles: { - agency: 'Agency', - }, - }, supplier: { pageTitles: { suppliers: 'Suppliers', @@ -1291,4 +1287,12 @@ export default { }, iban_tooltip: 'IBAN: ES21 1234 5678 90 0123456789', }, + agency: { + pageTitles: { + agency: 'Agency', + modes: 'Modes', + }, + isOwn: 'Is own', + isAnyVolumeAllowed: 'Any volume allowed', + }, }; diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 0d31c375f..88e000635 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -94,6 +94,7 @@ export default { }, created: 'Fecha creación', worker: 'Trabajador', + name: 'Nombre', }, errors: { statusUnauthorized: 'Acceso denegado', @@ -1284,4 +1285,12 @@ export default { }, iban_tooltip: 'IBAN: ES21 1234 5678 90 0123456789', }, + agency: { + pageTitles: { + agency: 'Agencia', + modes: 'Modos', + }, + isOwn: 'Propia', + isAnyVolumeAllowed: 'Volumen libre', + }, }; diff --git a/src/pages/Agency/AgencyList.vue b/src/pages/Agency/AgencyList.vue index 6f8185864..930cae563 100644 --- a/src/pages/Agency/AgencyList.vue +++ b/src/pages/Agency/AgencyList.vue @@ -5,10 +5,8 @@ import VnSearchbar from 'src/components/ui/VnSearchbar.vue'; import { useStateStore } from 'stores/useStateStore'; import { useRouter } from 'vue-router'; import { useI18n } from 'vue-i18n'; -import { useSummaryDialog } from 'src/composables/useSummaryDialog'; const { t } = useI18n(); -const { viewSummary } = useSummaryDialog(); const router = useRouter(); const stateStore = useStateStore(); function navigate(id) { @@ -68,12 +66,6 @@ function exprBuilder(param, value) { @click.stop="navigate(row.id)" outline /> - diff --git a/src/pages/Agency/Card/AgencyBasicData.vue b/src/pages/Agency/Card/AgencyBasicData.vue index f54f7037d..00595ce1f 100644 --- a/src/pages/Agency/Card/AgencyBasicData.vue +++ b/src/pages/Agency/Card/AgencyBasicData.vue @@ -2,23 +2,18 @@ import { ref } from 'vue'; import { useRoute } from 'vue-router'; import { useI18n } from 'vue-i18n'; -import VnRow from 'components/ui/VnRow.vue'; + +import FormModel from 'components/FormModel.vue'; import FetchData from 'src/components/FetchData.vue'; +import VnRow from 'components/ui/VnRow.vue'; import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue'; import VnInput from 'src/components/common/VnInput.vue'; -import FormModel from 'components/FormModel.vue'; import VnSelectFilter from 'src/components/common/VnSelectFilter.vue'; const { t } = useI18n(); const route = useRoute(); -const id = route.params?.id || null; +const routeId = route.params?.id || null; const warehouses = ref([]); -const sectorFilter = { fields: ['id', 'description'] }; - -const filter = { - fields: ['sectorFk', 'code', 'pickingOrder', 'row', 'column'], - include: [{ relation: 'sector', scope: sectorFilter }], -};