JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbrplan); if(!empty($user_plan) && $user_plan->duration !== 'Lifetime'){ if($user->type == 'company' && (empty($user->plan_expire_date) || $user->plan_expire_date < date('Y-m-d'))) { $error = $user->is_trial_done ? __('Your Plan is expired.') : ($user->plan_expire_date < date('Y-m-d') ? __('Please upgrade your plan') : ''); if($request->ajax()){ return response()->json(['flag'=>'0','msg'=>$error]); } return redirect()->route('plans.index')->with('error', $error); } } } return $next($request); } }