@extends('admin.layouts.app') @section('content')
@if($search_key) @php $user = App\Models\User::where('phone',$search_key)->orWhere('email',$search_key)->first(); @endphp
Name: {{$user->name}}
Phone: {{$user->phone}}
@endif
@forelse ($withdrawals as $key=>$withdrawal) @empty @endforelse
# User Detail Amount Payment Mode Payment Detail Remark Date
{{($key+1) + ($withdrawals->currentPage() - 1)*$withdrawals->perPage()}} Name: {{$withdrawal->user->name}}
Phone: {{$withdrawal->user->phone}}
₹ {{$withdrawal->amount}} {{ucfirst($withdrawal->payment_type)}} @if ($withdrawal->payment_detail) {{json_decode($withdrawal->payment_detail)->id}} @endif {{$withdrawal->remark}} {{$withdrawal->created_at->format('d-M-Y h:i A')}}

Nothing Found


Showing {{($withdrawals->currentpage()-1)*$withdrawals->perpage()+1}} to {{(($withdrawals->currentpage()-1)*$withdrawals->perpage())+$withdrawals->count()}} of {{$withdrawals->total()}} Withdrawals

{!! $withdrawals->appends(['search_date'=>$search_date,'search_key'=>$search_key])->links() !!}
@endsection