Merge branch 'dev' into beta
This commit is contained in:
@@ -56,6 +56,8 @@ const setRowData = (row) => {
|
||||
|
||||
row.unit = product.unit
|
||||
row.price = product.sellingPrice
|
||||
|
||||
calculateTotalMaterialPrice()
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
@@ -57,6 +57,8 @@ const setRowData = (row) => {
|
||||
|
||||
row.purchasePrice = hourrate.purchasePrice
|
||||
row.price = hourrate.sellingPrice
|
||||
|
||||
calculateTotalPersonalPrice()
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user