@php $pickupText = 'Pickup Code'; if (isset($details->agentTransaction->user_id)){ //Case cashout $pickupText = 'Reference'; } @endphp
BNB

@if (@$details->agentCompany->code != 'BNB') {{ @$details->agentCompany->name }} @endif

Agent's copy, payout receipt
Date {{ date('Y-m-d', strtotime($details->agentTransaction->paid_at)) }}
Agent Name {{ @$details->agentLocationUser->full_name }}
Location {{ @$details->agentLocation->name }}
Sender
First Name Last Name 2nd Last Name
{{ @$details->agentTransaction->sender_first_name ?? '' }} {{ @$details->agentTransaction->sender_last_name ?? '' }}
Order No. {{ @$details->agentTransaction->order_id }}
{{ $pickupText }} {{ @$details->pickup_code }}
Country Phone Number
{{ @$details->agentTransaction->sender_country }} {{ @$details->agentTransaction->sender_mobile }}
Beneficiary     ID: {{ @$details->government_id_type }}    Number: {{ @$details->government_id_no }} Transfer Reason
First Name Last Name 2nd Last Name
{{ @$details->agentTransaction->receiver_first_name ?? '' }} {{ @$details->agentTransaction->receiver_last_name ?? '' }}
{{ @$details->agentTransaction->transfer_reason }}
Country Phone Number {{ trans("message_lang.LBL_DATE_OF_BIRTH") }}
{{ @$details->agentTransaction->receiver_country }} {{ @$details->agentTransaction->receiver_mobile }} {{ @$details->agentTransaction->receiver_dob }}
Exchange Rate Sent Amount Received Amount
{{ @$details->agentTransaction->exchange_rate }} {{ number_format(@$details->agentTransaction->sending_amount ?? 0, 2) }} {{ @$details->agentTransaction->sending_currency }} {{ number_format(@$details->agentTransaction->receiving_amount ?? 0, 2) }} {{ @$details->agentTransaction->receiving_currency }} @if (@$details->usd_amount > 0 || @$details->amount > 0)  (  {{ number_format(@$details->usd_amount, 2) }} USD @if (@$details->amount > 0)  + {{ number_format($details->amount, 2) }} {{ @$details->agentLocation->agentCountry->currency }} @endif  )  @endif
   
   
   
  ______________ ______________  
  Client Signature Agent Signature  
   

BNB

@if (@$details->agentCompany->code != 'BNB') {{ @$details->agentCompany->name }} @endif

Client's copy, payout receipt
Date {{ date('Y-m-d', strtotime($details->agentTransaction->paid_at)) }}
Agent Name {{ @$details->agentLocationUser->full_name }}
Location {{ @$details->agentLocation->name }}
Sender
First Name Last Name 2nd Last Name
{{ @$details->agentTransaction->sender_first_name ?? '' }} {{ @$details->agentTransaction->sender_last_name ?? '' }}
Order No. {{ @$details->agentTransaction->order_id }}
{{ $pickupText }} {{ @$details->pickup_code }}
Country Phone Number
{{ @$details->agentTransaction->sender_country }} {{ @$details->agentTransaction->sender_mobile }}
Beneficiary     ID: {{ @$details->government_id_type }}    Number: {{ @$details->government_id_no }} Transfer Reason
First Name Last Name 2nd Last Name
{{ @$details->agentTransaction->receiver_first_name ?? '' }} {{ @$details->agentTransaction->receiver_last_name ?? '' }}
{{ @$details->agentTransaction->transfer_reason }}
Country Phone Number {{ trans("message_lang.LBL_DATE_OF_BIRTH") }}
{{ @$details->agentTransaction->receiver_country }} {{ @$details->agentTransaction->receiver_mobile }} {{ @$details->agentTransaction->receiver_dob }}
Exchange Rate Sent Amount Received Amount
{{ @$details->agentTransaction->exchange_rate }} {{ number_format(@$details->agentTransaction->sending_amount ?? 0, 2) }} {{ @$details->agentTransaction->sending_currency }} {{ number_format(@$details->agentTransaction->receiving_amount ?? 0, 2) }} {{ @$details->agentTransaction->receiving_currency }} @if (@$details->usd_amount > 0 || @$details->amount > 0)  (  {{ number_format(@$details->usd_amount, 2) }} USD @if (@$details->amount > 0)  + {{ number_format($details->amount, 2) }} {{ @$details->agentLocation->agentCountry->currency }} @endif  )  @endif
   
   
   
  ______________ ______________  
  Client Signature Agent Signature