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