@forelse ($transactions ?? [] as $item)
@php $coupon_data = get_coupon_information($item->id) ?? []; @endphp

{{ $item->remittance_data->first_name ?? '' }} {{ $item->remittance_data->middle_name ?? '' }} {{ $item->remittance_data->last_name ?? ''}}

{{ __($item->remittance_data->type) ?? '' }} @if ($item->status == global_const()::REMITTANCE_STATUS_REVIEW_PAYMENT) {{ __("Review Payment") }} @elseif ($item->status == global_const()::REMITTANCE_STATUS_PENDING) {{ __("Pending") }} @elseif ($item->status == global_const()::REMITTANCE_STATUS_CONFIRM_PAYMENT) {{ __("Confirm Payment") }} @elseif ($item->status == global_const()::REMITTANCE_STATUS_HOLD) {{ __("On Hold") }} @elseif ($item->status == global_const()::REMITTANCE_STATUS_SETTLED) {{ __("Settled") }} @elseif ($item->status == global_const()::REMITTANCE_STATUS_COMPLETE) {{ __("Completed") }} @elseif ($item->status == global_const()::REMITTANCE_STATUS_CANCEL) {{ __("Canceled") }} @elseif ($item->status == global_const()::REMITTANCE_STATUS_FAILED) {{ __("Failed") }} @elseif ($item->status == global_const()::REMITTANCE_STATUS_REFUND) {{ __("Refunded") }} @else {{ __("Delayed") }} @endif

{{ get_amount($item->will_get_amount) ?? '' }} {{ $item->remittance_data->receiver_currency ?? '' }}

{{ get_amount($item->request_amount) ?? '' }} {{ $item->remittance_data->sender_currency ?? '' }}
{{ __("MTCN Number") }}
{{ $item->trx_id ?? 'N/A' }}
{{ __("Transaction Type") }}
{{ $item->remittance_data->type ?? 'N/A' }}
@if ($item->remittance_data->type == global_const()::TRANSACTION_TYPE_CASHPICKUP)
{{ __("Pickup Point") }}
{{ $item->remittance_data->method_name ?? 'N/A'}}
@else
{{ __("Method Name") }}
{{ $item->remittance_data->method_name ?? 'N/A'}}
{{ __("Account Number") }}
{{ $item->remittance_data->account_number ?? 'N/A'}}
@endif
{{ __("Sender Amount") }}
{{ get_amount($item->request_amount) ?? '' }} {{ $item->remittance_data->sender_currency ?? '' }}
@if (!empty($coupon_data['coupon']) && !empty($coupon_data['price']))
{{ __("Coupon Name") }}
{{ $coupon_data['coupon'] }}
{{ __("Bonus") }}
{{ get_amount($coupon_data['price'],$item->remittance_data->sender_currency) }}
@endif
{{ __("Exchange Rate") }}
{{ $item->remittance_data->sender_ex_rate ?? '' }} {{ $item->remittance_data->sender_currency ?? ''}} = {{ $item->remittance_data->receiver_ex_rate ?? '' }} {{ $item->remittance_data->receiver_currency ?? '' }}
{{ __("Fees & Charges") }}
{{ get_amount($item->fees ?? '') }} {{ $item->remittance_data->sender_currency ?? '' }}
{{ __("Sending Purpose") }}
{{ $item->remittance_data->sending_purpose ?? '' }}
{{ __("Source Of Fund") }}
{{ $item->remittance_data->source ?? '' }}
{{ __("Payment Method") }}
{{ $item->currency->name ?? '' }}
@if ($item->remittance_data->currency->rate ?? false)
{{ __("Payment Method Exchange Rate") }}
@php $rate = $item->remittance_data->currency->rate / ($item->remittance_data->sender_base_rate ?? 1); @endphp
{{ $item->remittance_data->sender_ex_rate ?? ''}} {{ $item->remittance_data->sender_currency ?? ''}} = {{ get_amount($rate) }} {{ $item->remittance_data->currency->code ?? '' }}
@endif
{{ __("Payable Amount") }}
{{ get_amount($item->payable,$item->remittance_data->currency->code)}}
@if ($item->currency->gateway->isTatum($item->currency->gateway) && $item->status == global_const()::REMITTANCE_STATUS_REVIEW_PAYMENT)
@csrf @php $input_fields = $item->details->payment_info->requirements ?? []; @endphp @foreach ($input_fields as $input)

{{ $input->label }}

@endforeach
@endif
{{ __("Download Receipt") }}
{{ __("Copy Link") }}
@empty
{{ __("No Transaction Found!") }}
@endforelse