@extends("agentportal.layouts.layout") @section("title", trans('message_lang.LBL_SEND_MONEY_TXN_SUMMARY')) @section("content")

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

@php $enable_countries = app('App\Http\Controllers\SysConfController')->getConfig("ENABLE_MASK_CODE_COUNTRIES"); $agentCountryCode = Auth::guard('agentportal')->user()->agentLocation->agentCountry->isoname ?? ''; @endphp @if($smtData->status == $smtData->txnStatus['paid'])

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

Your money transfer code is: {{$smtData->reference_no}} @elseif($smtData->status == $smtData->txnStatus['rejected'] || $smtData->status == $smtData->txnStatus['failed'])

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

Your money transfer code is: {{ ($smtData->receiving_option_code == config("constants.CP") && !empty($enable_countries) && in_array($agentCountryCode,explode(",",$enable_countries)) ) ? mask_code($smtData->reference_no) : $smtData->reference_no}} @if($smtData->remarks != '') Failure Reason: {{$smtData->remarks}} @endif @elseif($smtData->status == $smtData->txnStatus['in_progress'] || $smtData->status == $smtData->txnStatus['transmitted'] || $smtData->status == $smtData->txnStatus['created'])

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

Your money transfer code is: {{( $smtData->receiving_option_code == config("constants.CP") && !empty($enable_countries) && in_array($agentCountryCode,explode(",",$enable_countries)) ) ? mask_code($smtData->reference_no) : $smtData->reference_no}} @else

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

Your money transfer code is: {{( $smtData->receiving_option_code == config("constants.CP") && !empty($enable_countries) && in_array($agentCountryCode,explode(",",$enable_countries)) ) ? mask_code($smtData->reference_no) : $smtData->reference_no}} @endif
@endsection @section("page_vendors") @endsection @section("page_script") @endsection