@php use \App\Enums\TransactionType; use \App\Enums\TransactionStatus; $amount = $transaction->amount; $currency = $transaction->currency; $tnx_amount = $transaction->tnx_amount; $tnx_currency = $transaction->tnx_currency; $user_amount = money($transaction->tnx_total, $transaction->tnx_currency, ['dp' => 'calc']); if($transaction->tnx_currency!=base_currency()) { $user_amount = money($transaction->tnx_total, $transaction->tnx_currency, ['dp' => 'calc']) . ' ('. money($transaction->total, $transaction->currency, ['dp' => 'calc']). ')'; } @endphp
* {!! __("Processing fee of :fee included in payment amount.", ['amount' => ''.money(data_get($transaction, 'tnx_total'), $tnx_currency, ['dp' => 'calc']).'', 'fee' => ''.money(data_get($transaction, 'tnx_fees'), $tnx_currency, ['dp' => 'calc']).'']) !!}
@endif