session()->put(YearPeriodRetriever::SESSION_KEY, $yearPeriod->id); return redirect() ->back() ->with("success", __("Selected year period has been changed")); } }