chore: approve invoice, reports for admin dashboard
This commit is contained in:
@@ -299,4 +299,18 @@ export class DanakServicesService {
|
||||
review,
|
||||
};
|
||||
}
|
||||
|
||||
/******************************************** */
|
||||
|
||||
async getServicesCount() {
|
||||
const count = await this.danakServicesRepository.count({
|
||||
where: {
|
||||
isActive: true,
|
||||
},
|
||||
});
|
||||
|
||||
return count;
|
||||
}
|
||||
|
||||
/******************************************** */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user