@extends(session('staff_logged_in') ? 'Staff.layout' : 'Admin.layout') @section('content')
Staff Management

Manage all staff related activities

{{-- Stats --}}

Total Staff

{{ $totalStaff }}

Active Staff

{{ $activeStaff }}

On Leave

{{ $onLeave }}

Inactive

{{ $inactive }}

{{-- Menu Cards --}}
@php $cards = [ ['label' => 'All Staff', 'icon' => 'tabler-users', 'color' => '#696cff', 'route' => 'staff_list', 'desc' => 'View and manage all staff'], ['label' => 'Add Staff', 'icon' => 'tabler-user-plus', 'color' => '#71dd37', 'route' => 'create_staff', 'desc' => 'Add a new staff member'], ['label' => 'Assign Role', 'icon' => 'tabler-shield-check', 'color' => '#03c3ec', 'route' => 'assign_role', 'desc' => 'Set staff roles and access'], ['label' => 'Receptionist', 'icon' => 'tabler-headset', 'color' => '#ff9f43', 'route' => 'create_staff', 'desc' => 'Add receptionist staff', 'role' => 'Receptionist'], ['label' => 'Nursing', 'icon' => 'tabler-heart-rate-monitor', 'color' => '#ff4f5e', 'route' => 'create_staff', 'desc' => 'Add nursing staff', 'role' => 'Nursing'], ['label' => 'Pharmacy', 'icon' => 'tabler-pill', 'color' => '#696cff', 'route' => 'create_staff', 'desc' => 'Add pharmacy staff', 'role' => 'Pharmacy'], ['label' => 'Accounts', 'icon' => 'tabler-calculator', 'color' => '#71dd37', 'route' => 'create_staff', 'desc' => 'Add accounts staff', 'role' => 'Accounts'], ['label' => 'Lab', 'icon' => 'tabler-microscope', 'color' => '#03c3ec', 'route' => 'create_staff', 'desc' => 'Add lab staff', 'role' => 'Lab'], ['label' => 'Administration', 'icon' => 'tabler-building', 'color' => '#ff9f43', 'route' => 'create_staff', 'desc' => 'Add administration staff', 'role' => 'Administration'], ['label' => 'Housekeeping', 'icon' => 'tabler-home-check', 'color' => '#ff4f5e', 'route' => 'create_staff', 'desc' => 'Add housekeeping staff', 'role' => 'Housekeeping'], ]; @endphp @foreach($cards as $card)
{{ $card['label'] }}

{{ $card['desc'] }}

@endforeach
@endsection