From 6926f9f6a1ddf2e45e0cf05636c25f1ff4525eca Mon Sep 17 00:00:00 2001 From: Masroor Ehsan Date: Thu, 23 Jan 2025 18:03:49 +0600 Subject: [PATCH] FIX org/dept --- app/Services/Report/ReportManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, ]);