@extends(Auth::user()->extender()) @section('title'){{__('Report')}} {{ __('Wallet Trx') }} @endsection @section('content') @include('includes.page_header',['title'=>__('Report')." ". __('Wallet Trx'),'url'=>route(Auth::user()->user_dashboard()),'icon' => $icon??'','permission'=>'PriorityRoute-view'])
@include('admin.others.infyomincludes.filter_index_js')
Wallet Trx Summary
@php $summary = $wallet_trx_summary; @endphp @foreach ($summary as $type => $data) @endforeach
Type Count Amount
{{ $type }} {{ $data['count'] }} EUR {{ $data['amount'] }}
@foreach ($wallet_trxs as $key=>$trx) @php $amount_payable_basic_currency = $trx->amount_payable; $amount_payable_payer_currency = Auth::user()->fromBasicCurrency($amount_payable_basic_currency,$trx->payerWallet->country_currency); $amount_payable_payee_currency = Auth::user()->fromBasicCurrency($amount_payable_basic_currency,$trx->payeeWallet->country_currency); // if($trx->parentType->name == 'Credit'){ // $trx_history = $trx->details; // }elseif($trx->parentType->name == 'Debit'){ // $trx_history = $trx->parameters; // } @endphp @endforeach
# Status Wallet Type Payee Paid Amount Received Amount Category Status History Date Note
{{$key+1}} {{$trx->parentStatus->name}} {{$trx->payerWallet->name}} {{$trx->parentType->name}} for Payer {{$trx->payeeWallet->name}} {{$trx->payee_currency.' '.Auth::user()->myNumberFormat($amount_payable_payee_currency)}} {{$trx->payer_currency.' '.Auth::user()->myNumberFormat($amount_payable_payer_currency)}} {{$trx->code}} {{$trx->parentStatus->name}} Dr. {{$trx->parameters}}
Cr.{{$trx->details}}
{{$trx->created_at}} {{$trx->identity}}
@endsection