{{ 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

Add New Duty Roster

@csrf
@if ($errors->has('group_id')) {{ $errors->first('group_id') }} @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ View::make('layout.footer') }} @include('inc.restday-modal')