@extends('layouts.app') @section('title', $client->company_name) @section('content')

{{ $client->company_name }}

Edit @if(auth()->user()->isSuperAdmin()) Back @endif
Projects
{{ $client->projects_count }}
Users
{{ $client->users_count }}
Submissions
{{ $client->submissions_count }}
Status
{!! status_badge($client->status) !!}
Client Details
@if($client->logo)
Logo
@endif
Contact Person{{ $client->contact_person ?? '-' }}
Email{{ $client->email ?? '-' }}
Phone{{ $client->phone ?? '-' }}
Website@if($client->website){{ $client->website }}@else - @endif
GST Number{{ $client->gst_number ?? '-' }}
Address{{ $client->address ?? '-' }}
Lead assignment @if($client->lead_round_robin_enabled) Round-robin (auto) @elseif($client->lead_manual_assign_restrict) Manual (assigned only) @else Open (all project users see all leads) @endif
Created{{ format_date($client->created_at) }}
@if($client->notes)
Notes

{{ $client->notes }}

@endif
Projects @if(auth()->user()->isSuperAdmin() || auth()->user()->isClientAdmin()) Add Project @endif
@forelse($client->projects as $project) @empty @endforelse
NameWebsiteStatusCreated
{{ $project->name }} {{ $project->website_url ?? '-' }} {!! status_badge($project->status) !!} {{ format_date($project->created_at, 'd M Y') }}
No projects yet
@if(auth()->user()->isSuperAdmin()) @include('admin.clients.partials.meta-connections') @include('admin.clients.partials.whatsapp-connections', [ 'client' => $client, 'whatsappConnections' => $whatsappConnections, 'clientProjectsForWhatsapp' => $clientProjectsForWhatsapp, ]) @endif @if((auth()->user()->isSuperAdmin() || auth()->user()->isClientAdmin()) && $portal99Acres) @include('admin.clients.partials.portal-99acres', [ 'connection' => $portal99Acres, 'client' => $client, 'clientProjectsForPortal' => $clientProjectsForPortal, ]) @endif @endsection