@extends("agentportal.layouts.layout") @section("title", trans("message_lang.LBL_PAYMENT_TRANSACTION_DETAILS")) @section("page_style") @endsection @section("content")

{!! trans("message_lang.LBL_PAYMENT_TRANSACTION_OF_PICKUP_CODE") !!}: {{ @$details->pickup_code }}   @if (@$details->is_paid_found == '1') @if(isset($details->agentCompany->code) && !in_array($details->agentCompany->code,["Ria","BNB"])) {!! trans("message_lang.LBL_RECONCILED") !!} @endif @endif

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

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

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

{!! trans("message_lang.LBL_NAME") !!}: {{ _set_dash(@$details->sender_first_name . ' ' . $details->sender_last_name) }}
{!! trans("message_lang.LBL_PHONE") !!}: {{ _set_dash(@$details->sender_mobile) }}
{!! trans("message_lang.LBL_COUNTRY") !!}: {{ _set_dash(@$details->sender_country) }}

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

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

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

{!! trans("message_lang.LBL_GOVERNMENT_ID") !!}: @if (@$details->agentPaidTransaction->government_id_photo && file_exists(public_path('/'.$details->agentPaidTransaction->government_id_photo))) Download
Government ID @elseif(@$details->agentPaidTransaction->government_id_photo && file_exists(public_path('/uploads/government_id_photo/'.$details->agentPaidTransaction->government_id_photo))) Download
Government ID @elseif(@$details->agentPaidTransaction->government_id_photo && file_exists(public_path('/uploads/government_id_photo/government_id_photo/'.$details->agentPaidTransaction->government_id_photo))) Download
Government ID @elseif(Str::contains($details->agentPaidTransaction->government_id_photo, 'https://firebasestorage'))
{!! trans("message_lang.DISPLAY_PICTURE") !!}
@else
Government ID @endif
{!! trans("message_lang.LBL_RECEIPT") !!}: @if (@$details->agentPaidTransaction->receipt_photo) Download @endif
Receipt

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

{{ @$details->agentPaidTransaction->notes }}
@endsection @section("page_vendors") @endsection @section("page_script") @endsection