feat(doctor): imported IRIMC doctors are active by default

Per request, doctors created via import now set active_doctor_appointment
= true (was false). DoctorImportTest updated to assert active.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
hamed
2026-07-11 14:20:42 +03:30
co-authored by Claude Opus 4.8
parent 51432c7bb9
commit 3dcd4f3b26
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ class DoctorImportService
$doctor = new Doctor($user, $name);
$doctor->setSource($source);
$doctor->setOwnerStatus('unclaimed');
$doctor->setActiveDoctorAppointment(false); // تا مالک واقعی برنامهٔ کاری بسازد
$doctor->setActiveDoctorAppointment(true); // پزشک ایمپورت‌شده فعال باشد
$created = true;
}