@extends('layouts.admin') @section('heading', 'Staff') @section('subheading', 'Manage staff logins and their assigned roles.') @section('actions') + Add staff @endsection @section('content') @include('partials.master-tabs') @if (session('status'))
{{ session('status') }}
@endif
@forelse($staff as $member) @empty @endforelse
Staff ID Name Email Role Status Actions
{{ $member->staff_code ?? '—' }} {{ $member->name }} {{ $member->email }} @if($member->role) {{ $member->role->name }} @else No role assigned @endif @if($member->is_active) Active @else Inactive @endif Edit
@csrf @method('DELETE')
No staff yet.
@endsection