Added Buttons for all connected Documents
This commit is contained in:
@@ -105,12 +105,21 @@ const openBankstatements = () => {
|
|||||||
Kunde
|
Kunde
|
||||||
</UButton>
|
</UButton>
|
||||||
<UButton
|
<UButton
|
||||||
v-if="itemInfo.linkedDocument"
|
v-if="itemInfo.createddocument"
|
||||||
@click="router.push(`/standardEntity/createDocument/show/${itemInfo.linkedDocument}`)"
|
@click="router.push(`/createDocument/show/${itemInfo.createddocument}`)"
|
||||||
icon="i-heroicons-link"
|
icon="i-heroicons-link"
|
||||||
variant="outline"
|
variant="outline"
|
||||||
>
|
>
|
||||||
{{dataStore.documentTypesForCreation[itemInfo.linkedDocument.type].labelSingle}} - {{itemInfo.linkedDocument.documentNumber}}
|
{{dataStore.documentTypesForCreation[itemInfo.createddocument.type].labelSingle}} - {{itemInfo.createddocument.documentNumber}}
|
||||||
|
</UButton>
|
||||||
|
<UButton
|
||||||
|
v-for="item in itemInfo.createddocuments"
|
||||||
|
v-if="itemInfo.createddocuments"
|
||||||
|
@click="router.push(`/createDocument/show/${item.id}`)"
|
||||||
|
icon="i-heroicons-link"
|
||||||
|
variant="outline"
|
||||||
|
>
|
||||||
|
{{dataStore.documentTypesForCreation[item.type].labelSingle}} - {{item.documentNumber}}
|
||||||
</UButton>
|
</UButton>
|
||||||
<UButton
|
<UButton
|
||||||
v-if="itemInfo.statementallocations?.length > 0"
|
v-if="itemInfo.statementallocations?.length > 0"
|
||||||
|
|||||||
Reference in New Issue
Block a user