fix: align permission navigation and page access
This commit is contained in:
@@ -18,6 +18,14 @@ export class DepositsService {
|
||||
private studentRepo: Repository<Student>,
|
||||
) {}
|
||||
|
||||
async getStudentLookups() {
|
||||
return this.studentRepo.find({
|
||||
select: ['id', 'name', 'studentNo'],
|
||||
where: { status: 'active' },
|
||||
order: { name: 'ASC' },
|
||||
});
|
||||
}
|
||||
|
||||
async findAll(query?: { studentId?: number; status?: string }) {
|
||||
const qb = this.repo
|
||||
.createQueryBuilder('d')
|
||||
|
||||
Reference in New Issue
Block a user