@section('title', (isset($page_title) ? $page_title . ' | ' : '') . config('app.name')) @section('breadcrumb', (isset($page_title) ? $page_title : ''))
{{-- --}}
@forelse ($wallet_transactions as $key => $wallet_transaction) @empty @endforelse
# ID User ID Amount Source Date
{{ $wallet_transactions->firstItem() + $loop->index }} @if($wallet_transaction->source == 'withdrawal') {{$wallet_transaction->source_model->id}} @else {{$wallet_transaction->source_model->order_id}} @endif {{ $wallet_transaction->user->user_code }} {{ $wallet_transaction->amount }} {{ ucwords(str_replace('_', ' ', $wallet_transaction->source)) }} {{ $wallet_transaction->created_at }}