Progress Import Tabel Barang
@if(!$run)
Belum ada proses import.
@else
@php
$total = max(1, (int)($run->total_rows ?? 1));
$done = (int)($run->processed_rows ?? 0);
$pct = min(100, (int)(($done / $total) * 100));
@endphp
Status: {{ $run->status }}
{{ $run->message }}
{{ $done }} / {{ $run->total_rows }} ({{ $pct }}%)
@endif