@extends('layouts.app') @section('title', $service->service_name) @section('content')
Service Types
Status
Client
@if($service->client) {{ $service->client->name }} @else N/A @endif
Location
{{ $service->location->name ?? 'N/A' }}
Zone / Area
{{ $service->zone_area ?? 'Not specified' }}
Description
{{ $service->description }}
Capabilities
{{ $assignment->employee?->full_name ?? 'Unknown Employee' }}
{{ $assignment->start_date->format('M d, Y') }} @if($assignment->end_date) - {{ $assignment->end_date->format('M d, Y') }} @else - Ongoing @endif
@if($assignment->notes){{ $assignment->notes }}
@endifNo employees assigned to {{ $serviceType->name }} service.
No service types assigned to this site.
Add service typesAssigned Employees
{{ $service->employeeAssignments()->count() }}
Active Assignments
{{ $service->employeeAssignments()->where('is_active', true)->count() }}
Site Status
@if($service->is_active) Active @else Inactive @endif
Geofences
{{ $service->geofences()->count() }}
Created
{{ $service->created_at->format('M d, Y') }}
Service Types
{{ $service->serviceTypes->count() }}
Site is operational
Created
{{ $service->created_at->format('M d, Y h:i A') }}
Last Updated
{{ $service->updated_at->format('M d, Y h:i A') }}
Site ID
{{ $service->id }}