From 3e27c715598f40b542113af3a5e47a21da938ba3 Mon Sep 17 00:00:00 2001 From: Nasir Khan Saikat Date: Fri, 17 Mar 2023 22:11:31 +0600 Subject: [PATCH 1/2] form ui fix --- Modules/Article/Resources/views/backend/posts/form.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Article/Resources/views/backend/posts/form.blade.php b/Modules/Article/Resources/views/backend/posts/form.blade.php index a37c9a6fc..cb88e4195 100644 --- a/Modules/Article/Resources/views/backend/posts/form.blade.php +++ b/Modules/Article/Resources/views/backend/posts/form.blade.php @@ -181,7 +181,7 @@
{{ html()->text($field_name)->placeholder($field_placeholder)->class('form-control datetimepicker-input')->attributes(["$required", 'data-target'=>"#$field_name"]) }}
-
+   
From 16b4c18cd8091760decf3815d7d771d5d92cdc4d Mon Sep 17 00:00:00 2001 From: Nasir Khan Saikat Date: Sun, 19 Mar 2023 18:51:39 +0600 Subject: [PATCH 2/2] User Profile Delete/restore issue fixed. resolved #398 --- app/Http/Controllers/Backend/UserController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Http/Controllers/Backend/UserController.php b/app/Http/Controllers/Backend/UserController.php index 56cd4c01c..2ecbdaf7d 100644 --- a/app/Http/Controllers/Backend/UserController.php +++ b/app/Http/Controllers/Backend/UserController.php @@ -731,8 +731,11 @@ public function restore($id) $module_action = 'Restore'; $$module_name_singular = $module_model::withTrashed()->find($id); + $$module_name_singular->restore(); + $$module_name_singular->userprofile()->withTrashed()->restore(); + event(new UserUpdated($$module_name_singular)); flash(' '.$$module_name_singular->name.' Successfully Restoreded!')->success();