@@ -59,7 +59,7 @@ |
||
59 | 59 | public function delete() |
60 | 60 | { |
61 | 61 | $this->deleteUserNotification(); |
62 | - // $this->dummyDelete(); |
|
62 | + // $this->dummyDelete(); |
|
63 | 63 | parent::delete(); |
64 | 64 | } |
65 | 65 | } |
@@ -30,13 +30,13 @@ |
||
30 | 30 | { |
31 | 31 | return [ |
32 | 32 | |
33 | - 'priority' => 'required|max:10', |
|
33 | + 'priority' => 'required|max:10', |
|
34 | 34 | 'status' => 'required', |
35 | 35 | 'priority_desc' => 'required|max:255', |
36 | 36 | 'priority_color' => 'required', |
37 | - 'ispublic' => 'required', |
|
38 | - 'priority_successfully_updated' => 'priority successfully updated', |
|
39 | - 'priority_successfully_created!!!'=> 'priority successfully created', |
|
37 | + 'ispublic' => 'required', |
|
38 | + 'priority_successfully_updated' => 'priority successfully updated', |
|
39 | + 'priority_successfully_created!!!'=> 'priority successfully created', |
|
40 | 40 | |
41 | 41 | ]; |
42 | 42 | } |
@@ -68,7 +68,7 @@ |
||
68 | 68 | return $rules; |
69 | 69 | case 'mandrill': |
70 | 70 | $rules = [ |
71 | - 'secret'=> 'required', |
|
71 | + 'secret'=> 'required', |
|
72 | 72 | ]; |
73 | 73 | |
74 | 74 | return $rules; |
@@ -135,8 +135,8 @@ |
||
135 | 135 | /* redirect to Index page with Success Message */ |
136 | 136 | if ($request->input('sys_sla') == 'on') { |
137 | 137 | \DB::table('settings_ticket') |
138 | - ->where('id', '=', 1) |
|
139 | - ->update(['sla' => $id]); |
|
138 | + ->where('id', '=', 1) |
|
139 | + ->update(['sla' => $id]); |
|
140 | 140 | } |
141 | 141 | |
142 | 142 | return redirect('sla')->with('success', Lang::get('lang.sla_plan_updated_successfully')); |
@@ -47,7 +47,7 @@ |
||
47 | 47 | $user_status = CommonSettings::where('option_name', '=', 'user_priority')->first(); |
48 | 48 | // dd( $user_status); |
49 | 49 | |
50 | - return view('themes.default1.admin.helpdesk.manage.ticket_priority.index', compact('user_status')); |
|
50 | + return view('themes.default1.admin.helpdesk.manage.ticket_priority.index', compact('user_status')); |
|
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | try { |
176 | 176 | if ($id > 5) { |
177 | 177 | /* fetch the values of company from company table */ |
178 | - \App\Model\helpdesk\Ticket\Ticket_Status::whereId($id)->delete(); |
|
178 | + \App\Model\helpdesk\Ticket\Ticket_Status::whereId($id)->delete(); |
|
179 | 179 | /* Direct to Company Settings Page */ |
180 | 180 | return redirect()->back()->with('success', 'Status has been deleted'); |
181 | 181 | } else { |
@@ -446,7 +446,7 @@ discard block |
||
446 | 446 | public function getSchedular(Email $email, Template $template, Emails $email1) |
447 | 447 | { |
448 | 448 | // try { |
449 | - /* fetch the values of email from Email table */ |
|
449 | + /* fetch the values of email from Email table */ |
|
450 | 450 | $emails = $email->whereId('1')->first(); |
451 | 451 | /* Fetch the values from Template table */ |
452 | 452 | $templates = $template->get(); |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | $debug_new = base_path().DIRECTORY_SEPARATOR.'.env'; |
64 | 64 | $datacontent = File::get($debug_new); |
65 | 65 | $datacontent = str_replace('APP_DEBUG='.$debug, |
66 | - 'APP_DEBUG='.\Input::get('debug'), |
|
66 | + 'APP_DEBUG='.\Input::get('debug'), |
|
67 | 67 | $datacontent); |
68 | 68 | File::put($debug_new, $datacontent); |
69 | 69 | |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | $bugsnag_debug_new = base_path().DIRECTORY_SEPARATOR.'.env'; |
72 | 72 | $datacontent2 = File::get($bugsnag_debug_new); |
73 | 73 | $datacontent2 = str_replace('APP_BUGSNAG='.$bugsnag_debug, |
74 | - 'APP_BUGSNAG='.\Input::get('bugsnag'), |
|
74 | + 'APP_BUGSNAG='.\Input::get('bugsnag'), |
|
75 | 75 | $datacontent2); |
76 | 76 | File::put($bugsnag_debug_new, $datacontent2); |
77 | 77 |
@@ -148,8 +148,8 @@ |
||
148 | 148 | // dd($id); |
149 | 149 | |
150 | 150 | $users = DB::table('team_assign_agent')->select('team_assign_agent.id', 'team_assign_agent.team_id', 'users.user_name', 'users.first_name', 'users.last_name', 'users.active', 'users.assign_group', 'users.primary_dpt', 'users.role') |
151 | - ->join('users', 'users.id', '=', 'team_assign_agent.agent_id') |
|
152 | - ->where('team_assign_agent.team_id', '=', $id); |
|
151 | + ->join('users', 'users.id', '=', 'team_assign_agent.agent_id') |
|
152 | + ->where('team_assign_agent.team_id', '=', $id); |
|
153 | 153 | // ->get(); |
154 | 154 | // dd($users); |
155 | 155 | return \Datatable::query($users) |
@@ -107,7 +107,7 @@ |
||
107 | 107 | $this->getResetValidationCustomAttributes() |
108 | 108 | ); |
109 | 109 | $credentials = $this->getResetCredentials($request); |
110 | - // dd($credentials); |
|
110 | + // dd($credentials); |
|
111 | 111 | $email = $credentials['email']; |
112 | 112 | $password = $credentials['password']; |
113 | 113 | $token = $credentials['token']; |