@php $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
@if(! $insight)

No sections available yet.

@elseif(! $insight['available'])
{{ $insight['error'] }}
@else

{{ $insight['summary'] }}

@if(!empty($insight['patterns']))

Patterns

    @foreach($insight['patterns'] as $pattern)
  • {{ $pattern }}
  • @endforeach
@endif @if(!empty($insight['at_risk_student_ids']))

At-Risk Students

{{ count($insight['at_risk_student_ids']) }} student(s) flagged — see the Attendance Report for detail.

@endif @endif