@extends('layouts.app') @section('title', __('Department team')) @section('content')

{{ $department->code }}

{{ $department->name }}

{{ $department->description }}

{{ __('Edit department') }}

{{ __('Department manager') }}: {{ $department->manager?->name ?? '—' }}

@forelse($employees as $profile)@empty@endforelse
{{ __('Employee') }}{{ __('Job title') }}{{ __('Phone') }}{{ __('Hire date') }}{{ __('Status') }}
{{ $profile->user->name }} · {{ $profile->user->member_id }}{{ $profile->job_title ?: '—' }}{{ $profile->phone ?: '—' }}{{ $profile->hire_date?->format('M d, Y') ?? '—' }}{{ $profile->user->is_active ? __('Active') : __('Inactive') }}
{{ __('No employees assigned to this department.') }}
{{ $employees->links() }}
@endsection