{{ __('Business Plans Management') }}

Business Plans

Manage business plans and monitor self-payment activity

Self-Payments Reports
@php $totalPlans = $businessPlans->total(); $activePlans = $businessPlans->where('active', true)->count(); $totalSelfPayments = $businessPlans->sum(function($plan) { return $plan->completed_self_payments_count; }); $totalSelfPaymentAmount = $businessPlans->sum(function($plan) { return $plan->completedSelfPayments->sum('amount_paid'); }) / 100; @endphp
{{ $totalPlans }}
Total Plans
{{ $activePlans }}
Active Plans
{{ $totalSelfPayments }}
Self-Payments
${{ number_format($totalSelfPaymentAmount, 2) }}
Self-Payment Revenue
Filter Results
@forelse($businessPlans as $plan) @empty @endforelse
Business Plan Details Status Self-Payments Duration Actions
{{ $plan->business->name }}
{{ $plan->business->email }}
Quantity: {{ $plan->plan_quantity }}
Total: ${{ number_format($plan->total_price / 100, 2) }}
Per Plan: ${{ number_format($plan->price_per_plan / 100, 2) }}
@if($plan->active && (!$plan->ends_at || $plan->ends_at >= now())) Active @else Inactive @endif
{{ $plan->completed_self_payments_count }} completed
${{ number_format($plan->completedSelfPayments->sum('amount_paid') / 100, 2) }} total
{{ $plan->duration_months }} month(s)
@if($plan->starts_at)
{{ $plan->starts_at->format('M j, Y') }} - {{ $plan->ends_at ? $plan->ends_at->format('M j, Y') : 'Ongoing' }}
@endif
View Details
No business plans found.
{{ $businessPlans->links() }}