@extends('jobs.layout') @section('title', 'My applications') @section('content')
Job seeker workspace

My applications

Track the jobs you have applied for and manage your CVs.

@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())@endif @if ($notifications->isNotEmpty())

Recent updates

@foreach ($notifications as $notification)
{{ $notification->data['message'] ?? 'You have a new update.' }} {{ $notification->created_at->format('d M Y, H:i') }} @if (!$notification->read_at)New@endif @if (!empty($notification->data['job_posting_id']))

View job

@endif @if (!$notification->read_at)
@csrf
@endif
@endforeach
@endif

My CVs

@if ($resumes->isNotEmpty()) @else

You haven’t uploaded a CV yet. Your first uploaded CV will be selected as your primary CV.

@endif
@csrf

Applications

@if ($applications->isEmpty())

You haven’t applied for any jobs yet.

Browse jobs
@else
@foreach ($applications as $application)
{{ $application->jobPosting->employer->company_name }}

{{ $application->jobPosting->title }}

{{ collect([$application->jobPosting->town, $application->jobPosting->county?->name])->filter()->join(', ') ?: 'Location flexible' }} · Applied {{ $application->created_at->format('d M Y') }}
@if ($application->resume)

CV attached: {{ $application->resume->original_filename }}

@endif @foreach ($application->interviews->where('status', 'scheduled') as $interview)
Interview scheduled: {{ $interview->scheduled_at->format('D, d M Y · H:i') }} · {{ str($interview->interview_type)->replace('_', ' ')->title() }} · {{ $interview->duration_minutes }} minutes @if ($interview->location)
{{ $interview->location }}@endif @if ($interview->meeting_url)
Join interview@endif
@endforeach
{{ str($application->status)->replace('_', ' ')->title() }}
@if (in_array($application->status, ['submitted', 'reviewing'], true))
@csrf @method('PATCH')
@endif
@endforeach
@endif
@endsection