refx
This commit is contained in:
parent
72def5d9dd
commit
52fa74197f
@ -51,16 +51,18 @@ public function save(StoreReportRequest $request)
|
||||
|
||||
if ($reportStatus->value === ReportStatus::Finalized->value) {
|
||||
$report->setStatus($reportStatus);
|
||||
|
||||
$study->setReportStatus($reportStatus);
|
||||
audit()
|
||||
->on($study)
|
||||
->did(Activity::Report_Finalize)
|
||||
->log();
|
||||
|
||||
$study->unlockStudy();
|
||||
audit()
|
||||
->on($study)
|
||||
->did(Activity::Study_Unlock)
|
||||
->log();
|
||||
$study->unlockStudy();
|
||||
}
|
||||
|
||||
return view('staff.reports.close-window');
|
||||
|
Loading…
Reference in New Issue
Block a user