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

{{ trans('message_lang.LBL_REGISTRATION_DETAILS') }} - {{ $registrationDetails->firstName ." ".$registrationDetails->lastName }} ({!! $statuses[$registrationDetails->status] !!})

{{-- Personal Details --}}
{{-- heading --}}
Personal Details
{{-- section body --}}
{!! trans("message_lang.LBL_FULL_NAME") !!} {!! $registrationDetails->firstName ." ". $registrationDetails->lastName !!}
{!! trans("message_lang.LBL_COUNTRY") !!} {!! $registrationDetails->country->name ?? "-" !!}
{!! trans("message_lang.LBL_ADDRESS") !!} {!! $registrationDetails->address .", ". $registrationDetails->city !!}
{!! trans("message_lang.LBL_PHONE_NUMBER") !!} {!! $registrationDetails->phoneNumber !!}
{!! trans("message_lang.LBL_EMAIL") !!} {!! $registrationDetails->emailAddress !!}
{!! trans("message_lang.LBL_ID_DETAILS") !!} {!! config("constants.SELF_REGISTER_ID_TYPES")[$registrationDetails->idType] !!} ({!! $registrationDetails->idNumber !!})
{!! trans("message_lang.LBL_ID_CARD") !!} @if(isset($personalDocs)) @foreach ($personalDocs as $doc) @endforeach @else No ID card @endif
{!! trans("message_lang.LBL_REFERRAL_CODE") !!} {!! $registrationDetails->referralCode ?? "-" !!}
{{-- end personal details --}} {{-- Business Details --}}
{{-- heading --}}
{!! trans("message_lang.LBL_BUSINESS_DETAILS") !!}
{{-- section body --}}
{!! trans("message_lang.LBL_BUSINESS_NAME") !!} {!! $registrationDetails->businessDetails->business_name !!}
{!! trans("message_lang.LBL_REGISTRATION_CERT") !!}
{!! $registrationDetails->businessDetails->business_reg_cert_number ?? "-" !!} @if (isset($businessDocuments) && isset($businessDocuments["BUSINESS_REG"])) @else {!! trans('message_lang.LBL_NO_DOC_FOUND') !!} @endif
{!! trans("message_lang.LBL_TAX_CERT") !!}
{!! $registrationDetails->businessDetails->tax_cert_number ?? "-" !!} @if (isset($businessDocuments) && isset($businessDocuments["TAX"])) @else {!! trans('message_lang.LBL_NO_DOC_FOUND') !!} @endif
{!! trans("message_lang.LBL_CITY_COUNCIL_LICENSE") !!}
{!! $registrationDetails->businessDetails->city_council_license_no ?? "-" !!} @if (isset($businessDocuments) && isset($businessDocuments["CITY_COUNCIL"])) @else {!! trans('message_lang.LBL_NO_DOC_FOUND') !!} @endif
{!! trans("message_lang.LBL_OTHER_DOCUMENTS") !!}
@if (isset($businessDocuments) && isset($businessDocuments["OTHER"])) @else {!! trans('message_lang.LBL_NO_DOC_FOUND') !!} @endif
{{-- end Business Details --}}
{!! trans("message_lang.LBL_PROCESSING_ACTION") !!}
@forelse($registrationDetails->updateLog as $logs) @empty @endforelse
{!! trans("message_lang.LBL_UPDATED_BY") !!} {!! trans("message_lang.LBL_STATUS") !!} {!! trans("message_lang.LBL_COMMENTS") !!} {!! trans("message_lang.LBL_DATE") !!}
{!! $logs->employeeDetails->first_name . " " . $logs->employeeDetails->last_name !!} {!! $statuses[$logs->updated_status] !!} {!! $logs->comment ?? "-" !!} {!! format_date_tz($logs->created_at) !!}
{!! trans('message_lang.DATATABLE_LBL_NO_DATA_AVAILABLE') !!}
@hasanyrole('administrator|compliance') {{-- review actions --}} @if ($registrationDetails->status == 0)
@endif {{-- registration status update form --}}
@csrf {{-- review action --}}
{{-- review comment --}}
{{-- form controls --}}
@endhasanyrole
{{-- test image --}}
@endsection @section("page_vendors") @endsection @section("page_script") @endsection