{{ __('General Information') }}
  • {{ __('Tenant ID') }} {{ $tenant->tenant_id }}
  • {{ __('School Name') }} {{ $tenant->school_name ?: 'N/A' }}
  • {{ __('Status') }} {{ $tenant->is_active ? __('Active') : __('Suspended') }}
  • {{ __('Subscription Ends At') }} {{ $tenant->subscription_ends_at ? $tenant->subscription_ends_at->format('M d, Y') : 'N/A' }}
  • {{ __('Created At') }} {{ $tenant->created_at->format('M d, Y') }}
{{ __('Financial Summary') }}
{{ __('View Full Statement') }}

{{ __('Pending Balance') }}

${{ number_format($pendingBalance, 2) }}

{{ __('Total Paid') }}

${{ number_format($totalPaid, 2) }}

{{ __('Account Surplus') }}

${{ number_format($surplus, 2) }}

{{ __('Recent Invoices') }} @if($tenant->invoices->count() > 0)
@foreach($tenant->invoices->sortByDesc('created_at')->take(5) as $invoice) @endforeach
{{ __('ID') }} {{ __('Amount') }} {{ __('Status') }} {{ __('Due Date') }}
#{{ $invoice->id }} ${{ number_format($invoice->amount, 2) }} {{ ucfirst($invoice->status) }} {{ \\Carbon\\Carbon::parse($invoice->due_date)->format('M d, Y') }}
@else

{{ __('No invoices found for this tenant.') }}

@endif
{{ __('Associated Domains') }}
@if($tenant->domains->count() > 0)
@foreach($tenant->domains as $domain) @endforeach
{{ __('Domain') }} {{ __('Access Link') }}
{{ $domain->domain }} {{ __('Visit Site') }}
@else {{ __('No domains associated with this tenant.') }} @endif