@php $resetLogs = \App\Models\ApplicationResetLog::where('application_id', $application->id) ->with('admin') ->orderBy('created_at', 'desc') ->get(); @endphp @if($resetLogs->count() > 0) @endif