@extends('admin.layouts.app') @section('title') {!! $user->name !!} {{ __('details') }} @endsection @section('content')

{{ $candidate->user->name }}'s {{ __('details') }}

{{-- Create followup --}}
@method('DELETE') @csrf
{{--

{{ __('profession') }}

{{ $candidate->profession->name }}

{{ __('experience') }}

{{ $candidate->experience ? $candidate->experience->name : '' }}

{{ __('marital_status') }}

{{ __($candidate->marital_status) }}

{{ __('education') }}

{{ $candidate->education ? $candidate->education->name : '' }}

{{ __('gender') }}

{{ ucfirst($candidate->gender) }}

{{ __('birth_date') }}

{{ date('D, d M Y', strtotime($candidate->birth_date)) }}

{{ __('website') }}

{{ $candidate->website }}
@if ($user->contactInfo && $user->contactInfo->phone) @endif @if ($user->contactInfo && $user->contactInfo->email)

{{ __('contact_email') }}

{{ $user->contactInfo->email }}
@endif
--}}
{{--
{{ __('description') }}

{!! nl2br($candidate->bio) !!}

{{ __('skills') }}

@foreach ($candidate->skills as $skill) {{ $skill->name }} @endforeach

{{ __('languages') }}

@foreach ($candidate->languages as $language) {{ $language->name }} @endforeach

{{ __('location') }}

{{ $candidate->full_address ?? '-' }}

--}}
{{--
Loading...
--}}

{{ __('lead_list') }}

@include('admin.layouts.partials.message') {{-- --}} @if (userCan('lead.update') || userCan('lead.delete')) @endif @php $i = 1; @endphp @forelse ($user->leads as $lead) {{-- --}} @empty @endforelse
{{ __('s_no') }} {{ __('name') }} {{ __('email') }} {{ __('source') }}{{ __('country') }}{{ __('created_date') }} {{ __('country') }}/{{ __('phone') }} {{ __('action') }}
{{ $i++ }}

{{ substr($lead->name, 0, 27) }}

{{ $lead->email }} {{ $lead->source }} {{ $lead->phone }} @if(!empty($lead->created_at)) {{dateMonthTimeFormat($lead->created_at)}} @endif @if (strpos($lead->country_id, '@#$?') !== false) @php $country_array = explode("@#$?", $lead->country_id); $country_name = reset($country_array); $country_code = end($country_array); @endphp {{ $country_name }}/{{ $country_code }} @else {{ $lead->country_id }} @endif {{ $lead->phone }} @if (userCan('candidate.update')) {{__('view')}} {{__('lead')}} @endif {{-- @if (userCan('lead.update')) @endif --}} @if (userCan('lead.delete'))
@method('DELETE') @csrf
@endif

{{ __('no_data_found') }}...

{{-- follow up model --}} {{-- follow up model end --}} @endsection @section('style') @include('map::links') @endsection @section('script') {{-- Leaflet --}} {{-- @include('map::scripts') --}} {{-- --}} {{-- --}} @endsection