them log, chinh upload
This commit is contained in:
@@ -38,8 +38,20 @@ class ClosingService
|
||||
]);
|
||||
}
|
||||
|
||||
$previousStatus = $feedback->status;
|
||||
|
||||
$feedback->update(['status' => 'closed']);
|
||||
|
||||
ActivityLogger::log(
|
||||
'close',
|
||||
__('feedback.log_close', ['title' => $feedback->title]),
|
||||
$feedback,
|
||||
[
|
||||
'feedback_id' => $feedback->id,
|
||||
'previous_status' => $previousStatus,
|
||||
],
|
||||
);
|
||||
|
||||
$this->notifyStakeholders($feedback, $actor);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user