@if($userType == 'ADMIN') @elseif($userType == 'USER') @endif @foreach($companyStaff as $staff) @if($userType == 'ADMIN') @elseif($userType == 'USER') @endif @endforeach
Name Email Phone NumberCompanyBranchStatus Action
{{ $staff['personal_information']->first_name ?? "N/A" }} {{ $staff['personal_information']->last_name ?? "N/A"}} {{ $staff['user']->email }} {{ $staff['personal_information']->phone_number ?? "N/A" }}{{ $staff['company']->company_name ?? "N/A" }}{{ $staff['company_branch']->name ?? "N/A" }} @if($staff['user_status']->status == "ENABLED") ENABLED @elseif($staff['user_status']->status == "DISABLED") DISABLED @elseif($staff['user_status']->status == "BLOCKED") BLOCKED @endif View