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