@extends('layouts.app') @section('title', 'Financial Overview') @section('content')

Financial overview

Fee collection, income and expenditure for Term {{ $term }}, {{ $year }}.
Collect fees Payment reports

Collections trend

Eight-month rolling view
{!! \App\Support\Chart::bars($monthly, 220, '#0b5d51') !!}

Payment channels

Term {{ $term }}
@if($modes) {!! \App\Support\Chart::donut($modes, 150) !!}
@foreach($modes as $mode => $total)
{{ $mode }}{{ money($total) }}
@endforeach
@else @endif

Expenditure by group

{{ $year }}
View
@forelse($expenseGroups as $e) @empty @endforelse
GroupAmountShare
{{ $e->expense_group }}{{ money($e->total) }}{{ pct($e->total, $expenses) }}

Top outstanding fee balances

Follow up with parents
All
@forelse($debtors as $d) @empty @endforelse
LearnerClassInvoicedPaidBalance
{{ initials($d->first_name.' '.$d->surname) }}
{{ $d->first_name }} {{ $d->surname }}{{ $d->admission_no }}
{{ $d->class_name }} {{ money($d->total) }} {{ money($d->paid) }} {{ money($d->balance) }}
@endsection