@php $jsonString = str_replace(['"', '[', ']'], '', @$candidate->destination[0]->preferred_country); $preferred_country_ids = explode(",", $jsonString); $educations = @$candidate->educations ?? []; $can_educations_count = count($educations) + 1; @endphp @extends('admin.layouts.app') @section('title') {{ __('edit_candidate') }} @endsection @section('content') @if (userCan('candidate.create'))
@method('PUT') @csrf

({{ $candidate->user_id }}) {{ ucwords($candidate->user->name) }}

{{ $candidate->user->email }} | {{ $candidate->user->country }} {{ $candidate->user->phone }}

{{-- --}} {{--

--}} {{--
@if (!$user->leads->isEmpty())
@forelse ($user->leads as $lead) @if ($lead->phone !== $candidate->user->phone)

+91 - {{ $lead->phone }}

@endif @empty

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

@endforelse
@else

+91 - {{ $candidate->user->phone }}

@endif
--}}
Follow up
{{-- --}}
{{ __('profile_details') }}
@error('gender') {{ __($message) }} @enderror
@error('marital_status') {{ __($message) }} @enderror
{{--
--}}
@error('student_category') {{ __($message) }} @enderror
@error('passport_number') {{ __($message) }} @enderror
{{--
@error('profession_id') {{ __($message) }} @enderror
@error('experience') {{ __($message) }} @enderror
@error('role_id') {{ __($message) }} @enderror
@error('education') {{ __($message) }} @enderror
--}}
birth_date)) value="{{ date('d-m-Y', strtotime($candidate->birth_date)) }}" @endif class="form-control @error('birth_date') is-invalid @enderror" name="birth_date" id="birth_date" placeholder="{{ __('birth_date') }}"> @error('birth_date') {{ __($message) }} @enderror
{{--
@error('skills') {{ __($message) }} @enderror
@error('languages') {{ __($message) }} @enderror
--}}
@if (userCan('admin.assign'))
@error('assign_to') {{ __($message) }} @enderror
@endif
@error('notes') {{ $message }} @enderror
{{-- --}}
{{--
--}}
@foreach ($candidate->educations as $index => $edu) @if($index >= 1)
{{-- --}}
@endif @endforeach
candidate_exam->test_taken_date)) value="{{ date('d-m-Y', strtotime($candidate->candidate_exam->test_taken_date)) }}" @endif placeholder="Test Taken Date" />
{{--
--}}
{{--
--}}
@error('preferred_program') {{ __($message) }} @enderror
@error('intake') {{ __($message) }} @enderror
@include('admin.layouts.partials.message') {{-- --}} {{-- --}} @php $i = 1; @endphp @forelse ($user->leads as $key => $lead) @php if($key == 0){ $description['campaign'] = null; $description = json_decode($lead->description, true); if(!empty($description['campaign'])){ @endphp @php } } @endphp {{-- --}} {{-- --}} @empty @endforelse
{{ __('s_no') }}{{ __('name') }} {{ __('email') }}{{ __('source') }} {{ __('url') }}{{ __('country') }}{{ __('created_date') }} {{ __('country') }}/{{ __('phone') }}
{{ $i++ }}

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

{{ $lead->email }} {{ $lead->source }} {{ $lead->url }} @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 }} {{-- --}}

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

Loading...
{{--
--}}
Follow Up
@forelse (@$followups as $followup)
{{--
Comment: {{ @$followup->comment }}
--}}
{{ @$followup->type }} @if(@$followup->follow_up_status == 'Not Connected') Not Connected @else Connected @endif
{{--

Type: {{ @$followup->type }}

--}} {{--

Status: {{ @$followup->follow_up_status }}

--}}

Priority: {{ @$followup->priority }}

Followup: {{ @$followup->followup_up }}

@if(@$followup->followup_up == "yes")

Followup Time: {{ dateMonthTimeFormat(@$followup->datetime) }}

@endif

Comment: {{ @$followup->comment }}

@empty

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

@endforelse
@forelse (@$user->timeLine as $timeLine) @if (!empty($timeLine->auth_id)) @else @endif @if (!empty($timeLine->created_at)) @else @endif @empty @endforelse
Stages Change By Date & Time
{{ $timeLine->stages }}{{ ucwords(adminIdToNameGet($timeLine->auth_id)) }}--{{ dateMonthTimeFormat($timeLine->created_at) }}--

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

{{-- --}}
@endif @endsection @section('style') {{-- --}} @endsection @section('script') {{-- --}} @endsection