@extends('layouts.admin') @section('title', 'Reset Applications') @section('breadcrumbs') @endsection @section('content')

Reset Applications

Reset submitted applications back to draft status for editing

Reset History
Total Submitted Applications
{{ $applications->total() }}
Applications Reset Today
{{ \App\Models\ApplicationResetLog::whereDate('created_at', today())->count() }}
Submitted Applications
@if($applications->count() > 0)
@foreach($applications as $application) @endforeach
Application # Applicant Position Department Submitted Date Actions
{{ $application->application_number }}
{{ $application->personalInformation->first_name ?? 'N/A' }} {{ $application->personalInformation->last_name ?? '' }}
{{ $application->user->email }}
{{ $application->advertisement->title ?? 'N/A' }} {{ $application->advertisement->department->name ?? 'N/A' }}
{{ $application->submitted_at->format('M d, Y') }}
{{ $application->submitted_at->format('h:i A') }}
View
{{ $applications->links() }}
@else
No Submitted Applications Found

There are currently no submitted applications that can be reset.

@endif
@endsection @section('scripts') @endsection