Fix unpaid items are counted (#1595)
* Fix unpaid items are counted * Also fix for ncomments * Never count unpaid items
This commit is contained in:
parent
9c55f1ebe2
commit
79ada2ab58
@ -946,7 +946,8 @@ export default {
|
|||||||
createdAt: {
|
createdAt: {
|
||||||
gte,
|
gte,
|
||||||
lte
|
lte
|
||||||
}
|
},
|
||||||
|
OR: [{ invoiceActionState: 'PAID' }, { invoiceActionState: null }]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@ -963,7 +964,8 @@ export default {
|
|||||||
createdAt: {
|
createdAt: {
|
||||||
gte,
|
gte,
|
||||||
lte
|
lte
|
||||||
}
|
},
|
||||||
|
OR: [{ invoiceActionState: 'PAID' }, { invoiceActionState: null }]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@ -980,7 +982,8 @@ export default {
|
|||||||
createdAt: {
|
createdAt: {
|
||||||
gte,
|
gte,
|
||||||
lte
|
lte
|
||||||
}
|
},
|
||||||
|
OR: [{ invoiceActionState: 'PAID' }, { invoiceActionState: null }]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user