{{ single_price_new(Auth::user()->balance) }} {{ translate('Wallet Balance') }}
{{ translate('Apply Voucher') }}
@if ($addons->where('unique_identifier', 'offline_payment')->first() != null && $addons->where('unique_identifier', 'offline_payment')->first()->activated)
{{ translate('Offline Recharge Wallet') }}
@endif

{{ translate('Wallet recharge history')}}

@if(count($wallets) > 0) @foreach ($wallets as $key => $wallet) @endforeach @else @endif
# {{ translate('Date') }} {{ translate('Amount')}} {{ translate('Payment Method')}} {{ translate('Payment Type')}}
{{ $key+1 }} {{ $wallet->created_at->format('d-m-Y') }} {{ single_price_new($wallet->amount) }} {{ ucfirst(str_replace('_', ' ', $wallet ->payment_method)) }}
@if($wallet->payment_method == 'voucher') {{ $wallet->voucher->code ?? null }} @else {{ $wallet->order->code ?? null }} @endif
{{ ucfirst($wallet->payment_type) }}
{{ translate('No history found.') }}
    {{ $wallets->links() }}