@extends('layouts.admin') @section('header', 'Client Details') @section('content')

{{ $client->name }}

Client details and related projects

Edit Client
@csrf @method('DELETE')
@if(session('success')) @endif @if(session('error')) @endif

Client Information

Contact and business details.

Contact Person
{{ $client->contact_person ?? 'Not specified' }}
Email Address
@if($client->email) {{ $client->email }} @else Not specified @endif
Phone
@if($client->phone) {{ $client->phone }} @else Not specified @endif
Website
@if($client->website) {{ $client->website }} @else Not specified @endif
Address
@if($client->address) {{ $client->address }}
@if($client->city || $client->state || $client->postal_code) {{ $client->city ?? '' }}{{ $client->city && $client->state ? ', ' : '' }}{{ $client->state ?? '' }} {{ $client->postal_code ?? '' }}
@endif {{ $client->country ?? '' }} @else Not specified @endif
Notes
{{ $client->notes ?? 'No notes available.' }}

Client Projects

Projects associated with this client.

New Project
@if($client->projects->count() > 0)
@foreach($client->projects as $project) @endforeach
Project Name Status Deadline Actions
{{ $project->name }}
{{ $project->status_label }} @if($project->deadline) {{ $project->deadline->format('M d, Y') }} @else No deadline set @endif
@else

No projects found for this client

Get started by creating a new project for this client

New Project
@endif
@endsection