diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml
index f8850d396..b18c396c0 100644
--- a/src/i18n/locale/en.yml
+++ b/src/i18n/locale/en.yml
@@ -114,6 +114,7 @@ globals:
new: New
comment: Comment
observations: Observations
+ goToModuleIndex: Go to module index
errors:
statusUnauthorized: Access denied
statusInternalServerError: An internal server error has ocurred
diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml
index e5924f93b..e0c563f07 100644
--- a/src/i18n/locale/es.yml
+++ b/src/i18n/locale/es.yml
@@ -115,6 +115,7 @@ globals:
new: Nuevo
comment: Comentario
observations: Observaciones
+ goToModuleIndex: Ir al índice del módulo
errors:
statusUnauthorized: Acceso denegado
statusInternalServerError: Ha ocurrido un error interno del servidor
diff --git a/src/pages/Agency/Card/AgencyDescriptor.vue b/src/pages/Agency/Card/AgencyDescriptor.vue
index 8b6a6603e..46b225ff2 100644
--- a/src/pages/Agency/Card/AgencyDescriptor.vue
+++ b/src/pages/Agency/Card/AgencyDescriptor.vue
@@ -40,7 +40,7 @@ const card = computed(() => store.data);
:to="{ name: 'RouteList' }"
>
- {{ t('Go to module index') }}
+ {{ t('globals.goToModuleIndex') }}
@@ -49,8 +49,3 @@ const card = computed(() => store.data);
-
-
-es:
- Go to module index: Ir al índice del modulo
-
diff --git a/src/pages/Claim/Card/ClaimDescriptor.vue b/src/pages/Claim/Card/ClaimDescriptor.vue
index e4b96b5b6..9b25aa2d9 100644
--- a/src/pages/Claim/Card/ClaimDescriptor.vue
+++ b/src/pages/Claim/Card/ClaimDescriptor.vue
@@ -73,7 +73,7 @@ onMounted(async () => {
:to="{ name: 'ClaimList' }"
>
- {{ t('Go to module index') }}
+ {{ t('globals.goToModuleIndex') }}
@@ -187,5 +187,4 @@ onMounted(async () => {
claimRate: Claming rate
es:
claimRate: Ratio de reclamación
- Go to module index: Ir al índice del módulo
diff --git a/src/pages/Entry/Card/EntryDescriptor.vue b/src/pages/Entry/Card/EntryDescriptor.vue
index 317400181..a55ad67cd 100644
--- a/src/pages/Entry/Card/EntryDescriptor.vue
+++ b/src/pages/Entry/Card/EntryDescriptor.vue
@@ -18,10 +18,6 @@ const $props = defineProps({
required: false,
default: null,
},
- summary: {
- type: Object,
- default: null,
- },
});
const route = useRoute();
@@ -119,7 +115,7 @@ watch;
:subtitle="data.subtitle"
@on-fetch="setData"
data-key="entry"
- :summary="$props.summary"
+ :summary="$attrs"
>
diff --git a/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue b/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue
index 1381bdc73..e8428dca1 100644
--- a/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue
+++ b/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue
@@ -25,10 +25,6 @@ const $props = defineProps({
type: Number,
default: null,
},
- summary: {
- type: Object,
- default: null,
- },
});
const { push, currentRoute } = useRouter();
@@ -297,7 +293,7 @@ const setData = (entity) => (data.value = useCardDescription(entity.name, entity
:filter="filter"
title="supplierRef"
@on-fetch="setData"
- :summary="$props.summary"
+ :summary="$attrs"
>
diff --git a/src/pages/Order/Card/OrderDescriptor.vue b/src/pages/Order/Card/OrderDescriptor.vue
index 92bc5ad66..82d7e0d05 100644
--- a/src/pages/Order/Card/OrderDescriptor.vue
+++ b/src/pages/Order/Card/OrderDescriptor.vue
@@ -99,7 +99,7 @@ const total = ref(null);
:to="{ name: 'OrderList' }"
>
- {{ t('Go to module index') }}
+ {{ t('globals.goToModuleIndex') }}
@@ -153,8 +153,3 @@ const total = ref(null);
-
-
-es:
- Go to module index: Ir al índice del módulo
-
diff --git a/src/pages/Route/Card/RouteDescriptor.vue b/src/pages/Route/Card/RouteDescriptor.vue
index a0e0aaf3a..2fa0e77e0 100644
--- a/src/pages/Route/Card/RouteDescriptor.vue
+++ b/src/pages/Route/Card/RouteDescriptor.vue
@@ -14,10 +14,6 @@ const $props = defineProps({
required: false,
default: null,
},
- summary: {
- type: Object,
- default: null,
- },
});
const route = useRoute();
@@ -80,7 +76,7 @@ const setData = (entity) => (data.value = useCardDescription(entity.code, entity
:subtitle="data.subtitle"
data-key="routeData"
@on-fetch="setData"
- :summary="$props.summary"
+ :summary="$attrs"
>
diff --git a/src/pages/Route/Roadmap/RoadmapDescriptor.vue b/src/pages/Route/Roadmap/RoadmapDescriptor.vue
index 78851ef5f..0f52f087f 100644
--- a/src/pages/Route/Roadmap/RoadmapDescriptor.vue
+++ b/src/pages/Route/Roadmap/RoadmapDescriptor.vue
@@ -51,7 +51,7 @@ const setData = (entity) => (data.value = useCardDescription(entity.code, entity
:to="{ name: 'RouteList' }"
>
- {{ t('Go to module index') }}
+ {{ t('globals.goToModuleIndex') }}
@@ -76,5 +76,4 @@ const setData = (entity) => (data.value = useCardDescription(entity.code, entity
es:
Roadmap: Troncal
Carrier: Transportista
- Go to module index: Ir al índice del módulo
diff --git a/src/pages/Shelving/Card/ShelvingDescriptor.vue b/src/pages/Shelving/Card/ShelvingDescriptor.vue
index 0fac92f65..9322faaa0 100644
--- a/src/pages/Shelving/Card/ShelvingDescriptor.vue
+++ b/src/pages/Shelving/Card/ShelvingDescriptor.vue
@@ -14,10 +14,6 @@ const $props = defineProps({
required: false,
default: null,
},
- summary: {
- type: Object,
- default: null,
- },
});
const route = useRoute();
@@ -55,7 +51,7 @@ const setData = (entity) => (data.value = useCardDescription(entity.code, entity
:subtitle="data.subtitle"
data-key="Shelvings"
@on-fetch="setData"
- :summary="$props.summary"
+ :summary="$attrs"
>
(data.value = useCardDescription(entity.code, entity
:to="{ name: 'ShelvingList' }"
>
- {{ t('Go to module index') }}
+ {{ t('globals.goToModuleIndex') }}
@@ -90,8 +86,3 @@ const setData = (entity) => (data.value = useCardDescription(entity.code, entity
-
-
-es:
- Go to module index: Ir al indice del modulo
-
diff --git a/src/pages/Ticket/Card/TicketDescriptor.vue b/src/pages/Ticket/Card/TicketDescriptor.vue
index 3c5e6c80d..ab95ee643 100644
--- a/src/pages/Ticket/Card/TicketDescriptor.vue
+++ b/src/pages/Ticket/Card/TicketDescriptor.vue
@@ -16,10 +16,6 @@ const $props = defineProps({
required: false,
default: null,
},
- summary: {
- type: Object,
- default: null,
- },
});
const route = useRoute();
@@ -87,7 +83,7 @@ const setData = (entity) =>
:subtitle="data.subtitle"
data-key="ticketData"
@on-fetch="setData"
- :summary="$props.summary"
+ :summary="$attrs"
>
diff --git a/src/pages/Travel/Card/TravelDescriptor.vue b/src/pages/Travel/Card/TravelDescriptor.vue
index 0b768ef22..b74761b37 100644
--- a/src/pages/Travel/Card/TravelDescriptor.vue
+++ b/src/pages/Travel/Card/TravelDescriptor.vue
@@ -16,10 +16,6 @@ const $props = defineProps({
required: false,
default: null,
},
- summary: {
- type: Object,
- default: null,
- },
});
const route = useRoute();
@@ -69,7 +65,7 @@ const setData = (entity) => (data.value = useCardDescription(entity.ref, entity.
:subtitle="data.subtitle"
:filter="filter"
data-key="travelData"
- :summary="$props.summary"
+ :summary="$attrs"
@on-fetch="setData"
>
diff --git a/src/pages/Worker/Card/WorkerDescriptor.vue b/src/pages/Worker/Card/WorkerDescriptor.vue
index 3ad14cf3f..82a698878 100644
--- a/src/pages/Worker/Card/WorkerDescriptor.vue
+++ b/src/pages/Worker/Card/WorkerDescriptor.vue
@@ -17,10 +17,6 @@ const $props = defineProps({
required: false,
default: null,
},
- summary: {
- type: Object,
- default: null,
- },
});
const route = useRoute();
@@ -115,7 +111,7 @@ const refetch = async () => await cardDescriptorRef.value.getData();
:filter="filter"
:title="data.title"
:subtitle="data.subtitle"
- :summary="$props.summary"
+ :summary="$attrs"
@on-fetch="
(data) => {
worker = data;
@@ -200,5 +196,4 @@ es:
Click to allow the user to be disabled: Marcar para deshabilitar
Click to exclude the user from getting disabled: Marcar para no deshabilitar
Change password: Cambiar contraseña
- Go to module index: Ir al índice del modulo
diff --git a/src/pages/Zone/Card/ZoneDescriptor.vue b/src/pages/Zone/Card/ZoneDescriptor.vue
index 548ab3427..602fefde3 100644
--- a/src/pages/Zone/Card/ZoneDescriptor.vue
+++ b/src/pages/Zone/Card/ZoneDescriptor.vue
@@ -17,10 +17,6 @@ const $props = defineProps({
required: false,
default: null,
},
- summary: {
- type: Object,
- default: null,
- },
});
const route = useRoute();
@@ -56,7 +52,7 @@ const setData = (entity) => {
:filter="filter"
@on-fetch="setData"
data-key="zoneData"
- :summary="$props.summary"
+ :summary="$attrs"
>