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

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

@csrf

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

{!! trans('message_lang.LBL_PICKUP_CODE') !!}: {{ _set_dash(@$details->sendMoneyTransaction->reference_no) }}
{!! trans('message_lang.LBL_SENDING_AMOUNT') !!}: {{ $details->sendMoneyTransaction->sending_amount ? number_format($details->sendMoneyTransaction->sending_amount, 2) : '' }} {{ $details->sendMoneyTransaction->sending_amount ? $details->sendMoneyTransaction->sending_currency : '' }}
{!! trans('message_lang.LBL_RECEIVER_AMOUNT') !!}: {{ $details->sendMoneyTransaction->receiving_amount ? number_format($details->sendMoneyTransaction->receiving_amount, 2) : '' }} {{ $details->sendMoneyTransaction->receiving_amount ? $details->sendMoneyTransaction->receiving_currency : '' }}
{!! trans('message_lang.LBL_LOCATION') !!}: {{ _set_dash($details->sendMoneyTransaction->agentLocation->parent_id>0?$details->sendMoneyTransaction->agentLocation->network->name:$details->sendMoneyTransaction->agentLocation->name) }}
{!! trans('message_lang.LBL_STATUS') !!}: {{ _set_dash(ucfirst(@$details->status)) }} @if ($details->status == 'new' && $details->cancelled_by == 0) @elseif ($details->status == 'in progress' && $details->cancelled_by != auth()->guard('SponsoredBanks')->id()) @endif
{!! trans('message_lang.LBL_RECEIVED_AT') !!}: {{ $details->created_at ? format_date_tz($details->created_at) : '-' }}
{!! trans('message_lang.LBL_REASON') !!}: {{ _set_dash(@$details->agent_comment) }}
{!! trans('message_lang.LBL_NOTES') !!}: {{ _set_dash(@$details->admin_comment) }}

{!! trans('message_lang.LBL_CANCELLATION_INFO') !!}

@if (@$details->status != 'new') @endif
{!! trans('message_lang.LBL_STATUS') !!}: {{ _set_dash(ucfirst(@$details->status)) }}
{!! trans('message_lang.LBL_CANCELLED_BY') !!}: {{ ($details->employeeUser) ? ucfirst(@$details->employeeUser->first_name) . ' ' . ucfirst(@$details->employeeUser->last_name) : '-' }}
{!! trans('message_lang.LBL_CANCELLED_AT') !!}: {{ $details->cancelled_at ? $details->cancelled_at->format('Y-m-d') : '-' }}
{!! trans('message_lang.LBL_NOTES') !!}: {{ _set_dash(@$details->admin_comment) }}

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

{!! trans('message_lang.LBL_SENDER_NAME') !!} {!! $details->sendMoneyTransaction->sender_name !!}
{!! trans('message_lang.LBL_EMAIL') !!}: {!! $details->sendMoneyTransaction->sender_email !!}
{!! trans('message_lang.LBL_PHONE') !!}: {!! $details->sendMoneyTransaction->sender_phone_code !!} {!! $details->sendMoneyTransaction->sender_phone_number !!}

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

{!! trans('message_lang.LBL_RECEIVER_NAME') !!} {!! $details->sendMoneyTransaction->receiver_name !!}
{!! trans('message_lang.LBL_EMAIL') !!}: {!! $details->sendMoneyTransaction->recipient_email !!}
{!! trans('message_lang.LBL_PHONE') !!}: {!! $details->sendMoneyTransaction->recipient_phone_no !!}
@endsection @section("page_vendors") @endsection @section("page_script") @endsection