@extends("SponsoredBanks.layouts.layout") @section("title", trans("message_lang.LBL_PAYMENT_TRANSACTION_DETAILS")) @section("content")

{!! trans("message_lang.LBL_PAYMENT_TRANSACTION_OF_PICKUP_CODE") !!} : {{ @$details->pickup_code }}  

{!! trans("message_lang.LBL_BENEFICIARY") !!}

@if ($details->usd_amount > 0 || $details->amount > 0) @endif
{!! trans("message_lang.LBL_NAME") !!}: {{ _set_dash(@$details->agentTransaction->receiver_first_name . ' ' . @$details->agentTransaction->receiver_last_name) }}
{!! trans("message_lang.LBL_PHONE") !!}: {{ _set_dash(@$details->agentTransaction->receiver_mobile) }}
{{ trans('message_lang.LBL_AMOUNT') }}: {{ $details->agentTransaction ? number_format($details->agentTransaction->receiving_amount, 2) : '' }} {{ @$details->agentTransaction->receiving_currency }}
{!! trans("message_lang.LBL_PAYOUT_AMOUNT") !!}: {{ number_format($details->usd_amount, 2) }} USD @if ($details->amount > 0)  + {{ number_format($details->amount, 2) }} {{ @$details->agentLocation->agentCountry->currency }} @endif
{{ trans('message_lang.LBL_ADDRESS') }}: {{ _set_dash(@$details->agentTransaction->receiver_address) }}
{{ trans('message_lang.LBL_GOVERNMENT_ID_TYPE') }}: {{ _set_dash(@$details->government_id_type) }}
{{ trans('message_lang.LBL_GOVERNMENT_ID_NUMBER') }}: {{ _set_dash(@$details->government_id_no) }}
{{ trans('message_lang.LBL_ISSUING_COUNTRY') }}: {{ _set_dash(@$details->id_issuing_country) }}

{!! trans("message_lang.LBL_SENDER") !!}

{{ trans('message_lang.LBL_NAME') }}: {{ _set_dash(@$details->agentTransaction->sender_first_name . ' ' . @$details->agentTransaction->sender_last_name) }}
{{ trans('message_lang.LBL_PHONE') }}: {{ _set_dash(@$details->agentTransaction->sender_mobile) }}
{{ trans('message_lang.LBL_COUNTRY') }}: {{ _set_dash(@$details->agentTransaction->sender_country) }}
@if(isset($details->agentCompany->code) && $details->agentCompany->code == "Ria")

{{ trans('message_lang.LBL_REMITTANCE') }}

{{ trans('message_lang.LBL_PAYOUT_AMOUNT') }}: {{ $details->agentTransaction ? number_format($details->agentTransaction->receiving_amount, 2) : '' }} {{ @$details->agentTransaction->receiving_currency }}
{{ trans('message_lang.LBL_SENDING_AMOUNT') }}: {{ _set_dash(number_format(@$details->agentTransaction->sending_amount??0, 2)) }} {{ @$details->agentTransaction->sending_currency??'' }}
{{ trans('message_lang.LBL_EXCHANGE_RATE') }}: {{ _set_dash((@$details->agentTransaction->exchange_rate??0)) }}
{{ trans('message_lang.LBL_REASON') }}: {{ _set_dash(@$details->agentTransaction->transfer_reason) }}
{{ trans('message_lang.LBL_PAID_DATE') }}: {{ _set_dash(format_date_tz(@$details->agentTransaction->paid_at)) }}
@endif

{!! trans("message_lang.LBL_LOCATION") !!}

@if ($details->mamount > 0) @endif
{!! trans("message_lang.LBL_COMPANY") !!}: {{ _set_dash(@$details->agentCompany->name) }}
{!! trans("message_lang.LBL_LOCATION") !!}: {{ _set_dash($details->agentLocation->parent_id > 0 ? $details->agentLocation->network->name : $details->agentLocation->name) }}
{!! trans("message_lang.LBL_SUB_LOCATION") !!}: {{ _set_dash(@$details->agentLocation->name) }}
{!! trans("message_lang.LBL_AMOUNT_BY_USER") !!}: {{ number_format($details->mamount, 2) }}
{!! trans("message_lang.LBL_PAID_DATE") !!}: {{ _set_dash((isset($details->agentTransaction) && isset($details->agentTransaction->paid_at)) ? format_date_tz($details->agentTransaction->paid_at) : '') }}
{!! trans("message_lang.LBL_PAID_USER") !!}: {{ _set_dash(@$details->agentLocationUser->first_name . ' ' . @$details->agentLocationUser->last_name) }}

{!! trans("message_lang.LBL_DOCUMENTS") !!}

{!! trans('message_lang.LBL_GOVERNMENT_ID') !!}: @if ($details->government_id_photo) Download @endif
Government ID
{!! trans("message_lang.LBL_RECEIPT") !!}: @if ($details->receipt_photo) Download @endif
Receipt

{!! trans("message_lang.LBL_NOTES") !!}

{{ @$details->notes }}
@endsection