Wallet History')}}
@foreach($wallethistory->sortByDesc('id') as $history)
{{ $history->log }}
@if($history->type == 'Credit')
{{ __('Credited ON') }}: {{ date('d/m/Y | h:i A',strtotime($history->created_at)) }} |
{{ __('Ref ID:') }} {{ $history->txn_id }} | {{ __('Expire ON:') }}
{{ date('d/m/Y | h:i A',strtotime($history->expire_at)) }}
@else
{{ __('Debited ON') }}: {{ date('d/m/Y | h:i A',strtotime($history->created_at)) }} |
{{ __('Ref ID:') }} {{ $history->txn_id }}
@endif
@if($history->type == 'Credit')
{{ __('+') }}
@else
{{ __('-') }}
@endif
{{ price_format($history->amount,2) }}
@if(isset($user->wallet) && $defCurrency->currency->code != session()->get('currency')['id'])
( {{ price_format(currency($history->amount, $from = $defCurrency->currency->code, $to = session()->get('currency')['id'] , $format = false)) }})
@endif
@endforeach
{!! $wallethistory->links() !!}