diff --git a/app/Services/Report/ReportManager.php b/app/Services/Report/ReportManager.php index 0048be3..5826a08 100644 --- a/app/Services/Report/ReportManager.php +++ b/app/Services/Report/ReportManager.php @@ -45,8 +45,8 @@ public function createReport(string $content, ReportStatus $status): StudyReport { $report = StudyReport::make([ 'study_id' => $this->study->id, - 'institute_id' => $this->study->institute_id, - 'facility_id' => $this->study->facility_id, + 'organization_id' => $this->study->organization_id, + 'department_id' => $this->study->department_id, 'report_status' => $status->value, 'read_by_id' => me()->id, ]);