Fixed Createddocuments in Projects

Fixed FinalInvoices
This commit is contained in:
2025-09-16 18:29:20 +02:00
parent 55ac79c717
commit 4ae55a4956
3 changed files with 4 additions and 3 deletions

View File

@@ -181,7 +181,7 @@ const selectItem = (item) => {
<UButton
@click="showFinalInvoiceConfig = true"
v-if="props.topLevelType === 'projects'"
:disabled="!props.item.createddocuments.filter(i => !i.archived && i.type === 'advanceInvoices').length > 0"
:disabled="!props.item.createddocuments?.filter(i => !i.archived && i.type === 'advanceInvoices').length > 0"
>
+ Schlussrechnung
</UButton>