feat: add doctor invitation modal and appointment creation API

- Implemented InviteDoctorModal component for inviting doctors to clinics.
- Updated ClinicDashboard to include a button for inviting doctors and handle modal state.
- Added createAppointment API endpoint in AdminApiController for scheduling appointments.
- Enhanced ClinicInvitationController to check user access when inviting doctors.
- Updated MyAppointmentsController to ensure unique appointment records.
- Added seed_test_data.php for populating test data including doctors, clinics, and appointments.
- Refactored styles to include new appointment status badges and updated font imports.
This commit is contained in:
hamed
2026-06-11 13:36:54 +03:30
parent 04b51273e3
commit 82e1c264a1
18 changed files with 1095 additions and 274 deletions
+1
View File
@@ -22,6 +22,7 @@
"webpack-cli": "^6.0.0"
},
"dependencies": {
"@fontsource/vazirmatn": "^5.2.8",
"@heroicons/react": "^2.0.0",
"@hookform/resolvers": "^5.4.0",
"@tanstack/react-query": "^5.0.0",