| Sr. No |
Job |
Business |
User |
User Type |
Date |
Status |
Resume |
@forelse ($applied_users as $key=>$applied_user)
| {{($key+1) + ($applied_users->currentPage() - 1)*$applied_users->perPage()}} |
{{json_decode($applied_user->job)->title}} |
{{json_decode($applied_user->business)->business_name}} |
@if($applied_user->user_type == 'affiliate_user')
@php
$user = App\Models\User::where('id',$applied_user->user_id)->first();
@endphp
{{$user->name}}
@else
@php
$user = App\Models\JobUser::where('id',$applied_user->user_id)->first();
@endphp
{{$user->name}}
@endif
|
{{ucwords(str_replace('_',' ',$applied_user->user_type))}} |
{{$applied_user->created_at->format('d-m-Y h:i A')}} |
{{ucwords($applied_user->status)}} |
|
@empty
@endforelse
Showing {{($applied_users->currentpage()-1)*$applied_users->perpage()+1}} to {{(($applied_users->currentpage()-1)*$applied_users->perpage())+$applied_users->count()}} of {{$applied_users->total()}} Applied Users
{!! $applied_users->links() !!}