@extends('layouts.app') @section('content')
    @if ($user)
  • Name

    {{ $user->name }}

  • Staff ID

    {{ $user->employmentDetail->staff_id ?? 'NA' }}

  • Branch

    {{ $user->employmentDetail->department->branch->name ?? 'NA' }}

  • Business Entity

    {{ $user->employmentDetail->businessEntity->name ?? 'NA' }}

  • Department

    {{ $user->employmentDetail->department->name ?? 'NA' }}

  • Employee Group

    {{ $user->employmentDetail->position->parent->position ?? 'NA' }}

  • Position

    {{ $user->employmentDetail->position->position ?? 'NA' }}

  • @else
  • User not found

  • @endif
@endsection