@php($alerts = $user->alerts()) @if($alerts) @foreach($alerts as $alert)
{!! $alert->message !!}
@endforeach @endif @if($hideDashboard && $user->student && $user->student->isPostgraduate())
@endif @if($user->isStudent() && $user->student->checkQuestionnaire())
@lang('tr.Important') ! @lang('tr.Questionnaire is open participate now.') (@lang('tr.Apply Now')).
@endif @if($user->isStudent() && !$hideDashboard) @php($student = $user->student) @php($gpaInfo = $student->getGPAInfo()) @php($trainingWeeksInfo = $student->getTrainingWeeksInfo()) @php($warningsInfo = $student->getWarningsInfo()) @php($creditHours = $student->creditHours()) @php($degreeCompletion = $student->degreeCompletion()) @php($notification = \App\Term::getQuestionnaireNotification())
@if ($notification)
{{ $notification }}
@endif @if($gpaInfo)

{{$gpaInfo->gpa}}

Cumulative GPA

@if($student->clemencyAndExtraSum() > 0)

@lang('tr.Clemency Marks') : {{ $student->clemencyAndExtraSum() }}

@endif
@endif @if($trainingWeeksInfo)

{{$trainingWeeksInfo->approvedWeeks}}

Training Weeks

@endif @if($warningsInfo)

{{$warningsInfo->count}}

Warnings

@endif @if($creditHours && $creditHours->total > 0)

{{$creditHours->passed}}

Credit Hours

@endif @if($degreeCompletion->can_view)

{{$degreeCompletion->date}}

({{$degreeCompletion->remaining_months}} Months)

Degree Deadline

@endif
@if($user->student->askForSummerTermDecision())
@lang('tr.Important') ! @lang('tr.Do you want to register courses in summer :year?', ['year' => date('yy')]) @lang('tr.Yes') @lang('tr.No')
@endif @if($user->student->hasUpcomingIndividualMeeting())
@lang('tr.Important') ! @lang('tr.Your Individual Meeting Will be at') {{$user->student->meeting_datetime}}
@endif @if($user->student->hasUpcomingGroupMeeting())
@lang('tr.Important') ! @lang('tr.Group Meeting Will be at') {{\Carbon\Carbon::parse($user->student->groupMeeting()->datetime)->toDateTimeString('minute')}} @if(isset($user->student->groupMeeting()->location)) ({{$user->student->groupMeeting()->location}}) @endif
@endif @if(!$user->checkCovidVaccine())
@lang('tr.Important') ! @lang('tr.You must take covid-19 vaccine. Please proceed to take vaccine as soon as possible.') .
@endif @if($user->student->hasGraduationSurvey())
@lang('tr.Important') ! @lang('tr.Graduation Survey is open participate now.') (@lang('tr.Apply Now')).
@endif @if($user->student->hasCommunicationGraduationSurvey())
@lang('tr.Important') ! @lang('tr.Communication Graduation Survey is open participate now.') (@lang('tr.Apply Now')).
@endif @if($user->student->hasOverDueFees())
@lang('tr.Important') ! @lang('tr.Some tuition fees are overdue.') (@lang('tr.Pay Now')).
@endif @if($user->student->canMakeAdvisorQuestionnaire())
@lang('tr.Important') ! @lang('tr.Advisor Survey is open participate now.') (@lang('tr.Apply Now')).
@endif @php($questionnaires = $user->getFacultyQuestionnaires()) @php($nMandatoryQuestionnaires = 0) @if(count($questionnaires)>0) @foreach($questionnaires as $questionaire) @if($questionaire->isMandatory()) @php($nMandatoryQuestionnaires++) @endif
@lang('tr.Important') ! {{$questionaire->questionnaire->en_name}} ($questionaire->id]) }}' style="text-decoration: underline;">@lang('tr.Apply')).
@endforeach @endif @if($user->checkPersonalPhotoValidation()['status'] == 'failed')
@lang('tr.Important')! {{ $user->checkPersonalPhotoValidation()['msg'] }} ( $user->id])}}' style="text-decoration: underline;">@lang('tr.Profile')).
@endif @if($user->student->file_delivery_flag != 1 && $user->student->isInterDiscplinary())
@lang('tr.Important') ! @if($user->student->passedFileDeliveryDueDate()) @lang("tr.You didn't deliver your file") @else @lang("tr.You must deliver your file before") {{ $user->student->file_delivery_due_date }} @endif .
@endif @if($user->student->hasMilitaryEducation())
@lang('tr.Important') ! @lang('tr.You cannot request graduation certificate because you did not complete the militray training, please approach Student Affairs to clarify this issue.')
@endif @php($noRegistrationAlert = $user->student->noRegistrationAlert()) @if($noRegistrationAlert->can_view)
@lang('tr.Important') !{{$noRegistrationAlert->message}}
@endif
@if($user->student && $user->student->research) @endif @if($student && $student->isPostgraduate()) @endif @can('access_archive') @endcan @if($user->student) @endif @if($user->student) @endif @if($user->student) @can('submit_excuses') @endcan @endif @if(!$user->student->isPostgraduate() && $user->student->bylaw != "UG2003") @endif @if(auth()->user()->student->canApplyTakafulRequest()) @endif @if($student->isGraduated()) @endif
@elseif($user->isGuest())
@elseif($user->isAlumni())
@endif