@extends('layouts.app') @section('title', 'Staff Directory') @section('page-title', 'Staff Directory & Contacts') @section('content') @php $isAdmin = auth()->user()->role === 'admin'; @endphp
{{ $totalStaff }} staff members
{{ $schoolSettings['school_address'] ?? '' }}
Phone
{{ $schoolSettings['school_phone'] }}
{{ $schoolSettings['school_email'] }}
{{ $members->count() }} {{ $members->count() === 1 ? 'member' : 'members' }}
{{ $staff->name }}
@if($staff->department) {{ $staff->department }} @endif{{ $staff->designation }}
@if($staff->qualification){{ $staff->qualification }}
@endifNo staff members in directory yet.
@if($isAdmin)Click "Add Staff" to start building the directory.
@endif