Ticket components #522

Merged
jsegarra merged 8 commits from :feature/TicketComponents into dev 2024-07-08 08:15:01 +00:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 2b0b470120 - Show all commits

View File

@ -58,7 +58,7 @@ const salesFilter = computed(() => ({
include: {
relation: 'componentType',
scope: {
fields: ['type', 'isBase'],
fields: ['type', 'isBase', 'name'],
},
},
},
@ -169,7 +169,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
<template>
<FetchData
ref="salesRef"
url="sales"
url="Sales"
:filter="salesFilter"
@on-fetch="(data) => (components = data)"
auto-load
@ -323,7 +323,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
<QTd>
<div class="column">
<span v-for="(saleComponent, index) in row.components" :key="index">
{{ saleComponent.component?.componentType?.type }}
{{ saleComponent.component?.componentType?.name }}
</span>
</div>
</QTd>