@extends('layouts.applicant.applicant') @section('title', 'New Application') @section('breadcrumbs') @endsection @section('content')

Start New Application

Choose a position to apply for

Back to Applications
@if($advertisements->count() > 0)
@foreach($advertisements as $advertisement)
Active {{ $advertisement->application_end_date->diffForHumans() }}
{{ $advertisement->title }}
{{ $advertisement->position }}

{{ Str::limit($advertisement->description, 120) }}

Department: {{ $advertisement->department ? $advertisement->department->name : 'N/A' }}
Positions: {{ $advertisement->number_of_posts }}
@if($advertisement->salary_min && $advertisement->salary_max)
Salary: ₹{{ number_format($advertisement->salary_min) }} - ₹{{ number_format($advertisement->salary_max) }}
@endif
Deadline: {{ $advertisement->application_end_date->format('M d, Y') }}
@php $daysLeft = now()->diffInDays($advertisement->application_end_date, false); @endphp @if($daysLeft > 0)
{{ $daysLeft }} days left to apply
@elseif($daysLeft == 0)
Last day to apply!
@endif
@endforeach
@if($advertisements instanceof \Illuminate\Pagination\LengthAwarePaginator)
{{ $advertisements->links() }}
@endif @else

No Active Positions Available

There are currently no open positions available for application. Please check back later or visit our homepage for updates.

@endif
@endsection @push('scripts') @endpush