Merge branch 'dev' into beta

This commit is contained in:
2025-04-22 09:38:06 +02:00
3 changed files with 5 additions and 1 deletions

View File

@@ -56,6 +56,8 @@ const setRowData = (row) => {
row.unit = product.unit
row.price = product.sellingPrice
calculateTotalMaterialPrice()
}
</script>

View File

@@ -57,6 +57,8 @@ const setRowData = (row) => {
row.purchasePrice = hourrate.purchasePrice
row.price = hourrate.sellingPrice
calculateTotalPersonalPrice()
}
</script>

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>