@extends('adminlte::page') @section('title', config('app.name') . ' | ' . __('messages.application_m.int_applications')) @section('content_header')

{{__('messages.reusable.my_acc')}} / {{__('messages.application_m.int_applications')}}

@stop @section('js') @stop @section('content')
{{__('messages.user.app_process.title')}}

{{__('messages.user.app_process.line1')}}

{{__('messages.user.app_process.line2')}}

{{__('messages.user.account_standing')}}

{{__('messages.user.account_eligibility', ['eligibility' => ($isEligibleForApplication) ? __('messages.eligible') : __('messages.ineligible')])}}

@if (!$isEligibleForApplication)

{{__('messages.user.days_remaining_acc_alt', ['days' => $eligibilityDaysRemaining])}}

@endif

{{__('messages.user.my_ongoingapps')}}

@if (!$applications->isEmpty()) @foreach ($applications as $application) @endforeach
# {{__('messages.application_m.applicant')}} {{__('messages.application_m.application_date')}} {{__('messages.last_updated')}} {{__('messages.reusable.status')}} {{__('messages.reusable.actions')}}
{{$application->id}} {{Auth::user()->name}} {{$application->created_at}} {{$application->updated_at}} @switch($application->applicationStatus) @case('STAGE_SUBMITTED') {{__('messages.user.submitted')}} @break @case('STAGE_PEERAPPROVAL') {{__('messages.user.peer_approval')}} @break @case('STAGE_INTERVIEW') {{__('messages.application_m.interview_p')}} @break @case('STAGE_INTERVIEW_SCHEDULED') {{__('messages.application_m.interview_s')}} @break @case('APPROVED') {{__('messages.application_m.approved')}} @break @case('DENIED') {{__('messages.application_m.denied')}} @break @default {{__('messages.application_m.unknown_stat')}} @endswitch
@else

{{__('messages.user.nothing_to_show')}}

{{__('messages.user.nothing_to_show_exp')}}

@endif
@stop @section('footer') @include('breadcrumbs.dashboard.footer') @stop