app/Http/Controllers/Admin/ClientDetailsController.php
/**
     * show & edit page for user side.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
show & edit page for user side.
show & edit page for user side .
public function showInfo(Request $request, $email)
    {
        if(!Auth::guard('admin')->user())
        {
            abort(404);
        }
        $curRow = ClientDetail::where(['email' => $email])->first();
        if(!$curRow)
        {
            abort(404);
        }
        return view('admin.client_details.show', ['title'=>__('globals.common.request_list'), 'detail'=>$curRow]);
    }
public function showInfo ( Request $ request , $ email ) { if ( ! Auth :: guard ( 'admin' ) -> user ( ) ) { abort ( 404 ) ; } $ curRow = ClientDetail :: where ( [ 'email' => $ email ] ) -> first ( ) ; if ( ! $ curRow ) { abort ( 404 ) ; } return view ( 'admin.client_details.show' , [ 'title' => __ ( 'globals.common.request_list' ) , 'detail' => $ curRow ] ) ; }
show & edit page for user side.
show & edit page for user side .