@php $records = collect($alert_thresholdRecords ?? [ (object)['username' => 'Ali Khan', 'file_name' => 'financial_report_march.xlsx', 'created_at' => '2024-03-12', 'status' => 'completed'], (object)['username' => 'Sara Ahmed', 'file_name' => 'survey_data.csv', 'created_at' => '2024-03-10', 'status' => 'processing'], (object)['username' => 'Usman Tariq', 'file_name' => 'baseline_data.xlsx', 'created_at' => '2024-03-08', 'status' => 'failed'], (object)['username' => 'Hina Malik', 'file_name' => 'monitoring_report.xlsx', 'created_at' => '2024-03-05', 'status' => 'completed'], ]); @endphp
| SR | Username | File Name | Created At | Status | Actions |
|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $record->username ?? $record->user_name ?? '-' }} | {{ $record->file_name ?? $record->filename ?? '-' }} | {{ $createdAtText }} | {{ $statusValue }} |