From 65eea49aa49d1e1bc46f0188f38e451b1e4b03de Mon Sep 17 00:00:00 2001 From: amirghasempoor Date: Wed, 23 Apr 2025 12:00:01 +0330 Subject: [PATCH] debug mass assignment --- .../Controllers/V3/Dashboard/SafetyAndPrivacyController.php | 4 ++-- app/Models/SafetyAndPrivacy.php | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/V3/Dashboard/SafetyAndPrivacyController.php b/app/Http/Controllers/V3/Dashboard/SafetyAndPrivacyController.php index 06f215fd..36d41115 100644 --- a/app/Http/Controllers/V3/Dashboard/SafetyAndPrivacyController.php +++ b/app/Http/Controllers/V3/Dashboard/SafetyAndPrivacyController.php @@ -84,7 +84,6 @@ class SafetyAndPrivacyController extends Controller 'step' => $step, 'step_fa' => SafetyAndPrivacySteps::name($step), 'is_finished' => false, - 'final_description' => 'پیام سیستمی : این عملیات پس از طی تمامی گام ها خاتمه یافت' ]); $safety_and_privacy->recognize_picture = $request->has('recognize_picture') ? @@ -134,7 +133,8 @@ 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 + 'is_finished' => true, + 'final_description' => 'پیام سیستمی : این عملیات پس از طی تمامی گام ها خاتمه یافت' ]); $user->addActivityComplete(1136); diff --git a/app/Models/SafetyAndPrivacy.php b/app/Models/SafetyAndPrivacy.php index d1c6cc3f..78660895 100644 --- a/app/Models/SafetyAndPrivacy.php +++ b/app/Models/SafetyAndPrivacy.php @@ -40,7 +40,8 @@ class SafetyAndPrivacy extends Model 'status', 'final_description', 'is_finished', - 'supervisor_description' + 'supervisor_description', + 'status_fa' ]; public $table = "safety_and_privacy";