@extends('layouts.main') @section('title', 'Company Details: ' . $company->name) @section('content')
{{ strtoupper(substr($company->name, 0, 1)) }}

Company Details

{{ $company->name }}
Personal Information
Full Name:
{{ $company->name }}
Email:
{{ $company->email }} @if($company->email_verified_at) Verified @else Not Verified @endif
Company:
{{ $company->company ?? 'Not specified' }}
Role:
@foreach($company->roles as $role) {{ $role->title }} @endforeach
Account Status
Created:
{{ $company->created_at->format('M d, Y H:i A') }}
Last Updated:
{{ $company->updated_at->format('M d, Y H:i A') }}
Email Verified:
@if($company->email_verified_at) {{ $company->email_verified_at->format('M d, Y H:i A') }} @else Pending verification @endif
Status:
@if($company->email_verified_at) Active @else Pending Activation @endif
Current Month Metrics
{{ date('M Y') }} View Details
{{ number_format($currentMonthMetrics['cu_raw'], 0) }}
Total Compute Units
Current month usage
{{ number_format($currentMonthMetrics['duration_raw'], 0) }}
Total Duration
Seconds of operation
Workspaces ({{ $company->workspaces->count() }})
{{ $company->workspaces->count() }} workspace(s)
@if($company->workspaces->count() > 0)
@foreach($company->workspaces as $workspace)
{{ $workspace->name }}
@if($workspace->description)

{{ $workspace->description }}

@endif @if(isset($workspace->fabric_workspace_id) && $workspace->fabric_workspace_id)
Capacity Assignment
Loading...
Loading capacity data...
Utilization Details
Loading...
Loading utilization data...
@else
Capacity: Not linked to Fabric workspace
@endif
{{ $workspace->created_at->format('M d, Y') }}
{{ $workspace->workspaceItems->count() }} item(s) @if(isset($workspace->fabric_workspace_id) && $workspace->fabric_workspace_id) @endif
@endforeach
@else
No Workspaces Created

This company user hasn't created any workspaces yet.

@endif
Quick Actions
Edit Company Details @if(!$company->email_verified_at) @endif
@csrf @method('DELETE')
@endsection @section('scripts') @endsection