@extends('admin.layouts.main-layout') @section('content')

View Candidate

@if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
Please resolve following errors:
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT')
@if ($candidate->tempSourceCode || $candidate->sourceCode) Get Data From AI @endif
{{$candidate->first_name}}
{{$candidate->middle_name ? $candidate->middle_name : ' - '}}
{{$candidate->last_name ? $candidate->last_name : '-'}}
{{$candidate->email}}
{{ $candidate->titles->pluck('name')->implode(', ') }}
{{$candidate->home_phone ?? ''}}
{{ $candidate->firm->name}}
{{ $candidate->firmOffices->pluck('name')->implode(', ') }}
{{$candidate->lawschool->name ?? '-'}}
{{$candidate->jd_year ?? '-'}}
{{$candidate->candidateAcademic->undergraduate_school ?? '-'}}
{{$candidate->candidateAcademic->undergraduate_school_graduation_year ?? '-'}}
{{$candidate->candidateAcademic->master_degree_school ?? ''}}
{{$candidate->candidateAcademic->master_degree_subject ?? ''}}
{{$candidate->candidateAcademic->mba_school ?? ''}}
{{$candidate->candidateAcademic->md_school ?? '-'}}
{{$candidate->candidateAcademic->phd_school ?? '-'}}
{{$candidate->candidateAcademic->phd_subject ?? ''}}
{{$candidate->candidateAcademic->llm_in_tax_law_school ?? ''}}
{{$candidate->candidateAcademic->other_llm_school ?? ''}}

@if (!empty($candidate->lawschoolhonors)) @foreach ($candidate->lawschoolhonors as $lawschoolhonor) {{$lawschoolhonor->name}}
@endforeach @endif

@if (!empty($candidate->undergradspecialities)) @foreach ($candidate->undergradspecialities as $undergradspeciality) {{$undergradspeciality->name}}
@endforeach @endif
{{$candidate->linkedIn_url ?? ''}}

@foreach ($candidate->practiceAreas as $practice) {{$practice->name}}
@endforeach

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

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

@if (!empty($candidate->clerkships)) @foreach ($candidate->clerkships as $clerkship) {{$clerkship->name}}
@endforeach @endif

@if (!empty($candidate->accolades)) @foreach ($candidate->accolades as $accolade) {{$accolade->name}}
@endforeach @endif

@if (!empty($candidate->clients)) @foreach ($candidate->clients as $client) {{$client->name}}
@endforeach @endif

@if (!empty($candidate->probonos)) @foreach ($candidate->probonos as $probono) {{$probono->name}}
@endforeach @endif

@if (!empty($candidate->memberships)) @foreach ($candidate->memberships as $membership) {{$membership->name}}
@endforeach @endif

@if (!empty($candidate->industries)) @foreach ($candidate->industries as $industry) {{$industry->name}}
@endforeach @endif

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

@foreach ($candidate->matters as $matter) {{$matter->name}}
@endforeach

{{$candidate->sourceCode->source_code ?? ''}}
@php if(!empty($candidate->sourceCode->ai_response)) { $data = json_decode($candidate->sourceCode->ai_response); echo "
";
                                        print_r($data);
                                    }
                                    @endphp

                                
@endsection @section('footerJsCode') @endsection