@include('host.header', ['hostUser' => $hostUser, 'host' => $host])

Host information

@if($host) @else @endif
ID Company Name Contact Person Email Phone Trade License No Category Status Actions
{{ $host->id }} {{ $host->company_name }} {{ $host->contact_name }} {{ $host->contact_email }} {{ $host->contact_mobile }} {{ $host->trade_license_number }} @if($host->categories_offered) @php $categories = is_array($host->categories_offered) ? $host->categories_offered : json_decode($host->categories_offered, true); @endphp @if(is_array($categories)) {{ implode(', ', $categories) }} @else {{ $host->categories_offered }} @endif @else N/A @endif @switch($host->status) @case('approved') Approved @break @case('rejected') Rejected @break @case('suspended') Suspended @break @default Pending @endswitch
No host information found
@include('host.footer')