@php use \App\Enums\TransactionType as dTType; use \App\Enums\TransactionStatus as dTStatus; use \App\Enums\TransactionCalcType as dTCType; $base_currency = base_currency(); $amount = $tnx->amount; $total = $tnx->total; $currency = $tnx->currency; $tnx_currency = $tnx->tnx_currency; $tnx_amount = $tnx->tnx_amount; $tnx_total = $tnx->tnx_amount; $exchange = $tnx->exchange; $completed_by = data_get($tnx, 'completed_by'); $confirmed_by = data_get($tnx, 'confirmed_by'); $pay_to_acc_name = ''; if ($tnx->tnx_method == 'bank-transfer') { $pay_to_acc_name = data_get($tnx, 'meta.pay_meta.account_name'); } if ($tnx->tnx_method == 'crypto-wallet') { $pay_to_acc_name = get_currency(data_get($tnx, 'meta.currency'), 'name'); } if ($tnx->tnx_method == 'wd-bank-transfer') { $pay_to_acc_name = data_get($tnx, 'meta.pay_meta.payment.acc_name'); } if ($tnx->tnx_method == 'wd-paypal') { $pay_to_acc_name = data_get($tnx, 'meta.pay_meta.label'); } @endphp
{{ __("Attention: Current base currency (:system) does not match with this transaction currency (:tnx).", ['system' => $base_currency, 'tnx' => $currency]) }}
{{ __('Note: System base currency was changed after transaction made. ') }}