Removed Logs
This commit is contained in:
@@ -68,22 +68,18 @@ const setup = async () => {
|
||||
|
||||
expenseData.value = expenseMonths
|
||||
|
||||
console.log(incomeRawData)
|
||||
|
||||
incomeRawData = incomeRawData.map(i => {
|
||||
let amount = 0
|
||||
|
||||
i.rows.forEach(r => {
|
||||
console.log("New Row")
|
||||
if(r.mode !== "pagebreak" && r.mode !== "title" && r.mode !== "text"){
|
||||
amount += r.price * r.quantity * (1 - r.discountPercent/100)
|
||||
}
|
||||
console.log(amount)
|
||||
})
|
||||
|
||||
amount = Number(amount.toFixed(2))
|
||||
|
||||
console.log(amount)
|
||||
return {
|
||||
id: i.id,
|
||||
date: dayjs(i.documentDate).format("DD-MM-YY"),
|
||||
|
||||
Reference in New Issue
Block a user