@include('partials.recruitment-tabs')
References
{{-- @forelse($datalist as $data) @if($data->referees->isNotEmpty()) @php $characterReference = json_decode($data->referees->first()->character_reference ?? '{}', true); $professionalReference1 = json_decode($data->referees->first()->professional_reference_1 ?? '{}', true); $professionalReference2 = json_decode($data->referees->first()->professional_reference_2 ?? '{}', true); @endphp @if($characterReference) @endif @else @endif @empty @endforelse --}}
Name Phone Character Reference Professional Reference 1 Professional Reference 2 Action
{{$data['name']}} {{$data['tel_number']}}{{ $characterReference['company'] ?? '' }} {{ $professionalReference1['company'] ?? '' }} {{ $professionalReference2['company'] ?? '' }}