chore: approve invoice, reports for admin dashboard
This commit is contained in:
@@ -307,6 +307,17 @@ export class TicketsService {
|
||||
}
|
||||
|
||||
//******************************** */
|
||||
|
||||
async getUnreadTickets() {
|
||||
const unreadTickets = await this.ticketsRepository.count({
|
||||
where: {
|
||||
status: TicketStatus.PENDING,
|
||||
},
|
||||
});
|
||||
return unreadTickets;
|
||||
}
|
||||
|
||||
//******************************** */
|
||||
}
|
||||
|
||||
// async getTickets(queryDto: SearchTicketQueryDto, userId: string) {
|
||||
|
||||
Reference in New Issue
Block a user