feat: #6942 Create Ticket or Order with data filtered by clientId
gitea/salix-front/pipeline/pr-master This commit looks good Details

This commit is contained in:
Javier Segarra 2024-10-04 01:32:11 +02:00
parent 0b752cdb0d
commit 5770c344c8
1 changed files with 12 additions and 2 deletions

View File

@ -173,7 +173,12 @@ const setData = (entity) => (data.value = useCardDescription(entity?.name, entit
target="_blank"
:to="{
name: 'TicketList',
query: { createForm: JSON.stringify({ clientId: entity.id }) },
query: {
table: JSON.stringify({
clientFk: entity.id,
}),
createForm: JSON.stringify({ clientId: entity.id }),
},
}"
size="md"
color="primary"
@ -205,7 +210,12 @@ const setData = (entity) => (data.value = useCardDescription(entity?.name, entit
<QBtn
:to="{
name: 'OrderList',
query: { createForm: JSON.stringify({ clientFk: entity.id }) },
query: {
table: JSON.stringify({
clientFk: entity.id,
}),
createForm: JSON.stringify({ clientFk: entity.id }),
},
}"
size="md"
target="_blank"