Fix Calc in Banking Index

Show Document Ref instead of Partner Ref
This commit is contained in:
2025-04-14 15:11:18 +02:00
parent 7750415e9a
commit dd10760da1
2 changed files with 4 additions and 4 deletions

View File

@@ -75,10 +75,10 @@ const calculateOpenSum = (statement) => {
let startingAmount = 0
statement.statementallocations.forEach(item => {
startingAmount += Math.abs(item.amount)
startingAmount += item.amount
})
return (Math.abs(statement.amount) - startingAmount).toFixed(2)
return (statement.amount - startingAmount).toFixed(2)
}
const selectedFilters = ref(['Nur offene anzeigen'])