@forelse($records as $record)
| {{ $loop->iteration }} |
{{ $record->created_user->name ?? '—' }} |
{{ $record->created_user->mobile ?? '—' }} |
{{ ucfirst($record->change_num) }}
|
@php $govt = json_decode($record->govt_linked, true); @endphp
{{ is_array($govt) ? implode(', ', $govt) : '—' }}
|
{{ $record->change_num === 'yes'
? ($record->other_reason ?? '—')
: ($record->no_change_reason ?? '—') }}
|
{{ $record->created_user->name ?? '—' }}
{{ AppHelper::date($record->created_at) }}
|
@if(Auth::user()->hasAnyRole(['admin']))
|
@endif
@empty
| No records found matching your criteria. |
@endforelse