@extends('layouts.main') @section('title', 'Company Management') @section('content')
| # | Company | Contact | Workspaces | Subscription | CU (Current Month) | Duration (Current Month) | Actions |
|---|---|---|---|---|---|---|---|
| {{ $companies->firstItem() + $index }} | {{ $company->company ?? 'Not Set' }} |
{{ strtoupper(substr($company->name, 0, 1)) }}
{{ $company->name }}
@if($company->is_storage_full ?? false)
100%
@elseif(($company->storage_usage_percentage ?? 0) >= 90)
{{ number_format($company->storage_usage_percentage, 0) }}%
@elseif(($company->storage_usage_percentage ?? 0) >= 80)
{{ number_format($company->storage_usage_percentage, 0) }}%
@endif
{{ $company->email }} @if($company->email_verified_at) @else @endif @if(($company->storage_usage_percentage ?? 0) > 0) Storage: {{ number_format($company->storage_used ?? 0, 2) }} GB ({{ number_format($company->storage_usage_percentage, 1) }}%) / {{ number_format($company->storage_limit ?? 0, 2) }} GB @endif |
{{ $company->workspaces->count() }} workspace(s) | @if($company->subscriptionPlans->count() > 0) @php $subscription = $company->subscriptionPlans->first(); @endphp {{ $subscription->title }} @else No Plan @endif | {{ $company->current_month_cu ?? '0.00' }} | {{ $company->current_month_duration ?? '0.00' }} |