{{-- Variance Analysis (cash collected vs target, by region) in the house PDF style. --}} @extends('layouts.PdfReportLayout') @section('doc_title', 'Variance Analysis') @section('doc_subtitle', $docSubtitle) @section('meta')
| # | Region | Collected | Target | Variance | Variance % |
|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $row['name'] }} | {{ $money($row['collected']) }} | {{ $money($row['target']) }} | {{-- mPDF paints no background behind an inline span, so above/below target is carried by the text colour on the cell itself. --}}{{ $money($row['variance']) }} | {{ $row['pct'] === null ? '-' : $money($row['pct']) . '%' }} |
| Nothing to compare for this selection. | |||||
| Total | {{ $money($totals['collected']) }} | {{ $money($totals['target']) }} | {{ $money($totals['variance']) }} | {{ $totals['pct'] === null ? '-' : $money($totals['pct']) . '%' }} | |
|
Total Collected
{{ $money($totals['collected']) }}
|
Total Target
{{ $money($totals['target']) }}
|
Overall Variance
{{ $money($totals['variance']) }}
|