{{-- Period Header --}}

{{ $period['name'] ?? '' }}

{{ ucfirst($period['status'] ?? 'draft') }}

{{ $period['start_date'] ?? '' }} — {{ $period['end_date'] ?? '' }}

@if(($period['status'] ?? '') === 'draft') @endif @if(($period['status'] ?? '') === 'processing') @endif
{{-- Summary KPIs --}} {{-- Teacher Calculations --}}

{{ __('Teacher Calculations') }}

{{ __('Teacher') }} {{ __('Sessions') }} {{ __('Gross') }} {{ __('Admin Fee') }} {{ __('Net') }} {{ __('Status') }} {{ __('Actions') }} @foreach($calculations ?? [] as $calc) {{ $calc['teacher_name'] ?? '' }} {{ $calc['session_count'] ?? 0 }} GHS {{ number_format($calc['gross_earnings'] ?? 0, 2) }} -GHS {{ number_format($calc['admin_fee_amount'] ?? 0, 2) }} GHS {{ number_format($calc['net_earnings'] ?? 0, 2) }} {{ ucfirst($calc['status'] ?? 'draft') }} {{ __('View') }} @endforeach