@if (session()->has('error'))
{!! session('error') !!}
@endif

Import Student Data

@error('file') {{ $message }} @enderror
@if($importStatusId || $shouldPoll)
@if($importStatusId)
Import Progress
{{ now()->format('d M, h:i A') }}

@php $pct = $totalRows > 0 ? round(($processedRows / $totalRows) * 100, 2) : 0; @endphp
Processed: {{ $processedRows }} / {{ $totalRows }}
{{ $pct }}%
{{ ucfirst($status) }} @if($status === 'failed') @elseif($status === 'completed') @endif
@endif
@endif

Import Status

@foreach ($recList as $recDetail) @if ($selectedImportId == $recDetail->id) @endif @endforeach
Total Rows Processed Date Status View Rows/Logs
{{ $recDetail->total_rows }} {{ $recDetail->processed_rows }} {{ $recDetail->created_at }} @if ($recDetail->status == 'completed') Completed @elseif ($recDetail->status == 'processing') Processing @elseif ($recDetail->status == 'failed') Failed @else Pending @endif
Failed Rows:
@if (count($logs) == 0)

No failed rows.

@else @foreach ($logs as $log) @endforeach
Row Data Reason
{{ json_encode(json_decode($log['row_data']), JSON_PRETTY_PRINT) }}
{{ $log['reason'] }}
@endif
{{ $recList->links() }}
@push('toggleScript') @endpush