feat: add messaging toggles, password reset UI, and payment discounts

Add notification channel toggles to settings, password reset SMS action on user form, and discount/payable amount display on payment views.
This commit is contained in:
2026-08-16 06:58:09 +03:30
parent 5fe7eb090e
commit 92eb394466
8 changed files with 361 additions and 21 deletions
+5
View File
@@ -7,6 +7,11 @@ export const userApi = {
getOne: (id) => axiosInstance.get(`/users/admin/get-one/${id}`),
create: (data) => axiosInstance.post('/users/admin/create', data),
update: (id, data) => axiosInstance.put(`/users/admin/update/${id}`, data),
resetPasswordAndSms: (id) => axiosInstance.post(
`/users/admin/${id}/reset-password-sms`,
{},
{ timeout: 30000 }
),
delete: (id) => axiosInstance.delete(`/users/admin/delete/${id}`),
enroll: (userId, data) => axiosInstance.post(`/users/admin/${userId}/enroll`, data)
};