add pending to status
This commit is contained in:
@@ -127,6 +127,7 @@ class SafetyAndPrivacyController extends Controller
|
||||
'action_picture' => FileFacade::save($request->action_picture, "safety_and_privacy/{$safetyAndPrivacy->id}/action_picture"),
|
||||
'action_picture_document_upload_date' => now(),
|
||||
'action_date' => $request->action_date,
|
||||
'is_finished' => true
|
||||
]);
|
||||
|
||||
$user->addActivityComplete(1136);
|
||||
@@ -223,7 +224,8 @@ class SafetyAndPrivacyController extends Controller
|
||||
{
|
||||
$safetyAndPrivacy->update([
|
||||
'is_finished' => $request->is_finished,
|
||||
'final_description' => $request->final_description
|
||||
'final_description' => $request->final_description,
|
||||
'status' => SafetyAndPrivacyStatus::PENDING->value,
|
||||
]);
|
||||
|
||||
return $this->successResponse();
|
||||
|
||||
Reference in New Issue
Block a user