diff --git a/src/components/CreateThermographForm.vue b/src/components/CreateThermographForm.vue new file mode 100644 index 000000000..d4511a0e7 --- /dev/null +++ b/src/components/CreateThermographForm.vue @@ -0,0 +1,114 @@ + + + + + +es: + Identifier: Identificador + Model: Modelo + Warehouse: Almacén + Temperature: Temperatura + New thermograph: Nuevo termógrafo + diff --git a/src/components/EditPictureForm.vue b/src/components/EditPictureForm.vue index 44d44587f..9f69896b5 100644 --- a/src/components/EditPictureForm.vue +++ b/src/components/EditPictureForm.vue @@ -276,13 +276,9 @@ const makeRequest = async () => { {{ - t( - 'components.editPictureForm.allowedFilesText', - { - allowedContentTypes: - allowedContentTypes, - } - ) + t('globals.allowedFilesText', { + allowedContentTypes: allowedContentTypes, + }) }} diff --git a/src/components/common/VnInput.vue b/src/components/common/VnInput.vue index 76e91a5d8..8a01e0bee 100644 --- a/src/components/common/VnInput.vue +++ b/src/components/common/VnInput.vue @@ -1,5 +1,6 @@ + diff --git a/src/pages/Travel/Card/TravelCard.vue b/src/pages/Travel/Card/TravelCard.vue index 34ecc25ee..1b185592b 100644 --- a/src/pages/Travel/Card/TravelCard.vue +++ b/src/pages/Travel/Card/TravelCard.vue @@ -17,7 +17,6 @@ const stateStore = useStateStore(); -
diff --git a/src/pages/Travel/Card/TravelDescriptor.vue b/src/pages/Travel/Card/TravelDescriptor.vue index 6a45710ad..c7501b1d4 100644 --- a/src/pages/Travel/Card/TravelDescriptor.vue +++ b/src/pages/Travel/Card/TravelDescriptor.vue @@ -2,10 +2,13 @@ import { ref, computed } from 'vue'; import { useRoute } from 'vue-router'; import { useI18n } from 'vue-i18n'; -import { toDate } from 'src/filters'; + import CardDescriptor from 'components/ui/CardDescriptor.vue'; import VnLv from 'src/components/ui/VnLv.vue'; +import TravelDescriptorMenuItems from './TravelDescriptorMenuItems.vue'; + import useCardDescription from 'src/composables/useCardDescription'; +import { toDate } from 'src/filters'; const $props = defineProps({ id: { @@ -28,6 +31,7 @@ const filter = { 'warehouseInFk', 'warehouseOutFk', 'cargoSupplierFk', + 'agencyModeFk', ], include: [ { @@ -66,6 +70,25 @@ const setData = (entity) => { @on-fetch="setData" data-key="travelData" > + + + - + +es: + Go to module index: Ir al índice del módulo + The travel will be deleted: El envío será eliminado + Do you want to delete this travel?: ¿Quieres eliminar este envío? + All travels with current agency: Todos los envíos con la agencia actual diff --git a/src/pages/Travel/Card/TravelDescriptorMenuItems.vue b/src/pages/Travel/Card/TravelDescriptorMenuItems.vue new file mode 100644 index 000000000..17b9333ca --- /dev/null +++ b/src/pages/Travel/Card/TravelDescriptorMenuItems.vue @@ -0,0 +1,108 @@ + + + + + +es: + The travel will be deleted: El envío será eliminado + Do you want to delete this travel?: ¿Quieres eliminar este envío? + diff --git a/src/pages/Travel/Card/TravelLog.vue b/src/pages/Travel/Card/TravelLog.vue new file mode 100644 index 000000000..1a2667ff7 --- /dev/null +++ b/src/pages/Travel/Card/TravelLog.vue @@ -0,0 +1,6 @@ + + diff --git a/src/pages/Travel/Card/TravelSummary.vue b/src/pages/Travel/Card/TravelSummary.vue index 4f0e8860a..2ed6a0487 100644 --- a/src/pages/Travel/Card/TravelSummary.vue +++ b/src/pages/Travel/Card/TravelSummary.vue @@ -1,22 +1,19 @@