People Information Lookup

@if(session('error'))
{{ session('error') }}
@endif
@csrf
@error('name') {{ $message }} @enderror
@error('email') {{ $message }} @enderror
@error('phone') {{ $message }} @enderror
@if(isset($data['data']) && count($data['data']) > 0)
@php $people = is_array($data['data']) && array_key_exists(0, $data['data']) ? $data['data'] : [ $data['data'] ]; @endphp @foreach($people as $index => $person) @endforeach
# Name Email Location Actions
{{ $index + 1 }} {{ $person['full_name'] ?? 'N/A' }} {{ $person['emails'][0]['address'] ?? 'N/A' }} {{ $person['location_name'] ?? 'N/A' }}
@endif