@if (Session::has('staff')) @php $staff = Session::get('staff') @endphp @if($staff->staffdepartment->count()>0)
STAFF DEPARTMENT | ||||
---|---|---|---|---|
# | DEPARTMENT | OCCUPATION | ACTIVE | CREATED AT |
{{ ++$index }} | {{ $sd->department->name }} | {{ $sd->occupation->name }} | {{ $sd->active?'YES':'NO' }} | {{ $sd->created_at }} |