@php $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; @endphp @if(session('checkout_error'))
{{ session('checkout_error') }}
@endif @if($currentPlan)

Current Plan

{{ $currentPlan->name }}

Up to {{ number_format($currentPlan->student_limit) }} students ยท {{ $currentPlan->branch_limit }} branches

@endif
Monthly Yearly Save up to 20%
@foreach($plans as $plan) @php $isCurrent = $currentPlan && $currentPlan->id === $plan->id; $savingsPct = ($plan->price_monthly && $plan->price_yearly && $plan->price_monthly > 0) ? round(100 - (($plan->price_yearly / 12) / $plan->price_monthly * 100)) : null; @endphp
@if($isCurrent) Current Plan @endif

{{ $plan->name }}

@if($plan->contact_sales_only)

Contact Sales

@else

{{ \App\Support\Money::formatDecimal($plan->price_monthly, decimals: 0) }}/mo {{ \App\Support\Money::formatDecimal($plan->price_yearly / 12, decimals: 0) }}/mo

{{ \App\Support\Money::formatDecimal($plan->price_yearly, decimals: 0) }} billed yearly @if($savingsPct) โ€” save {{ $savingsPct }}% @endif

@endif
  • Up to {{ number_format($plan->student_limit) }}{{ $plan->contact_sales_only ? '+' : '' }} students
  • Up to {{ $plan->branch_limit }} branches
  • @foreach(($plan->features ?? []) as $key => $enabled) @if($enabled)
  • {{ ucfirst(str_replace('_', ' ', $key)) }}
  • @endif @endforeach
@if($plan->contact_sales_only) Contact Sales @elseif($isCurrent) @else
@csrf
@endif
@endforeach