Scholarships

@if($profile && $profile->isSubscriptionActive()) @php $daysLeft = now()->diffInDays($profile->subscription_end_date, false); $hoursLeft = now()->diffInHours($profile->subscription_end_date, false); $isExpired = $daysLeft < 0; $isExpiringSoon = $daysLeft <= 7 && $daysLeft >= 0; $showHours = $hoursLeft >= 0 && $hoursLeft < 24; @endphp
@if($isExpired) Expired {{ abs($daysLeft) }} day(s) ago @elseif($showHours) {{ $hoursLeft }} hour{{ $hoursLeft != 1 ? 's' : '' }} left @elseif($daysLeft == 0) Expires today @else {{ $daysLeft }} day(s) left @endif
@endif
Find Scholarships
@if($profile && $profile->completed) View/Edit ProfileProfile @else @endif
@if($tab == 'browse')
@include('student.app.scholarship.partials.scholarship-list')
@elseif($tab == 'for-you')
@if($profile && $profile->completed && isset($hasActiveSubscription) && $hasActiveSubscription)
@include('student.app.scholarship.partials.scholarship-list')
@elseif($profile && $profile->completed)
@if($profile && ($profile->subscription_reference || $profile->subscription_start_date)) Renew Your Subscription @else You Need to Subscribe @endif

@if($profile && ($profile->subscription_reference || $profile->subscription_start_date)) Your subscription has expired. Renew now to access personalized recommendations. @else Subscribe now to access personalized scholarship recommendations and unlock your academic opportunities. @endif

@else
Complete Your Profile First

Complete your scholarship profile to get personalized recommendations.

@endif
@elseif($tab == 'diary')
Upcoming Deadlines
@if(isset($wishToApplyUpcomingDeadlines) && $wishToApplyUpcomingDeadlines->count() > 0)
@foreach($wishToApplyUpcomingDeadlines->take(5) as $item) @php $scholarship = $item['scholarship']; $daysLeft = $item['days_left']; $isPast = $item['is_past']; @endphp
{{ Str::limit($scholarship->title, 50) }}
@if($isPast) {{ abs($daysLeft) }} days overdue @elseif($daysLeft == 0) Today! @else {{ $daysLeft }} days left @endif
{{ $item['deadline']->format('M d, Y') }}
@endforeach
@else

No upcoming deadlines at the moment

Scholarships with deadlines within the next 30 days will appear here
@endif
@if($scholarships->count() > 0)
Wish to Apply
@include('student.app.scholarship.partials.scholarship-list')
@endif @if(isset($appliedScholarships) && $appliedScholarships->count() > 0)
Applied Scholarships {{ $appliedScholarships->count() }}
@foreach($appliedScholarships as $scholarship)
Applied
@include('student.app.scholarship.partials.scholarship-card-content', ['scholarship' => $scholarship, 'profile' => $profile])
@endforeach
@endif @if($scholarships->count() == 0 && (!isset($appliedScholarships) || $appliedScholarships->count() == 0))
Your Scholar Diary is Empty

Start by saving scholarships or marking them as "Wish to Apply" to track your applications.

@endif
@endif
@include('layouts.student.footer')