Apply fixes from StyleCI
This commit is contained in:

committed by
RafficMohammed

parent
ac7fc33df2
commit
e8f61f16d5
@@ -249,6 +249,7 @@ class FormController extends Controller
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
// dd($result);
|
||||
return Redirect::back()->with('success', Lang::get('lang.Ticket-has-been-created-successfully-your-ticket-number-is').' '.$result[0].'. ');
|
||||
} else {
|
||||
|
@@ -209,6 +209,7 @@ class GuestController extends Controller
|
||||
$tickets = $tickets->where('user_id', '=', $user_id)->first();
|
||||
//dd($ticket);
|
||||
$thread = $thread->where('ticket_id', $tickets->id)->first();
|
||||
|
||||
//dd($thread);
|
||||
// $tickets = $tickets->whereId($id)->first();
|
||||
return view('themes.default1.client.guest-user.view_ticket', compact('thread', 'tickets'));
|
||||
@@ -424,6 +425,7 @@ class GuestController extends Controller
|
||||
if (Hash::check(Input::get('otp'), $otp->otp)) {
|
||||
Otp::where('user_id', '=', Input::get('u_id'))
|
||||
->update(['otp' => '']);
|
||||
|
||||
// User::where('id', '=', $user->id)
|
||||
// ->update(['active' => 1]);
|
||||
// $this->openTicketAfterVerification($user->id);
|
||||
|
@@ -344,8 +344,8 @@ class UnAuthController extends Controller
|
||||
// app()->setLocale($lang);
|
||||
|
||||
\Cache::forever('language', $lang);
|
||||
// dd(Cache::get('language'));
|
||||
// dd()
|
||||
// dd(Cache::get('language'));
|
||||
// dd()
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
@@ -141,6 +141,7 @@ class UserController extends Controller
|
||||
/* from whole attribute pick the article_id */
|
||||
$article_id = $all->pluck('article_id');
|
||||
$categorys = $category->get();
|
||||
|
||||
/* direct to view with $article_id */
|
||||
return view('themes.default1.client.kb.article-list.category', compact('all', 'id', 'categorys', 'article_id'));
|
||||
}
|
||||
|
Reference in New Issue
Block a user