@extends('backend.layouts.app') @section('content')
{{ translate('Refferal Users')}}
@foreach($refferal_users as $key => $refferal_user) @if ($refferal_user != null) @endif @endforeach
# {{ translate('Name')}} {{ translate('Phone')}} {{ translate('Email Address')}} {{ translate('Reffered By')}}
{{ ($key+1) + ($refferal_users->currentPage() - 1)*$refferal_users->perPage() }} {{$refferal_user->name}} {{$refferal_user->phone}} {{$refferal_user->email}} @if (\App\Models\User::find($refferal_user->referred_by) != null) {{ \App\Models\User::find($refferal_user->referred_by)->name }} ({{ \App\Models\User::find($refferal_user->referred_by)->email }}) @endif
{{ $refferal_users->appends(request()->input())->links() }}
@endsection