@php $batch->refresh(); $isRunning = in_array($batch->status, ['running', 'pending'], true); @endphp
Status: {{ $batch->status }} @if ($isRunning) live (refreshes ~5s) @endif
{{ $batch->output ?? 'No output yet.' }}