@extends('user.pdf.app') @section('title', str_replace('_', ' ', optional($transaction->transaction_type)->name)) @section('content')
{{ __('Transaction ID') }}

{{ $transaction->uuid }}

{{ __('Transaction Date') }}

{{ dateFormat($transaction->created_at) }}

{{ __('Status') }}

{{ getStatus($transaction->status) }}

{{ __('Confirmation') }}

{{ $confirmations }}

{{ __('Payment Method Name') }}

{{ $transaction->payment_method?->name }}

{{ __('Transaction type') }}

{{ str_replace('_', '', $transaction->transaction_type?->name) }}

{{ __('Token') }}

{{ optional($transaction->currency)->symbol }}

{{ __('Network') }}

{{ $network }}

{{ __('TxId') }}

{{ $txId }}

{{ __('Sender Address') }}

{{ $senderAddress ?? '-' }}

{{ __('Receiver Address') }}

{{ $receiverAddress ?? '-' }}

{{ __('Description') }}

{{ __('Sent Amount') }}

{{ moneyFormat(optional($transaction->currency)->symbol, formatNumber($transaction->subtotal, $transaction->currency_id)) }}

{{ __('Network Fee') }}

{{ moneyFormat($network, formatNumber($network_fee, $transaction->currency_id)) }}


{{ __('Total') }}

{{ moneyFormat(optional($transaction->currency)->symbol, formatNumber($transaction->subtotal, $transaction->currency_id)) }}

@endsection