feat: remove button
gitea/salix-front/pipeline/pr-master This commit looks good Details

This commit is contained in:
Javier Segarra 2024-11-13 12:52:12 +01:00
parent b2c9a7863c
commit 6ac52e0b5f
3 changed files with 6 additions and 26 deletions

View File

@ -303,11 +303,3 @@ const toModule = computed(() =>
}
}
</style>
<style lang="scss">
.q-card__actions {
.q-btn--rectangle {
padding: 0 5px;
}
justify-content: center;
}
</style>

View File

@ -155,23 +155,6 @@ const debtWarning = computed(() => {
</template>
<template #actions="{ entity }">
<QCardActions class="flex justify-center" style="padding-inline: 0">
<QBtn
:to="{
name: 'TicketList',
query: {
from: undefined,
to: undefined,
table: JSON.stringify({
clientFk: entity.id,
}),
},
}"
size="md"
icon="vn:ticket"
color="primary"
>
<QTooltip>{{ t('Customer ticket list') }}</QTooltip>
</QBtn>
<QBtn
:to="{
name: 'TicketList',

View File

@ -311,7 +311,12 @@ const creditWarning = computed(() => {
/>
</QCard>
<QCard class="vn-one">
<VnTitle :text="t('Latest tickets')" />
<VnTitle
:text="t('Latest tickets')"
:url="`#/ticket?table=${JSON.stringify({
clientFk: entity.id,
})}`"
/>
<CustomerSummaryTable />
</QCard>
</template>