@php
$columns = [
['label' => 'Id', 'column' => 'id', 'sort' => true],
['label' => 'First Name', 'column' => 'first_name', 'sort' => true],
['label' => 'Last Name', 'column' => 'last_name', 'sort' => true],
['label' => 'Email', 'column' => 'email', 'sort' => true],
['label' => 'Phone', 'column' => 'phone', 'sort' => true],
['label' => 'Position', 'column' => 'position', 'sort' => true],
['label' => 'Status', 'column' => 'status', 'sort' => true],
['label' => 'Actions', 'column' => 'action', 'sort' => false],
];
@endphp
@foreach ($applicants as $key => $item)
{{--
| --}}
{{ $item->id }} |
{{ $item->first_name }} |
{{ $item->last_name }} |
{{ $item->email }} |
{{ $item->phone }} |
{{ $item->position }} |
{{ $item->status }} |
|
@endforeach
@push('scripts')
@endpush