@php use App\Support\Money; $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; @endphp @include('tenant.coaching._errors')
@if($showFees) @endif @if($showCost) @endif

By batch

@if($showFees)@endif @if($showCost)@endif @forelse($batchRows as $row) @if($showFees) @endif @if($showCost) @endif @empty @endforelse
BatchStudentsNewClassesAttendanceBilledCollectedInstructor costMargin
{{ $row['batch']->name }}

{{ $row['batch']->course?->name }}{{ $row['batch']->teacher ? ' · '.$row['batch']->teacher->first_name : '' }}

{{ $row['active'] }} {{ $row['new'] }} {{ $row['classes'] }} {{ $row['attendance_pct'] !== null ? $row['attendance_pct'].'%' : '—' }}{{ Money::format($row['billed_cents'], $currency) }} {{ Money::format($row['collected_cents'], $currency) }}{{ Money::format($row['cost_cents'], $currency) }} {{ Money::format($row['margin_cents'], $currency) }}
No batch activity in this period.
@if($showCost)

Instructor cost uses current pay rules on classes logged in the period; fixed monthly pay set at instructor level isn't split per batch.

@endif
@if($funnel)

Enquiry funnel

{{ $funnel['conversionRate'] }}%

{{ $funnel['converted'] }} admitted of {{ $funnel['total'] }} enquiries{{ $funnel['avgDaysToConvert'] !== null ? ' · avg '.$funnel['avgDaysToConvert'].' days to admit' : '' }}

@foreach($funnel['byStatus'] as $status)
{{ $status['label'] }}{{ $status['count'] }}
@endforeach

By source

@forelse($funnel['bySource'] as $row) @empty @endforelse
SourceLeadsAdmitted
{{ $row['source'] }}{{ $row['total'] }}{{ $row['converted'] }} ({{ $row['rate'] }}%)
No enquiries.

Why we lost them

    @forelse($funnel['lostReasons'] as $reason => $count)
  • {{ $reason }}{{ $count }}
  • @empty
  • No lost enquiries.
  • @endforelse
@endif