refactor: enhance payment handling by adding frontend_address to payment payload and implement PaymentDetailsPage component

This commit is contained in:
hamed
2025-11-18 21:37:05 +03:30
parent df54983fa3
commit 430e0b3b11
3 changed files with 234 additions and 1 deletions
+1
View File
@@ -68,6 +68,7 @@ export const request = {
),
postAppointment: (data) => api.post(`api/v1/appointment`, data, { requireAuth: true }),
postPayment: (data) => api.post(`api/v1/payment`, data, { requireAuth: true }),
getPayment: (uuid) => api.get(`api/v1/payment/${uuid}`, { requireAuth: true }),
postDoctor: (data) => api.post("api/v1/doctor", data),
postImageUpload: (data) =>
api.post("file/upload/clinic_pro/doctor/field_image", data, {