chore: approve invoice, reports for admin dashboard

This commit is contained in:
Matin
2025-02-22 16:04:26 +03:30
parent e711ffd3ee
commit 3b0120d338
12 changed files with 448 additions and 8 deletions
@@ -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) {