KI-AGENT: Ausgabenbetrag im Betriebsergebnis abziehen
All checks were successful
Build and Push Docker Images / build-backend (push) Successful in 23s
Build and Push Docker Images / build-frontend (push) Successful in 1m12s
Build and Push Docker Images / build-website (push) Successful in 23s
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 21s
All checks were successful
Build and Push Docker Images / build-backend (push) Successful in 23s
Build and Push Docker Images / build-frontend (push) Successful in 1m12s
Build and Push Docker Images / build-website (push) Successful in 23s
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 21s
This commit is contained in:
@@ -132,7 +132,7 @@ const loadSummary = async () => {
|
|||||||
income: Number(income.toFixed(2)),
|
income: Number(income.toFixed(2)),
|
||||||
expenses: Number(expenses.toFixed(2)),
|
expenses: Number(expenses.toFixed(2)),
|
||||||
depreciations: Number(depreciations.toFixed(2)),
|
depreciations: Number(depreciations.toFixed(2)),
|
||||||
result: Number((income - expenses).toFixed(2)),
|
result: Number((income - Math.abs(expenses)).toFixed(2)),
|
||||||
taxBalance: Number((outputTax - inputTax).toFixed(2)),
|
taxBalance: Number((outputTax - inputTax).toFixed(2)),
|
||||||
incomeCount: outputDocs.length,
|
incomeCount: outputDocs.length,
|
||||||
expenseCount: inputDocs.filter((invoice: any) => getIncomingInvoiceImmediateExpenseNet(invoice) > 0).length + directAccountAllocations.filter((allocation: any) => getStatementAllocationImmediateExpenseAmount(allocation) > 0).length,
|
expenseCount: inputDocs.filter((invoice: any) => getIncomingInvoiceImmediateExpenseNet(invoice) > 0).length + directAccountAllocations.filter((allocation: any) => getStatementAllocationImmediateExpenseAmount(allocation) > 0).length,
|
||||||
|
|||||||
@@ -244,7 +244,7 @@ const taxSummary = computed(() => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const operatingResult = computed(() => {
|
const operatingResult = computed(() => {
|
||||||
return Number((incomeTotal.value - expenseNetTotal.value).toFixed(2))
|
return Number((incomeTotal.value - Math.abs(expenseNetTotal.value)).toFixed(2))
|
||||||
})
|
})
|
||||||
|
|
||||||
const incomeDocumentCount = computed(() => filteredDocuments.value.length)
|
const incomeDocumentCount = computed(() => filteredDocuments.value.length)
|
||||||
|
|||||||
Reference in New Issue
Block a user