Removed Unused Function
This commit is contained in:
@@ -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) => {
|
const isPaid = (item) => {
|
||||||
let amountPaid = 0
|
let amountPaid = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user