@extends('layouts.admin') @section('breadcrumb') @endsection @section('content')
{{ tr('deposits') }}({{ $total ?: 0 }})
@include('admin.wallet_transactions.search')
@forelse($wallet_transactions as $key => $wallet_transaction) @empty @endforelse
{{ tr('unique_id') }} {{tr('name')}} {{tr('email')}} {{ tr('amount') }} {{ tr('fx_rate') }} {{ tr('receiving_amount') }} {{ tr('type') }} {{ tr('date') }} {{ tr('status') }} {{ tr('action') }}
{{ $wallet_transactions->firstItem() + $key }} {{ $wallet_transaction->unique_id }} {{ $wallet_transaction->user?->name ?? tr('na') }} {{ $wallet_transaction->user?->email ?? tr('na') }} {{ formatted_amount($wallet_transaction->quote?->total_sending_amount, $wallet_transaction->quote?->source?->currency) }} {{ $wallet_transaction->quote?->fx_rate }} {{ formatted_amount($wallet_transaction->total_amount, $wallet_transaction->wallet?->currency) }} {{ $wallet_transaction->type == TRANSACTION_TYPE_CREDIT ? tr('credit') : tr('debit') }} {{ common_date( $wallet_transaction->created_at, auth('admin')->user()->timezone ?? DEFAULT_TIMEZONE, 'd M Y h:i:s A', ) }} @if($wallet_transaction->ledger && $wallet_transaction->ledger->refundLedger && $wallet_transaction->ledger->refundLedger->transaction) {{ tr('refund_completed') }} @else {{ wallet_transaction_status_formatted($wallet_transaction->status) }} @endif @include('admin.wallet_transactions.actions')
{{ tr('no_data_found') }}
@endsection