@if(!empty($autoprint))
 Use your browser's "Save as PDF" destination.
@endif @include('partials.print-header', ['documentTitle' => 'Prison Module Report'])

Prison Module Report

Integrated Corrections Management Information System (ICMIS) · Generated {{ $stats['generated'] }}

Module Summary

@foreach($stats['modules'] as $name => $count) @endforeach
ModuleRecords
{{ $name }}{{ number_format($count) }}
@php $sections = [ 'Population by gender' => $stats['charts']['gender'], 'By security level' => $stats['charts']['security'], 'Discipline by category' => $stats['charts']['discipline'], 'Medical by status' => $stats['charts']['medical'], 'Visits by type' => $stats['charts']['visits'], ]; @endphp @foreach($sections as $title => $data) @if(!empty($data))

{{ $title }}

@foreach($data as $k => $v) @endforeach
CategoryCount
{{ $k }}{{ number_format($v) }}
@endif @endforeach
ICMIS · Official Use Only
@if(!empty($autoprint)) @endif