feat: add admin UI for reviewing pending student registrations.

Let staff list, inspect, approve, or reject enrollment and class-request submissions before final enrollment.
This commit is contained in:
2026-08-16 08:42:26 +03:30
parent e977ccd356
commit e87d78c295
7 changed files with 405 additions and 2 deletions
+8
View File
@@ -0,0 +1,8 @@
import axiosInstance from './axiosInstance';
export const pendingStudentApi = {
getAll: (params) => axiosInstance.get('/pending-students/admin/get-all', { params }),
getOne: (id) => axiosInstance.get(`/pending-students/admin/get-one/${id}`),
approve: (id, data = {}) => axiosInstance.post(`/pending-students/admin/${id}/approve`, data),
reject: (id, data = {}) => axiosInstance.post(`/pending-students/admin/${id}/reject`, data)
};