KI-AGENT: Positive Geldtransitbuchungen in der BWA berücksichtigen
All checks were successful
Build and Push Docker Images / build-backend (push) Successful in 22s
Build and Push Docker Images / build-frontend (push) Successful in 1m11s
Build and Push Docker Images / build-website (push) Successful in 22s
Build and Push Docker Images / build-central-services-api (push) Successful in 21s
Build and Push Docker Images / build-central-services-admin (push) Successful in 22s
Build and Push Docker Images / build-docs (push) Successful in 22s

This commit is contained in:
2026-09-07 20:14:37 +02:00
parent dd063fd648
commit 36969e272d

View File

@@ -154,12 +154,21 @@ const filteredStatementAllocations = computed(() => {
return statementAllocations.value.filter((allocation) => matchesSelectedPeriod(getStatementDate(allocation)))
})
const filteredAccountStatementAllocations = computed(() => {
const filteredDirectAccountStatementAllocations = computed(() => {
return filteredStatementAllocations.value.filter((allocation) => {
if (allocation.account === null || allocation.account === undefined) {
return false
}
return !allocation?.incominginvoice
&& !allocation?.createddocument
&& !allocation?.ii_id
&& !allocation?.cd_id
})
})
const filteredAccountStatementAllocations = computed(() => {
return filteredDirectAccountStatementAllocations.value.filter((allocation) => {
return getStatementAllocationImmediateExpenseAmount(allocation) > 0
})
})
@@ -298,8 +307,7 @@ const accountRows = computed(() => {
}))
})
const directBookings = filteredAccountStatementAllocations.value
.filter((allocation) => getStatementAllocationImmediateExpenseAmount(allocation) > 0)
const directBookings = filteredDirectAccountStatementAllocations.value
.filter((allocation) => sameId(allocation.account?.id || allocation.account, account.id))
.map((allocation) => {
const amount = Number(allocation.amount || 0)