@extends('layouts.master') @section('title', __('clients.show_page_title')) @section('content')

{{ $client->name }} {{ $client->last_name }}

{{ __('clients.show_p.system_id') }}: {{ $client->system_id }}

{{$client->approved_status->getLangLabel()}}
@if(auth()->user()->hasRole(\App\Enum\UserRoleEnum::AGENT)) {{ __('clients.show_p.book_expert_btn') }} @endif

{{ __('clients.show_info_title') }}

{{ __('clients.fields.system_id') }} : {{ $client->system_id }}
{{ __('clients.fields.bande_number') }} : {{ $client->bande_number }}
{{ __('clients.fields.name') }} : {{ $client->name }}
{{ __('clients.fields.last_name') }} : {{ $client->last_name }}
{{ __('clients.fields.dob') }} : {{ $client->date_of_birth?->format('Y-m-d') }}
{{ __('clients.fields.gender') }} : {{ $client->gender?->getLangLabel() }}
{{ __('clients.fields.status') }} : {{ $client->status?->getLangLabel() }}
{{ __('clients.fields.born_zone_id') }} : {{ $client->bornZone->name }}
{{ __('clients.fields.age') }} : {{ $client->getAge() }}
{{ __('clients.fields.email') }} : {{ $client->email }}
{{ __('clients.fields.phone') }} : {{ $client->phone }} @if($client->phone)
@endif {{ $client->phone_2 }}
{{ __('clients.fields.address') }} : {{ $client->address_line_1 }}
{{ $client->address_line_2 }}
{{ __('clients.fields.native_languages') }} : @php $i = 1; @endphp @foreach(\App\Enum\UserNativeLanguageEnum::cases() as $enum) @if(in_array($enum->value,old('native_languages',optional($client)->native_languages??[]))) @if($i > 1) , @endif {{ $enum->getLangLabel() }} @php $i++; @endphp @endif @endforeach   {{ __('clients.fields.spoken_languages') }} : @php $i = 1; @endphp @foreach(\App\Enum\UserNativeLanguageEnum::cases() as $enum) @if(in_array($enum->value,old('spoken_languages',optional($client)->spoken_languages??[]))) @if($i > 1) , @endif {{ $enum->getLangLabel() }} @php $i++; @endphp @endif @endforeach   {{ __('clients.fields.hobbies') }} : @foreach(old('hobbies',optional($client)->hobbies??[]) as $hobby) {{ $hobby }} @if(!$loop->last) , @endif @endforeach   {{ __('clients.fields.driver_license') }} : @foreach(old('driver_license',optional($client)->driver_license??[]) as $dl) {{ $dl }} @if(!$loop->last) , @endif @endforeach 
{{ __('clients.fields.city') }} : {{ $client->city }}
{{ __('clients.fields.state') }} : {{ $client->state?->getLangLabel() }}
{{ __('clients.fields.postal_code') }} : {{ $client->postal_code }}
{{ __('clients.fields.country') }} : {{ $client->country }}
@if($client->user) {{ optional($client->user)->name. ' '.optional($client->user)->last_name }} ({{ __('clients.show_p.Your follow-up agent') }})
{{ __('clients.show_p.Email') }} : {{ optional($client->user)->email }}
{{ __('clients.show_p.Phone') }} : {{ optional($client->user)->phone }} @else
{{ __('clients.show_p.No Agent Assigned') }}
@endif
{{ __('clients.show_p.Reference CSEF address') }}:
{{ $client->zone->name }}
{{ $client->zone->address }},
{{ $client->zone->locality }} ({{ $client->zone->province }} ) {{ $client->postal_code }}
{{ __('clients.show_p.Address Born Reference CSEF') }}:
{{ $client->bornZone->name }}
{{ $client->bornZone->address }},
{{ $client->bornZone->locality }} ({{ $client->bornZone->province }} ) {{ $client->postal_code }}
{{ __('dashboard.user.table2.title') }}
{{ __('zoom-appointments.fields.created_at') }} {{ __('layout.action') }} {{ __('zoom-appointments.fields.title') }} {{ __('zoom-appointments.fields.specialist_id') }} {{ __('zoom-appointments.fields.date_time') }}
{{ __('dashboard.user.table1.title') }}
{{ __('layout.created_at') }} {{ __('dashboard.user.table1.date_time') }} {{ __('dashboard.user.table1.status') }} {{ __('dashboard.user.table1.agent') }} {{ __('dashboard.user.table1.object') }} {{ __('dashboard.user.table1.description') }}
{{ __('dashboard.user.table3.title') }}
{{ __('notes.fields.created_at') }} {{ __('layout.action') }} {{ __('notes.fields.note_from') }} {{ __('notes.fields.zoom_appointment_title') }} {{ __('notes.fields.client') }} {{ __('notes.fields.specialist') }} {{ __('notes.fields.agent') }} {{ __('notes.fields.date') }} {{ __('notes.fields.time') }}
{{ __('dashboard.user.table4.title') }}
{{ __('calls.fields.created_at') }} {{ __('calls.fields.id') }} {{ __('calls.fields.phone') }} {{ __('calls.fields.datetime') }} {{ __('calls.fields.direction') }} {{ __('calls.fields.status') }} {{ __('calls.fields.description') }}
{{ __('clients.show_p.tab5_title') }}

{{ __('clients.show_p.tab5_temp_msg') }}

@endsection @section('plugin_css') @endsection @section('plugins_js') @endsection