@extends($activeTemplate . 'layouts.master') @section('content')
@forelse($transactions as $trx) @php $curSymbol = $trx->wallet_id ? @$trx->wallet->currency->symbol : gs('cur_text'); $decimal = @$trx->wallet->currency->type == Status::CRYPTO_CURRENCY ? 6 : 4; @endphp @empty @php echo userTableEmptyMessage('transactions') @endphp @endforelse
@lang('Currency | Wallet') @lang('Transacted') @lang('Trx') @lang('Amount') @lang('Post Balance') @lang('Detail')
{{ $curSymbol }}
@if (!$trx->wallet_id) @lang('Main Balance') @else {{ @$trx->wallet->name }} | {{ __(strToUpper(@$trx->wallet->type_text)) }} @endif
{{ showDateTime($trx->created_at) }}
{{ diffForHumans($trx->created_at) }}
{{ $trx->trx }} {{ $trx->trx_type }} {{ showAmount($trx->amount, $decimal, currencyFormat: false) }} {{ $curSymbol }}
{{ showAmount($trx->post_balance, $decimal, currencyFormat: false) }} {{ $curSymbol }}
{{ __($trx->details) }}
@if ($transactions->hasPages()) {{ paginateLinks($transactions) }} @endif
@endsection