Removed Unused Function

This commit is contained in:
2025-07-22 17:46:27 +02:00
parent e3c3a5c444
commit 58ef4ec620

View File

@@ -310,17 +310,6 @@ const filteredRows = computed(() => {
})
const calculateDocSum = (row) => {
let sum = 0
row.rows.forEach(row => {
if(row.mode === "normal" || row.mode === "service" || row.mode === "free") {
sum += row.quantity * row.price * (1 - row.discountPercent / 100) * (1 + (row.taxPercent || 0) / 100)
}
})
return sum.toFixed(2)
}
const isPaid = (item) => {
let amountPaid = 0