diff --git a/src/App.vue b/src/App.vue index 8e9bea2e4..d0d8c9358 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,10 +1,11 @@ - + - + - - {{ `${note.worker.firstName} ${note.worker.lastName}` }} - - + + {{ toDateHour(note.created) }} @@ -115,6 +116,10 @@ async function insert() { diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 679387aa6..815a7b3b4 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -63,6 +63,7 @@ export default { selectRows: 'Select all { numberRows } row(s)', allRows: 'All { numberRows } row(s)', markAll: 'Mark all', + system: 'System', }, errors: { statusUnauthorized: 'Access denied', diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index c2d3c2dd9..f3ece1065 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -62,6 +62,7 @@ export default { selectRows: 'Seleccionar las { numberRows } filas(s)', allRows: 'Todo { numberRows } filas(s)', markAll: 'Marcar todo', + system: 'Sistema', }, errors: { statusUnauthorized: 'Acceso denegado', diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index 9c076d98c..021ee685a 100644 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -1,7 +1,6 @@ diff --git a/src/layouts/OutLayout.vue b/src/layouts/OutLayout.vue index f21e6e568..8e9ab3e41 100644 --- a/src/layouts/OutLayout.vue +++ b/src/layouts/OutLayout.vue @@ -26,6 +26,7 @@ const userLocale = computed({ } }, }); + const darkMode = computed({ get() { return Dark.isActive; diff --git a/src/pages/Claim/Card/ClaimDescriptor.vue b/src/pages/Claim/Card/ClaimDescriptor.vue index 85ae9f7e1..4f2703e71 100644 --- a/src/pages/Claim/Card/ClaimDescriptor.vue +++ b/src/pages/Claim/Card/ClaimDescriptor.vue @@ -4,14 +4,12 @@ import { useRoute } from 'vue-router'; import { useI18n } from 'vue-i18n'; import { toDate } from 'src/filters'; import { useState } from 'src/composables/useState'; - import TicketDescriptorProxy from 'pages/Ticket/Card/TicketDescriptorProxy.vue'; -import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.vue'; -import CustomerDescriptorProxy from 'src/pages/Customer/Card/CustomerDescriptorProxy.vue'; import ClaimDescriptorMenu from 'pages/Claim/Card/ClaimDescriptorMenu.vue'; import CardDescriptor from 'components/ui/CardDescriptor.vue'; import VnLv from 'src/components/ui/VnLv.vue'; import useCardDescription from 'src/composables/useCardDescription'; +import VnUserLink from 'src/components/ui/VnUserLink.vue'; const $props = defineProps({ id: { @@ -118,18 +116,18 @@ const setData = (entity) => { :value="entity.worker.user.name" > - - {{ entity.worker.user.name }} - - + - - {{ entity.client?.salesPersonUser?.name }} - - + - - {{ claim.worker.user.nickname }} - - + - - {{ claim.client.salesPersonUser.name }} - - + - - + + {{ t('claim.summary.notes') }} - + - + {{ t('claim.summary.details') }} @@ -312,20 +313,6 @@ function openDialog(dmsId) { /> - +