@if ($payment && ($data = Arr::get($payment, 'element.0', [])))
@if (Arr::get($data, 'tran_id'))

{{ trans('plugins/payment::payment.payment_id') }}: {{ Arr::get($data, 'tran_id') }}

@endif @if (Arr::get($data, 'currency_amount'))

{{ trans('plugins/payment::payment.amount') }}: {{ Arr::get($data, 'currency_amount') }} {{ Arr::get($data, 'currency_type') }}

@endif @if (Arr::get($data, 'status'))

{{ trans('plugins/payment::payment.status') }}: {{ Arr::get($data, 'status') }}

@endif @if (Arr::get($data, 'card_issuer'))

{{ trans('plugins/payment::payment.card') }}: {{ Arr::get($data, 'card_issuer') }}

@endif @if (Arr::get($data, 'card_issuer_country'))

{{ trans('plugins/payment::payment.country') }}: {{ Arr::get($data, 'card_issuer_country') }}

@endif @if (Arr::get($data, 'tran_date'))

{{ trans('core/base::tables.created_at') }}: {{ BaseHelper::formatDate(Arr::get($data, 'tran_date')) }}


@endif @if ($refunds = Arr::get($paymentModel->metadata, 'refunds', []))
{{ trans('plugins/payment::payment.amount_refunded') }}: {{ collect($refunds)->sum('_data_request.refund_amount') }} {{ $paymentModel->currency }}
@foreach ($refunds as $refund)
@include('plugins/sslcommerz::refund-detail')
@endforeach @endif @include('plugins/payment::partials.view-payment-source') @endif