Fixed Open Calc

This commit is contained in:
2025-04-22 09:37:59 +02:00
parent 34b566343f
commit e3196460b9

View File

@@ -305,7 +305,7 @@ const isPaid = (item) => {
let amountPaid = 0
item.statementallocations.forEach(allocation => amountPaid += allocation.amount)
return Number(amountPaid.toFixed(2)) === Number(calculateDocSum(item))
return Number(amountPaid.toFixed(2)) === useSum().getCreatedDocumentSum(item, items.value)
}
</script>