@extends('organizations.layouts.default') @section('title') / Apply @endsection @section('content')
{!! htmlScriptTagJsApi() !!}

@php $staus = config('dropdown.roster_application_status'); @endphp
Application Status: {{ $staus[$appDetails->app_status] }}
@if ($model->end_date > now()) @if ($appDetails->app_status == 2) Edit @elseif($appDetails->app_status == 1)
Please complete your application
@endif @endif

{{ $model->roster_title }}
{{ $model->organization->name ?? '-' }}
Publish Date: {{ $model->start_date->format('Y-m-d') }}
Expiry Date: {{ $model->end_date->format('Y-m-d') }}
@if ($model->form_type == 2)
@endif
@if ($model->form_type == 1)
Selected Services:
@foreach (config('dropdown.roster_service_category') as $key => $category)

{{ $category }}

    @foreach ($model->rosterOpens->where('category_id', $key) as $ro) @foreach ($appDetails->applicationServices->where('roster_open_id', $ro->id) as $as)
  • @if ($as->roster_status == 0) @if ($appDetails->app_status == 2) Under Verification @else Not Qualified @endif @elseif($as->roster_status == 1) Qualified @endif
  • @endforeach @endforeach
@endforeach
Uploaded Documents:
@foreach ($appDetails->applicationDocuments as $doc)
{{ $doc->document_title }}
@if ($doc->document_file)
@if (is_image(asset($doc->document_file))) @else Click to view @endif
@elseif($doc->document_external_link) @endif
@endforeach
@endif
Application Cover Letter:
{!! $appDetails->cover_letter ?? 'Not Applied!!' !!}
@endsection