{{View::make('layout.header')}} @php $user_join_year = date('Y',strtotime($userPay->date_commence)); $cutOffStartMonth = getSettingsValue("cut_of_startmonth"); $cutOffStartdate = getSettingsValue("cut_of_startdate"); $cutOffMonth = getSettingsValue("cut_of_month"); $cutOffdate = getSettingsValue("cut_of_date"); if($cutOffStartMonth!=1){ if($cutOffStartMonth > date('m')){ $currentYear = date('Y'); }else{ $currentYear = date('Y')+1; } }else{ $currentYear = date('Y'); } $yr=date('Y'); @endphp