@extends('layouts.app') @section('title', 'Employee Assignments') @section('content')

Employee Assignments

Manage all employee assignments across Sites

Filters

Reset
{{ $assignments->count() }} total assignments
@if($assignments->count() > 0)
@foreach($assignments as $assignment) @endforeach
Employee Sites Client Assignment Period Status Actions

{{ $assignment->employee?->fullName ?? 'Unknown Employee' }}

{{ $assignment->employee?->email ?? '—' }}

{{ $assignment->service?->service_name ?? '—' }}

{{ $assignment->service?->service_type ? ucfirst($assignment->service->service_type) : '—' }}

{{ $assignment->service?->client?->name ?? '—' }}

{{ $assignment->start_date->format('M d, Y') }}
@if($assignment->end_date) {{ $assignment->end_date->format('M d, Y') }} @else Ongoing @endif
{{ $assignment->is_active ? 'Active' : 'Inactive' }}
@if($assignment->service) @endif
@if($assignments->hasPages())
@endif @else

No assignments found

@if(request()->hasAny(['search', 'status', 'service_id'])) No assignments match your filters. Try adjusting your search criteria. @else Start by assigning employees to Sites. @endif

Create First Assignment
@endif
@endsection