Export To Excel
@foreach($records as $counter => $user) @endforeach
S.No. Name User Name Password Startup Name Cohort Type Role Mobile Email Linkedin Profile Instagram Profile About Startup Category Is Expiry Login Expiry Range Status
{{ $counter + 1 }} {{ $user->full_name ? $user->full_name : '--' }} {{ @$user->user_name }} {{ @$user->temp_code ?? '--' }} {{ $user->startup_company_name ?? '--' }} {{ $user->batch_caption ?? '--' }} @if(@_USER_TYPE_ARR_[@$user->user_type]) {{ _USER_TYPE_ARR_[@$user->user_type] }} @else User @endif @foreach($user_roles as $_roles) @if($_roles->user_id == $user->id) @if($_roles->role_name ) {{ $_roles->role_name }}
@endif @endif @endforeach
{{ $user->mobile ? $user->mobile : '--' }} {{ $user->email ? $user->email : '--' }} {{ $user->linkedin_profile ? $user->linkedin_profile : '--' }} {{ $user->instagram_profile ? $user->instagram_profile : '--' }} {{ $user->about ? $user->about : '--' }} @php $startup_category = json_decode($user->startup_category, 1); @endphp @if(empty($startup_category)) -- @else
    @foreach($startup_category as $key => $_startup_category)
  • {{ $_startup_category }}
  • @endforeach
@endif
{{ $user->is_expiry == "none" ? "--" : $user->is_expiry }} @php $user_login_expiry_range = "--"; if($user->is_expiry == 'Y') { $date_range_arr = explode(" - ", $user->login_expiry_range); $start_date = date_format(date_create(@$date_range_arr[0]),'d M y'); $end_date = date_format(date_create(@$date_range_arr[1]),'d M y'); $user_login_expiry_range = $start_date." to ".$end_date; } @endphp {{ $user_login_expiry_range }} @if($user->status == 1) Active @else Disable @endif