fix: refs #8463 fix name

This commit is contained in:
Alex Moreno 2025-03-14 09:15:50 +01:00
parent 1139035e45
commit f7046be50d
22 changed files with 44 additions and 44 deletions

View File

@ -48,7 +48,7 @@ const removeAlias = () => {
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
ref="descriptor"
:url="`MailAliases/${entityId}`"
data-key="Alias"
@ -62,7 +62,7 @@ const removeAlias = () => {
<template #body="{ entity }">
<VnLv :label="t('role.description')" :value="entity.description" />
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>
<i18n>

View File

@ -20,7 +20,7 @@ onMounted(async () => {
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
ref="descriptor"
:url="`VnUsers/preview`"
:filter="{ ...filter, where: { id: entityId } }"
@ -78,7 +78,7 @@ onMounted(async () => {
</QIcon>
</QCardActions>
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>
<style scoped>
.q-item__label {

View File

@ -32,7 +32,7 @@ const removeRole = async () => {
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
url="VnRoles"
:filter="{ where: { id: entityId } }"
data-key="Role"
@ -46,7 +46,7 @@ const removeRole = async () => {
<template #body="{ entity }">
<VnLv :label="t('role.description')" :value="entity.description" />
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>
<style scoped>
.q-item__label {

View File

@ -44,7 +44,7 @@ onMounted(async () => {
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
:url="`Claims/${entityId}`"
:filter="filter"
title="client.name"
@ -147,7 +147,7 @@ onMounted(async () => {
</QBtn>
</QCardActions>
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>
<style scoped>
.q-item__label {

View File

@ -54,7 +54,7 @@ const debtWarning = computed(() => {
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
:url="`Clients/${entityId}/getCard`"
:summary="$props.summary"
data-key="Customer"
@ -232,7 +232,7 @@ const debtWarning = computed(() => {
</QBtn>
</QCardActions>
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>
<i18n>

View File

@ -145,7 +145,7 @@ async function deleteEntry() {
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
:url="`Entries/${entityId}`"
:filter="entryFilter"
title="supplier.nickname"
@ -264,7 +264,7 @@ async function deleteEntry() {
</QBtn>
</QCardActions>
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>
<i18n>
es:

View File

@ -88,7 +88,7 @@ async function setInvoiceCorrection(id) {
}
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
ref="cardDescriptorRef"
data-key="InvoiceIn"
:url="`InvoiceIns/${entityId}`"
@ -163,7 +163,7 @@ async function setInvoiceCorrection(id) {
</QBtn>
</QCardActions>
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>
<style lang="scss" scoped>
.q-dialog {

View File

@ -34,7 +34,7 @@ function ticketFilter(invoice) {
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
ref="descriptor"
:url="`InvoiceOuts/${entityId}`"
:filter="filter"
@ -93,5 +93,5 @@ function ticketFilter(invoice) {
</QBtn>
</QCardActions>
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>

View File

@ -90,7 +90,7 @@ const updateStock = async () => {
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
data-key="Item"
:summary="$props.summary"
:url="`Items/${entityId}/getCard`"
@ -162,7 +162,7 @@ const updateStock = async () => {
</QBtn>
</QCardActions>
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>
<i18n>

View File

@ -25,7 +25,7 @@ const entityId = computed(() => {
});
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
:url="`ItemTypes/${entityId}`"
:filter="filter"
title="code"
@ -45,5 +45,5 @@ const entityId = computed(() => {
:value="entity.category?.name"
/>
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>

View File

@ -21,7 +21,7 @@ const { store } = useArrayData('Parking');
const card = computed(() => store.data);
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
data-key="Agency"
:url="`Agencies/${entityId}`"
:title="card?.name"
@ -30,5 +30,5 @@ const card = computed(() => store.data);
<template #body="{ entity: agency }">
<VnLv :label="t('globals.name')" :value="agency.name" />
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>

View File

@ -47,7 +47,7 @@ onMounted(async () => {
});
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
:url="`Routes/${entityId}`"
:filter="filter"
:title="null"
@ -69,7 +69,7 @@ onMounted(async () => {
<template #menu="{ entity }">
<RouteDescriptorMenu :route="entity" />
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>
<i18n>
es:

View File

@ -30,7 +30,7 @@ const entityId = computed(() => {
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
:url="`Roadmaps/${entityId}`"
:filter="filter"
data-key="Roadmap"
@ -51,7 +51,7 @@ const entityId = computed(() => {
<template #menu="{ entity }">
<RoadmapDescriptorMenu :route="entity" />
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>
<i18n>
es:

View File

@ -20,7 +20,7 @@ const route = useRoute();
const entityId = computed(() => props.id || route.params.id);
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
:url="`Vehicles/${entityId}`"
data-key="Vehicle"
title="numberPlate"
@ -53,7 +53,7 @@ const entityId = computed(() => props.id || route.params.id);
<VnLv :label="$t('globals.model')" :value="entity.model" />
<VnLv :label="$t('globals.country')" :value="entity.countryCodeFk" />
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>
<i18n>
es:

View File

@ -24,7 +24,7 @@ const entityId = computed(() => {
});
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
:url="`Shelvings/${entityId}`"
:filter="filter"
title="code"
@ -45,5 +45,5 @@ const entityId = computed(() => {
<template #menu="{ entity }">
<ShelvingDescriptorMenu :shelving="entity" />
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>

View File

@ -16,7 +16,7 @@ const route = useRoute();
const entityId = computed(() => props.id || route.params.id);
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
data-key="Parking"
:url="`Parkings/${entityId}`"
title="code"
@ -28,5 +28,5 @@ const entityId = computed(() => props.id || route.params.id);
<VnLv :label="$t('parking.pickingOrder')" :value="entity.pickingOrder" />
<VnLv :label="$t('parking.sector')" :value="entity.sector?.description" />
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>

View File

@ -61,7 +61,7 @@ const getEntryQueryParams = (supplier) => {
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
:url="`Suppliers/${entityId}`"
:filter="filter"
data-key="Supplier"
@ -136,7 +136,7 @@ const getEntryQueryParams = (supplier) => {
</QBtn>
</QCardActions>
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>
<i18n>

View File

@ -57,7 +57,7 @@ function getInfo() {
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
:url="`Tickets/${entityId}`"
:filter="filter"
data-key="Ticket"
@ -155,7 +155,7 @@ function getInfo() {
</QBtn>
</QCardActions>
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>
<i18n>

View File

@ -31,7 +31,7 @@ const setData = (entity) => (data.value = useCardDescription(entity.ref, entity.
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
:url="`Travels/${entityId}`"
:title="data.title"
:subtitle="data.subtitle"
@ -79,7 +79,7 @@ const setData = (entity) => (data.value = useCardDescription(entity.ref, entity.
</QBtn>
</QCardActions>
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>
<i18n>

View File

@ -52,7 +52,7 @@ const handlePhotoUpdated = (evt = false) => {
};
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
ref="cardDescriptorRef"
:data-key="dataKey"
:summary="$props.summary"
@ -167,7 +167,7 @@ const handlePhotoUpdated = (evt = false) => {
</QBtn>
</QCardActions>
</template>
</EntityDescriptoror>
</EntityDescriptor>
<VnChangePassword
ref="changePassRef"
:submit-fn="

View File

@ -40,7 +40,7 @@ const removeDepartment = async () => {
const { openConfirmationModal } = useVnConfirm();
</script>
<template>
<EntityDescriptoror
<EntityDescriptor
ref="DepartmentDescriptorRef"
:url="`Departments/${entityId}`"
:summary="$props.summary"
@ -95,7 +95,7 @@ const { openConfirmationModal } = useVnConfirm();
</QBtn>
</QCardActions>
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>
<i18n>

View File

@ -25,7 +25,7 @@ const entityId = computed(() => {
</script>
<template>
<EntityDescriptoror :url="`Zones/${entityId}`" :filter="filter" data-key="Zone">
<EntityDescriptor :url="`Zones/${entityId}`" :filter="filter" data-key="Zone">
<template #menu="{ entity }">
<ZoneDescriptorMenuItems :zone="entity" />
</template>
@ -36,5 +36,5 @@ const entityId = computed(() => {
<VnLv :label="$t('list.price')" :value="toCurrency(entity.price)" />
<VnLv :label="$t('zone.bonus')" :value="toCurrency(entity.bonus)" />
</template>
</EntityDescriptoror>
</EntityDescriptor>
</template>