@php use \App\Enums\TransactionCalcType; use \App\Enums\TransactionStatus; use \App\Enums\TransactionType; $base_currency = base_currency(); @endphp
{!! tnx_type_icon($transaction, 'odr-icon') !!}
{{ $transaction->description }}
{{ show_date($transaction->created_at) }} {{ data_get($transaction->details, 'status') }}
{{ $transaction->calc == TransactionCalcType::CREDIT ? '+' : '-' }} {{ show_amount($transaction->amount, $base_currency) }} {{ $base_currency }}
{{ show_amount($transaction->tnx_amount, $transaction->tnx_currency) }} {{ $transaction->tnx_currency }}