diff --git a/app/Http/Controllers/Agent/helpdesk/CannedController.php b/app/Http/Controllers/Agent/helpdesk/CannedController.php index 76c13de1e..a764f436f 100644 --- a/app/Http/Controllers/Agent/helpdesk/CannedController.php +++ b/app/Http/Controllers/Agent/helpdesk/CannedController.php @@ -156,7 +156,7 @@ class CannedController extends Controller /* Check whether function success or not */ $canned->delete(); /* redirect to Index page with Success Message */ - return redirect()->route('canned.list')->with('success', Lang::get('lang.user_deleted_successfully')); + return redirect()->route('canned.list')->with('success', Lang::get('lang.canned_response_deleted')); } catch (Exception $e) { /* redirect to Index page with Fails Message */ return redirect()->route('canned.list')->with('fails', $e->getMessage()); diff --git a/resources/lang/en/lang.php b/resources/lang/en/lang.php index b122d5e61..5403ae5ec 100644 --- a/resources/lang/en/lang.php +++ b/resources/lang/en/lang.php @@ -1616,4 +1616,5 @@ return [ 'confihure-the-mail-now' => 'Click here to configure the mail.', 'system-mail-not-configured-agent-message' => 'System incoming and outgoing email settings are not configured. Please contct your system\'s admin and report the problem.', 'ticket-assigned-successfully' => 'Selected tickets have been assigned sucessfully.', + 'canned_response_deleted' => 'Canned response deleted successfully', ]; diff --git a/resources/views/themes/default1/admin/helpdesk/settings/notification.blade.php b/resources/views/themes/default1/admin/helpdesk/settings/notification.blade.php index c5338ce21..a49427a20 100644 --- a/resources/views/themes/default1/admin/helpdesk/settings/notification.blade.php +++ b/resources/views/themes/default1/admin/helpdesk/settings/notification.blade.php @@ -75,7 +75,7 @@ class="active"
{{ csrf_field() }}
{!! Lang::get('lang.noti_msg2') !!}
- +
diff --git a/resources/views/themes/default1/agent/helpdesk/canned/index.blade.php b/resources/views/themes/default1/agent/helpdesk/canned/index.blade.php index e60d36f69..b5acda164 100644 --- a/resources/views/themes/default1/agent/helpdesk/canned/index.blade.php +++ b/resources/views/themes/default1/agent/helpdesk/canned/index.blade.php @@ -54,7 +54,7 @@ class="active" {{$Canned->title }} {!! Form::open(['route'=>['canned.destroy', $Canned->id],'method'=>'DELETE']) !!} - {!! Lang::get('lang.view') !!} + {!! Lang::get('lang.view') !!} {!! Lang::get('lang.edit') !!} {!! Form::button(' '.Lang::get('lang.delete'), ['type' => 'submit', @@ -70,7 +70,7 @@ class="active"