0
0
Fork 0

fix: comments

This commit is contained in:
Javier Segarra 2024-06-19 13:43:32 +02:00
parent db67fd1e43
commit 3fdad15f21
1 changed files with 9 additions and 39 deletions

View File

@ -131,7 +131,7 @@ const detailsColumns = ref([
auto-load auto-load
/> />
<QPage :key="componentKey" class="column items-center q-pa-md"> <QPage :key="componentKey" class="column items-center q-pa-md">
<div class="order-list"> <div class="order-list full-width">
<div v-if="!orderSummary.total" class="no-result"> <div v-if="!orderSummary.total" class="no-result">
{{ t('globals.noResults') }} {{ t('globals.noResults') }}
</div> </div>
@ -213,46 +213,21 @@ const detailsColumns = ref([
</span> </span>
</QTd> </QTd>
</template> </template>
<template #body-cell-description="{ value }"> <template #body-cell-description="{ row, value }">
<QTd class="description-cell"> <QTd>
<FetchedTags <div
:item="value" class="row column full-width justify-between flex-start"
:max-length="6" style="align-items: flex-start"
class="fetched-tags" >
/>
<div class="row full-width justify-between">
{{ value }} {{ value }}
<div v-if="value" class="subName"> <div v-if="value" class="subName">
{{ value.toUpperCase() }} {{ value.toUpperCase() }}
</div> </div>
</div> </div>
<FetchedTags :item="row.item" :max-length="6" />
</QTd> </QTd>
</template> </template>
<template #body-cell-warehouse="{ value }">
<QTd>
{{ value }}
</QTd>
</template>
<template #body-cell-shipped="{ value }">
<QTd>
{{ value }}
</QTd>
</template>
<template #body-cell-quantity="{ value }">
<QTd>
{{ value }}
</QTd>
</template>
<template #body-cell-price="{ value }">
<QTd>
{{ value }}
</QTd>
</template>
<template #body-cell-amount="{ value }">
<QTd>
{{ value }}
</QTd>
</template>
<template #body-cell-actions="{ value }"> <template #body-cell-actions="{ value }">
<QTd> <QTd>
<QIcon <QIcon
@ -261,7 +236,6 @@ const detailsColumns = ref([
size="sm" size="sm"
class="cursor-pointer" class="cursor-pointer"
@click.stop="confirmRemove(value)" @click.stop="confirmRemove(value)"
style="margin-left: 40%"
> >
<QTooltip>{{ t('Remove thermograph') }}</QTooltip> <QTooltip>{{ t('Remove thermograph') }}</QTooltip>
</QIcon> </QIcon>
@ -324,10 +298,6 @@ const detailsColumns = ref([
text-align: center; text-align: center;
} }
.description-cell {
width: 25%;
}
.subName { .subName {
text-transform: uppercase; text-transform: uppercase;
color: var(--vn-label-color); color: var(--vn-label-color);