@php $resetLogs = \App\Models\ApplicationResetLog::where('application_id', $application->id) ->with('admin') ->orderBy('created_at', 'desc') ->get(); @endphp @if($resetLogs->count() > 0)
Your application has been reset by the administration. You can now edit and modify your application data.
@elseYour application has been reset {{ $resetLogs->count() }} times by the administration. You can now edit and modify your application data.
@endif @php $latestReset = $resetLogs->first(); @endphp