@extends('layout')@section('c')

Reports

From to
Income{{ number_format($tin,2) }}
Company expenses{{ number_format($tex,2) }}
Net profit{{ number_format($tin-$tex,2) }}

Monthly summary

@foreach($months as $m)@endforeach
MonthIncomeExpensesNet
{{ $m['label'] }}{{ number_format($m['in'],2) }}{{ number_format($m['ex'],2) }}{{ number_format($m['in']-$m['ex'],2) }}

Company expenses by category

@foreach($cats as $m)@endforeach
CategoryAmount
{{ $m['label'] }}{{ number_format($m['ex'],2) }}

Profit by employer / agency

@foreach($emps as $m)@endforeach
EmployerIncomeExpensesNet
{{ $m['label'] }}{{ number_format($m['in'],2) }}{{ number_format($m['ex'],2) }}{{ number_format($m['in']-$m['ex'],2) }}

Profit by candidate

@foreach($cands as $k=>$m)@endforeach
CandidateIncomeExpensesNet
@if($k){{ $m['label'] }}@else{{ $m['label'] }}@endif{{ number_format($m['in'],2) }}{{ number_format($m['ex'],2) }}{{ number_format($m['in']-$m['ex'],2) }}
Only company-paid expenses count. Expenses paid by a self-sponsored candidate are excluded.
@endsection