@extends('layouts.app') @section('title', $company->name) @section('content')
{{ $company->name }}
@if($company->isParentCompany()) Parent Company @elseif($company->isSisterCompany()) Sister Company @endif{{ $company->description }}
{{ ucfirst(str_replace('_', ' ', $company->industry_type ?? 'N/A')) }}
{{ $company->country ?? 'N/A' }}
{{ $company->license_expiry ? $company->license_expiry->format('M d, Y') : 'N/A' }} @if($company->license_expiry && $company->license_expiry->isPast()) Expired @elseif($company->license_expiry && $company->license_expiry->diffInDays(now()) <= 30) Expiring Soon @endif
{{ number_format($company->max_users ?? 0) }}
{{ number_format($company->max_departments ?? 0) }}
{{ $company->email }}
{{ $company->phone }}
{{ $company->address }}
@if($company->city || $company->state || $company->postal_code){{ $company->city }}{{ $company->state ? ', ' . $company->state : '' }} {{ $company->postal_code ?? '' }}
@endifTotal Users
{{ $statistics['total_users'] }}
{{ $statistics['active_users'] }} active
Total Departments
{{ $statistics['total_departments'] }}
{{ $statistics['active_departments'] }} active
License Usage
{{ number_format($statistics['license_usage_percentage'], 1) }}% used
Days Until Expiry
{{ $statistics['days_until_expiry'] }}