Fix unpaid items are counted (#1595)

* Fix unpaid items are counted

* Also fix for ncomments

* Never count unpaid items
This commit is contained in:
ekzyis 2024-11-16 03:02:15 +01:00 committed by GitHub
parent 9c55f1ebe2
commit 79ada2ab58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 3 deletions

View File

@ -946,7 +946,8 @@ export default {
createdAt: {
gte,
lte
}
},
OR: [{ invoiceActionState: 'PAID' }, { invoiceActionState: null }]
}
})
},
@ -963,7 +964,8 @@ export default {
createdAt: {
gte,
lte
}
},
OR: [{ invoiceActionState: 'PAID' }, { invoiceActionState: null }]
}
})
},
@ -980,7 +982,8 @@ export default {
createdAt: {
gte,
lte
}
},
OR: [{ invoiceActionState: 'PAID' }, { invoiceActionState: null }]
}
})
},