@extends('adminlayout.admin') @section('content')

Date Filter
@if(isset($from)) @else @endif @if ($errors->has('search')){{ $errors->first('search') }}@endif
@if(isset($to)) @else @endif @if ($errors->has('search')){{ $errors->first('search') }}@endif
@if ($errors->has('search')){{ $errors->first('search') }}@endif

Referal Details

@if($errors->any())

{{ implode('', $errors->all(':message')) }}

@endif
@if (Auth::user()->hasRole('super_admin')) @endif @php $i=!empty($_REQUEST['page'])?(($_REQUEST['page']-1)*10)+1:1 ; @endphp @foreach($refer_details as $data) @if (Auth::user()->hasRole('super_admin')) @else @endif @endforeach
S.no User Id Referal Link Name Email Phone Referral Link Type Status Commission DateAction
{{$i++}} {{ $data->user->user_id ?? $data->user_id }} [{{ $data->user->name ?? '' }}] {{ $data->refer_link_sub_category->name ?? '' }} {{ $data->email }} {{ $data->phone }} {{ $data->type }} {{ $data->suvidha_kendra_commission }} {{ $data->created_at }} @if($data->status == 3) Rejected @elseif($data->status == 1 ) Approved @endif @if($data->status == 0) @endif @if($data->lead_status){{ $statusOption[$data->lead_status] }} @else ----- @endif {{ $data->suvidha_kendra_commission }} {{ $data->created_at }}
{!! $refer_details->links() !!}
@endsection