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

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

@hasanyrole('administrator|customer service|marketing|operation|compliance|finance back office|external cs profile') {{ trans('message_lang.BTN_BACK') }} @else {{ trans('message_lang.BTN_BACK') }} @endhasanyrole
@csrf

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

@if($details->method == 'auto') @endif
{!! trans("message_lang.LBL_AMOUNT") !!}: {{ $details->amount ? number_format($details->amount, 2) : '' }} {{ $details->amount ? @$details->currency : '' }}
{!! trans("message_lang.LBL_BALANCE") !!}: {{ $details->agentLocation->balance ? number_format($details->agentLocation->balance, 2) : '' }} {{ $details->agentLocation->balance ? @$details->currency : '' }}
{!! trans("message_lang.LBL_LOCATION") !!}: {{ _set_dash($details->agentLocation->parent_id > 0 ? $details->agentLocation->network->name : $details->agentLocation->name) }}
{!! trans("message_lang.LBL_CODE") !!}: {{ $details->xReferenceId }}
{!! trans("message_lang.LBL_PARTNER_REFERENCE_NUMBER") !!}: {{ $details->partner_reference ?? "" }}
{!! trans("message_lang.LBL_COMPANY") !!}: {{ _set_dash(@$details->agentCompany->name) }}
{!! trans("message_lang.LBL_TRANSACTION_TYPE") !!}: {{ _set_dash(@$details->transaction_type) }}
{!! trans("message_lang.LBL_PHONE_NUMBER") !!}: {{ _set_dash(@$details->phone_number) }}
{!! trans("message_lang.LBL_RECEIVER_TYPE") !!}: {{ $details->receiver_type == 1 ? "User" : "Agent" }}
{!! trans("message_lang.LBL_USER") !!}: {{ _set_dash(@$details->agentLocationUser->first_name . ' ' . @$details->agentLocationUser->last_name) }}

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

@hasanyrole('administrator|customer service|marketing|operation|compliance|finance back office|external cs profile') @endhasanyrole @if (@$details->status != 'new') @endif
{!! trans('message_lang.LBL_TYPE') !!}: {{ $details->method }}
{!! trans('message_lang.LBL_STATUS') !!}: {{ _set_dash(ucfirst(@$details->status)) }}     @hasanyrole('administrator|operation|customer service|external cs profile') @if ($details->status == 'new' && $details->processed_by == 0 && $details->method == "manual") @elseif ($details->status == 'in progress' && $details->method == "manual" && $details->processed_by != auth()->guard('agentportal')->id()) @endif @endhasanyrole @hasanyrole('administrator|finance back office|compliance|external cs profile') @if ($details->status == config('constants.MOBILE_MONEY_CICO_REQUEST_STATUSES.IN_PROGRESS') && $details->method == "auto") @endif @endhasanyrole @hasanyrole('administrator|operation|customer service|finance back office|external cs profile') @if (($details->status == config('constants.MOBILE_MONEY_CICO_REQUEST_STATUSES.NEW') || $details->status == config('constants.MOBILE_MONEY_CICO_REQUEST_STATUSES.IN_PROGRESS')) && $details->method == "auto") @endif @endhasanyrole
{!! trans('message_lang.LBL_PAID_BY') !!}: {{ ($details->employeeUser) ? ucfirst(@$details->employeeUser->first_name) . ' ' . ucfirst(@$details->employeeUser->last_name) : '-' }}
{!! trans('message_lang.LBL_PAID_AT') !!}: {{ (($details->status == "completed" || $details->status == "rejected") && $details->updated_at) ? format_date_tz($details->updated_at) : '-' }}
{!! trans('message_lang.LBL_NOTES') !!}: {{ _set_dash(@$details->reject_reason) }}
@endsection @section("page_vendors") @endsection @section("page_script") @endsection