@include('templates.pdf_header', [ 'organisation' => $organisation, 'asOfDate' => $asOfDate, 'title' => $period." ".$fiscal_year.' Budget vs Actual Report' ])
| Category | Description | Allocated | Spent | Remaining | Variance |
|---|---|---|---|---|---|
| {{ $periodName }} | |||||
| @if($firstRow) {{ $catName }} @php $firstRow = false; @endphp @endif | {{ $item['description'] }} | {{ number_format($item['allocated']) }} | {{ number_format($item['spent']) }} | {{ number_format($category['remaining']) }} | {{ number_format($item['variance']) }} ({{ number_format($variancePercentage, 2) }}%) |