HOTFIX: #6943 CustomerList form salesPersons options #790

Closed
jsegarra wants to merge 84 commits from hotfix_newCustomer_SalesPerson into master
3 changed files with 6 additions and 26 deletions
Showing only changes of commit 6ac52e0b5f - Show all commits

View File

@ -303,11 +303,3 @@ const toModule = computed(() =>
} }
} }
</style> </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>
<template #actions="{ entity }"> <template #actions="{ entity }">
<QCardActions class="flex justify-center" style="padding-inline: 0"> <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 <QBtn
:to="{ :to="{
name: 'TicketList', name: 'TicketList',

View File

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