{{ __('Family Plan Usage Report') }}

Back to Family Subscriptions
Filter

Family Plan Statistics

Total Family Plans
{{ $totalFamilyPlans }}
{{ $startDate }} to {{ $endDate }}
Active Family Plans
{{ $activeFamilyPlans }}
{{ round(($activeFamilyPlans / max(1, $totalFamilyPlans)) * 100) }}% of total
Total Dependents
{{ $totalDependents }}
Avg {{ $avgDependentsPerPlan }} per plan
Plans at Max Capacity
{{ $dependentDistribution['5'] }}
{{ $totalFamilyPlans > 0 ? round(($dependentDistribution['5'] / $totalFamilyPlans) * 100) : 0 }}% of total

Dependent Demographics

Older Dependents (24+)
{{ $olderDependents }}
{{ $totalDependents > 0 ? round(($olderDependents / $totalDependents) * 100) : 0 }}% of total
Adult Dependents (18-23)
{{ $adultDependents }}
{{ $totalDependents > 0 ? round(($adultDependents / $totalDependents) * 100) : 0 }}% of total
Minor Dependents (<18)
{{ $minorDependents }}
{{ $totalDependents > 0 ? round(($minorDependents / $totalDependents) * 100) : 0 }}% of total

Dependents Distribution

@foreach($dependentDistribution as $count => $plans)
{{ $count }} Dependents
{{ $plans }}
{{ $totalFamilyPlans > 0 ? round(($plans / $totalFamilyPlans) * 100) : 0 }}%
@endforeach

Family Subscriptions

@cell('created_at', $subscription) {{ $subscription->created_at->format('M d, Y') }} @endcell @cell('status', $subscription) @php $statusClasses = [ 'active' => 'badge-success', 'inactive' => 'badge-warning', 'cancelled' => 'badge-error', 'expired' => 'badge-error', 'pending_payment' => 'badge-info', ]; $class = $statusClasses[$subscription->status] ?? 'badge-secondary'; @endphp {{ ucfirst($subscription->status) }} @endcell @cell('actions', $subscription)
@endcell