KI-AGENT: Positive Kontobuchungen mit BWA-Ausgaben verrechnen
All checks were successful
Build and Push Docker Images / build-backend (push) Successful in 21s
Build and Push Docker Images / build-frontend (push) Successful in 1m10s
Build and Push Docker Images / build-website (push) Successful in 22s
Build and Push Docker Images / build-central-services-api (push) Successful in 22s
Build and Push Docker Images / build-central-services-admin (push) Successful in 21s
Build and Push Docker Images / build-docs (push) Successful in 1m20s

This commit is contained in:
2026-09-07 20:50:24 +02:00
parent e4fcd79c8e
commit b89fdedeae
3 changed files with 23 additions and 19 deletions

View File

@@ -10,7 +10,8 @@ import {
getIncomingInvoiceImmediateExpenseNet,
isDepreciationBookingMode,
normalizeIncomingInvoiceAccount,
getStatementAllocationImmediateExpenseAmount
getStatementAllocationImmediateExpenseAmount,
getStatementAllocationImmediateExpenseImpact
} from "~/composables/useDepreciation"
const router = useRouter()
@@ -190,8 +191,8 @@ const expenseNetTotal = computed(() => {
return sum + getIncomingInvoiceImmediateExpenseNet(invoice)
}, 0)
const directAccountExpenses = filteredAccountStatementAllocations.value.reduce((sum, allocation) => {
return sum + Number(getStatementAllocationImmediateExpenseAmount(allocation) || 0)
const directAccountExpenses = filteredStatementAllocations.value.reduce((sum, allocation) => {
return sum + Number(getStatementAllocationImmediateExpenseImpact(allocation) || 0)
}, 0)
const depreciations = depreciationTotal.value
@@ -202,8 +203,8 @@ const expenseNetTotal = computed(() => {
const expenseGrossTotal = computed(() => {
const invoiceExpenses = filteredIncomingInvoices.value.reduce((sum, invoice) => sum + getIncomingInvoiceImmediateExpenseGross(invoice), 0)
const directAccountExpenses = filteredAccountStatementAllocations.value.reduce((sum, allocation) => {
return sum + Number(getStatementAllocationImmediateExpenseAmount(allocation) || 0)
const directAccountExpenses = filteredStatementAllocations.value.reduce((sum, allocation) => {
return sum + Number(getStatementAllocationImmediateExpenseImpact(allocation) || 0)
}, 0)
const depreciations = depreciationTotal.value