Wallet

@if(request()->role=="")
Member Id Name Contact Number Aadhar #
@endif

Wallet Details

@php $totalBal=0.0; @endphp @foreach ($users as $key=> $user) @php $debit=0.00; $credit=0.00; $comissionWallet=0.00; @endphp @foreach($user->wallet as $wallet) @if ($wallet->type==0) @php $credit=$credit+$wallet->amount; @endphp @else @php $debit=$debit+$wallet->amount; @endphp @endif @if ($wallet->type==0 && $wallet->method =='Cashback Balance') @php $comissionWallet=$comissionWallet+$wallet->amount; @endphp @endif @endforeach @php $totalBal+=$credit-$debit; @endphp @endforeach
S.N. Member ID Mobile Member Name Credit Balance Debit Balance Total Balance Detail
{{$key+1}} {{$user->loginId}} {{$user->contact}} {{$user->name}} {{$user->last_name}} {{$credit}} {{$debit}} 0.00