@extends('layouts.app') @section('title', 'Employee Assignments') @section('content')
Manage all employee assignments across Sites
| 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' }} |
Showing {{ $assignments->firstItem() }} to {{ $assignments->lastItem() }} of {{ $assignments->total() }} results
@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