Fixed Createddocuments in Projects
Fixed FinalInvoices
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user