@extends('layouts.user') @section('head') @endsection @section('content')

{{__("Wallet")}} {{__("Buy credits")}}

@include('admin.message')
{{"Credit balance"}}
{{__(':amount',['amount'=>$row->balance])}}
@if($row->balance)
~ {{format_money(credit_to_money($row->balance))}}
@endif
{{__("Latest Transactions")}}
@if(count($transactions)) @foreach($transactions as $transaction) @endforeach @else @endif {{$transactions->links()}}
# {{__('Type')}} {{__('Amount')}} {{__('Gateway')}} {{__('Status')}} {{__("Description")}} {{__("Date")}}
{{$transaction->id}} {{ucfirst($transaction->type)}} {{$transaction->amount}} @if($transaction->payment->gateway_obj) {{$transaction->payment->gateway_obj->getDisplayName() ?? ''}} @endif {{$transaction->status_name ?? ''}} @if(!empty($transaction->meta['admin_deposit'])) {{__("Deposit by :name",['name'=>$transaction->author->display_name ?? ''])}} @endif {{display_datetime($transaction->created_at)}}
{{__("No data found")}}
@endsection @section('footer') @endsection